aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/psci/psci.c
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2022-09-08 21:54:46 +0000
committerKees Cook <[email protected]>2022-09-26 17:13:13 +0000
commit92efda8eb15295a07f450828b2db14485bfc09c2 (patch)
tree5b40af87a5edb0d64cd7b0e24599a2dce6f64e98 /drivers/firmware/psci/psci.c
parentcfi: Remove CONFIG_CFI_CLANG_SHADOW (diff)
downloadkernel-92efda8eb15295a07f450828b2db14485bfc09c2.tar.gz
kernel-92efda8eb15295a07f450828b2db14485bfc09c2.zip
cfi: Drop __CFI_ADDRESSABLE
The __CFI_ADDRESSABLE macro is used for init_module and cleanup_module to ensure we have the address of the CFI jump table, and with CONFIG_X86_KERNEL_IBT to ensure LTO won't optimize away the symbols. As __CFI_ADDRESSABLE is no longer necessary with -fsanitize=kcfi, add a more flexible version of the __ADDRESSABLE macro and always ensure these symbols won't be dropped. Signed-off-by: Sami Tolvanen <[email protected]> Reviewed-by: Kees Cook <[email protected]> Tested-by: Kees Cook <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions