[PATCH 26/43] x86/mm/kaiser: Allow NX poison to be set in p4d/pgd

2017-11-24 Thread Ingo Molnar
From: Dave Hansen The user portion of the kernel page tables use the NX bit to poison them for userspace. But, that trips the p4d/pgd_bad() checks. Make sure it does not do that. Signed-off-by: Dave Hansen Signed-off-by: Thomas Gleixner Cc: Linus Torvalds Cc: Peter Zijlstra Cc: daniel.gr..

[PATCH 26/43] x86/mm/kaiser: Allow NX poison to be set in p4d/pgd

2017-11-24 Thread Ingo Molnar
From: Dave Hansen The user portion of the kernel page tables use the NX bit to poison them for userspace. But, that trips the p4d/pgd_bad() checks. Make sure it does not do that. Signed-off-by: Dave Hansen Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Daniel Gruss Cc: Denys