[PATCH v3 0/2] Work around missing `bti c` in modules
D Scott Phillips
scott at os.amperecomputing.com
Thu Sep 1 17:15:49 PDT 2022
Changes since v2:
- Split the kernel BTI exception behavior change into a separate patch
Changes since v1:
- Add the gcc bug id into the traps.c comment
- Cover the try_module_get with the preempt_disable
- Add a CC_HAS_ config for the compiler bug that we'll eventually refine
D Scott Phillips (2):
arm64: Handle kernel BTI exceptions
arm64: Work around missing `bti c` in modules
arch/arm64/Kconfig | 3 +++
arch/arm64/kernel/entry-common.c | 12 +++++++++
arch/arm64/kernel/traps.c | 43 ++++++++++++++++++++++++++++++--
3 files changed, 56 insertions(+), 2 deletions(-)
--
2.37.2
More information about the linux-arm-kernel
mailing list