diff options
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | 2015-05-07 10:20:15 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-11 17:17:23 +0200 |
commit | 7cbeed9bce7580479bb97457dad220cb3594b875 (patch) | |
tree | b38bc1552670fc368b60fa5788ae3e66f23316eb /arch/powerpc/lib | |
parent | KVM: PPC: Book3S HV: Fix list traversal in error case (diff) | |
download | linux-7cbeed9bce7580479bb97457dad220cb3594b875.tar.xz linux-7cbeed9bce7580479bb97457dad220cb3594b875.zip |
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 <guangrong.xiao@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions