• Sheng Yang's avatar
    KVM: MMU: Discard reserved bits checking on PDE bit 7-8 · 4c26b4cd
    Sheng Yang authored
    1. It's related to a Linux kernel bug which fixed by Ingo on
    07a66d7c. 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: default avatarSheng Yang <sheng@linux.intel.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    4c26b4cd
mmu.c 75.8 KB