aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/psci/psci.c
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2022-09-08 21:54:49 +0000
committerKees Cook <[email protected]>2022-09-26 17:13:13 +0000
commitcf90d0383560de12330de8cf3f831b14cdd45914 (patch)
treeea2f1c5f4a7c85f6b7a11a247adfce46243af254 /drivers/firmware/psci/psci.c
parentcfi: Add type helper macros (diff)
downloadkernel-cf90d0383560de12330de8cf3f831b14cdd45914.tar.gz
kernel-cf90d0383560de12330de8cf3f831b14cdd45914.zip
lkdtm: Emit an indirect call for CFI tests
Clang can convert the indirect calls in lkdtm_CFI_FORWARD_PROTO into direct calls. Move the call into a noinline function that accepts the target address as an argument to ensure the compiler actually emits an indirect call instead. Signed-off-by: Sami Tolvanen <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Tested-by: Kees Cook <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Acked-by: Kees Cook <[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