aboutsummaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-04-12 16:36:34 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-04-13 00:26:30 +0200
commit84bbabc3a452e8085cfbd745ff0bff2b89074417 (patch)
treefff877123fc551c7fd7e8002bda3ea19ad741de8 /mm/gup.c
parentx86/mpx, selftests: Only check bounds-vs-shadow when we keep shadow (diff)
downloadlinux-dev-84bbabc3a452e8085cfbd745ff0bff2b89074417.tar.xz
linux-dev-84bbabc3a452e8085cfbd745ff0bff2b89074417.zip
x86/mm: Fix dump pagetables for 4 levels of page tables
Commit fdd3d8ce0ea62 ("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: fdd3d8ce0ea62 ("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>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions