KVM: MMU: Discard reserved bits checking on PDE bit 7-8
authorSheng Yang <sheng@linux.intel.com>
Thu, 2 Apr 2009 02:28:37 +0000 (10:28 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:38 +0000 (11:48 +0300)
commit4c26b4cd6ff6c3f7534f2aea9615a561c372ed05
tree26d323229110f29b32606a0b093aaa91437430c9
parent64a7ec066813443440bfc9f60a9e76a47cfa6b2b
KVM: MMU: Discard reserved bits checking on PDE bit 7-8

1. It's related to a Linux kernel bug which fixed by Ingo on
07a66d7c53a538e1a9759954a82bb6c07365eff9. The original code exists for quite a
long time, and it would convert a PDE for large page into a normal PDE. But it
fail to fit normal PDE well.  With the code before Ingo's fix, the kernel would
fall reserved bit checking with bit 8 - the remaining global bit of PTE. So the
kernel would receive a double-fault.

2. After discussion, we decide to discard PDE bit 7-8 reserved checking for now.
For this marked as reserved in SDM, but didn't checked by the processor in
fact...

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c