From: Xiao Guangrong Date: Thu, 7 May 2015 08:20:15 +0000 (+0800) Subject: KVM: MMU: fix smap permission check X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceee7df749da03fa17ab5dc7d06dffb4980a32db;p=pandora-kernel.git KVM: MMU: fix smap permission check Current permission check assumes that RSVD bit in PFEC is always zero, however, it is not true since MMIO #PF will use it to quickly identify MMIO access Fix it by clearing the bit if walking guest page table is needed Signed-off-by: Xiao Guangrong Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed