linux_dsm_epyc7002/arch
Juergen Gross 84bbabc3a4 x86/mm: Fix dump pagetables for 4 levels of page tables
Commit fdd3d8ce0e ("x86/dump_pagetables: Add support for 5-level
paging") introduced an error for dumping with only 4 levels by setting
PGD_LEVEL_MULT to a wrong value.

This is leading to e.g. addresses printed as "(null)" for ranges:

  x86/mm: Found insecure W+X mapping at address (null)/(null)

Make PGD_LEVEL_MULT a multiple of PTRS_PER_P4D instead of PTRS_PER_PUD

Fixes: fdd3d8ce0e ("x86/dump_pagetables: Add support for 5-level paging")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: http://lkml.kernel.org/r/20170412143634.6846-1-jgross@suse.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-04-13 00:26:30 +02:00
..
alpha
arc ARC udpates for 4.11-rc5 2017-04-01 10:52:19 -07:00
arm Linux 4.11-rc5 2017-04-03 16:36:32 +02:00
arm64 Linux 4.11-rc5 2017-04-03 16:36:32 +02:00
avr32
blackfin
c6x Merge branch 'regset' (PTRACE_SETREGSET data leakage) 2017-03-29 08:55:25 -07:00
cris
frv
h8300 Merge branch 'regset' (PTRACE_SETREGSET data leakage) 2017-03-29 08:55:25 -07:00
hexagon arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
ia64
m32r
m68k
metag Merge branch 'regset' (PTRACE_SETREGSET data leakage) 2017-03-29 08:55:25 -07:00
microblaze
mips Merge branch 'regset' (PTRACE_SETREGSET data leakage) 2017-03-29 08:55:25 -07:00
mn10300
nios2
openrisc
parisc parisc: Avoid stalled CPU warnings after system shutdown 2017-03-29 21:50:38 +02:00
powerpc Linux 4.11-rc5 2017-04-03 16:36:32 +02:00
s390 Linux 4.11-rc5 2017-04-03 16:36:32 +02:00
score
sh
sparc Merge branch 'regset' (PTRACE_SETREGSET data leakage) 2017-03-29 08:55:25 -07:00
tile
um Merge branch 'x86/process' into x86/mm, to create new base for further patches 2017-03-23 08:28:19 +01:00
unicore32
x86 x86/mm: Fix dump pagetables for 4 levels of page tables 2017-04-13 00:26:30 +02:00
xtensa
.gitignore
Kconfig