x86/mm: Don't check for invalid bits in non-present PTEs.
authorTim Deegan <tim@xen.org>
Thu, 23 Feb 2012 10:29:27 +0000 (10:29 +0000)
committerTim Deegan <tim@xen.org>
Thu, 23 Feb 2012 10:29:27 +0000 (10:29 +0000)
commitb38c115140ed14179d6f7ec095ca29a79de58394
tree805f72cbb62e0606f2c6c4ef752617f6919de752
parent8367c5c1790f231ad741b244c046b5e1db3f20a8
x86/mm: Don't check for invalid bits in non-present PTEs.

If _PAGE_PRESENT is clean in a pagetable entry, any pattern of bits
is valid in the rest of the entry.  OSes that special-case
PFEC_invalid_bits (since it should never happen) will be confused
by our setting it in this way.

Signed-off-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/guest_walk.c