[PATCH v1 0/2] arm64/asm: Remove DAIF save/restore macros
Mark Brown
broonie at kernel.org
Wed Nov 23 10:02:07 PST 2022
As part of an effort to improve the maintainability of the code for
manipulating DAIF let's reduce the number of places where it is
implemented by lifting the masking done during TTBR1 replacement for
KPTI up into C code and removing the assembler macros it was using.
Due to a textual collision with the removal of enable_da this is based
on for-next/trivial in the arm64 tree.
Mark Brown (2):
arm64/kpti: Move DAIF masking to C code
arm64/asm: Remove unused assembler DAIF save/restore macros
arch/arm64/include/asm/assembler.h | 9 ---------
arch/arm64/include/asm/mmu_context.h | 10 ++++++++++
arch/arm64/mm/proc.S | 4 ----
3 files changed, 10 insertions(+), 13 deletions(-)
base-commit: 32d495b0c3305546f4773b9aafcd4e90188ddb9e
--
2.30.2
More information about the linux-arm-kernel
mailing list