aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2018-04-19 18:26:00 +0000
committerThomas Gleixner <[email protected]>2018-04-20 09:52:00 +0000
commit05189820da23fc87ee2a7d87c20257f298af27f4 (patch)
tree16d58f879aa85e8cd404b402f425d355569661dc /drivers/acpi/cppc_acpi.c
parentx86/mm: Prevent kernel Oops in PTDUMP code with HIGHPTE=y (diff)
downloadkernel-05189820da23fc87ee2a7d87c20257f298af27f4.tar.gz
kernel-05189820da23fc87ee2a7d87c20257f298af27f4.zip
x86/power/64: Fix page-table setup for temporary text mapping
On a system with 4-level page-tables there is no p4d, so the pud in the pgd should be mapped. The old code before commit fb43d6cb91ef already did that. The change from above commit causes an invalid page-table which causes undefined behavior. In one report it caused triple faults. Fix it by changing the p4d back to pud. Fixes: fb43d6cb91ef ('x86/mm: Do not auto-massage page protections') Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Michal Kubecek <[email protected]> Tested-by: Borislav Petkov <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: Dave Hansen <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions