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/wakeirq-drivers-v2^2~2^2~71^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cbeed9bce7580479bb97457dad220cb3594b875;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 Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed