diff options
| author | Sami Tolvanen <[email protected]> | 2022-09-08 21:54:51 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-09-26 17:13:13 +0000 |
| commit | c50d32859e70f6dbccb7d151408eb10afbbb7965 (patch) | |
| tree | dce8f9e7ba7a14016d5e7c8d1d198691762e20a7 /drivers/firmware/psci/psci.c | |
| parent | psci: Fix the function type for psci_initcall_t (diff) | |
| download | kernel-c50d32859e70f6dbccb7d151408eb10afbbb7965.tar.gz kernel-c50d32859e70f6dbccb7d151408eb10afbbb7965.zip | |
arm64: Add types to indirect called assembly functions
With CONFIG_CFI_CLANG, assembly functions indirectly called from C
code must be annotated with type identifiers to pass CFI checking. Use
SYM_TYPED_FUNC_START for the indirectly called functions, and ensure
we emit `bti c` also with SYM_TYPED_FUNC_START.
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
