linux/arch/x86/include
Jan Beulich bd6d701606 x86/mm: Fix types used in pgprot cacheability flags translations
[ Upstream commit 3625c2c234 ]

For PAE kernels "unsigned long" is not suitable to hold page protection
flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
few W+X pages getting reported as insecure during boot (observed namely
for the entire initrd range).

Fixes: 281d4078be ("x86: Make page cache mode a real type")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <JGross@suse.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-02-15 15:45:23 -05:00
..
asm x86/mm: Fix types used in pgprot cacheability flags translations 2016-02-15 15:45:23 -05:00
uapi/asm KVM: x86: work around infinite loop in microcode when #AC is delivered 2015-12-09 14:03:16 -05:00