summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2023-12-05 13:50:10 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2024-02-01 00:02:05 +0300
commit58c80cc55e079933205597ecf846583c5e6e4946 (patch)
tree2b54393d01a8e565e0baa10a21be3a0fdea1f332 /scripts/lib
parentad41a14cc2d66229479d73e4a7dc1fda26827666 (diff)
downloadlinux-58c80cc55e079933205597ecf846583c5e6e4946.tar.xz
x86/fred: Make exc_page_fault() work for FRED
On a FRED system, the faulting address (CR2) is passed on the stack, to avoid the problem of transient state. Thus the page fault address is read from the FRED stack frame instead of CR2 when FRED is enabled. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by: Xin Li <xin3.li@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Tested-by: Shan Kang <shan.kang@intel.com> Link: https://lore.kernel.org/r/20231205105030.8698-22-xin3.li@intel.com
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions