aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2021-10-26 15:00:48 -0700
committerDave Hansen <[email protected]>2021-11-15 11:13:16 -0800
commit03b122da74b22fbe7cd98184fa5657a9ce13970c (patch)
tree8facf7bfc6961ff9dfd924ac0d17da0ab4a277a7 /drivers/fpga/fpga-bridge.c
parenta495cbdffa30558b34f3c95555cecc4fd9688039 (diff)
x86/sgx: Hook arch_memory_failure() into mainline code
Add a call inside memory_failure() to call the arch specific code to check if the address is an SGX EPC page and handle it. Note the SGX EPC pages do not have a "struct page" entry, so the hook goes in at the same point as the device mapping hook. Pull the call to acquire the mutex earlier so the SGX errors are also protected. Make set_mce_nospec() skip SGX pages when trying to adjust the 1:1 map. Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Reviewed-by: Naoya Horiguchi <[email protected]> Tested-by: Reinette Chatre <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions