aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2018-04-17 13:27:16 +0000
committerThomas Gleixner <[email protected]>2018-04-17 13:43:01 +0000
commitd6ef1f194b7569af8b8397876dc9ab07649d63cb (patch)
tree9d7bd7b181f1d7f32abb559812163b8eba076d8b /drivers/fpga/fpga-region.c
parentx86,sched: Allow topologies where NUMA nodes share an LLC (diff)
downloadkernel-d6ef1f194b7569af8b8397876dc9ab07649d63cb.tar.gz
kernel-d6ef1f194b7569af8b8397876dc9ab07649d63cb.zip
x86/mm: Prevent kernel Oops in PTDUMP code with HIGHPTE=y
The walk_pte_level() function just uses __va to get the virtual address of the PTE page, but that breaks when the PTE page is not in the direct mapping with HIGHPTE=y. The result is an unhandled kernel paging request at some random address when accessing the current_kernel or current_user file. Use the correct API to access PTE pages. Fixes: fe770bf0310d ('x86: clean up the page table dumper and add 32-bit support') Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions