public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] arm64/asm: Remove DAIF save/restore macros
@ 2022-11-23 18:02 Mark Brown
  2022-11-23 18:02 ` [PATCH v1 1/2] arm64/kpti: Move DAIF masking to C code Mark Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mark Brown @ 2022-11-23 18:02 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: Mark Rutland, Ard Biesheuvel, linux-arm-kernel, Mark Brown

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-25 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23 18:02 [PATCH v1 0/2] arm64/asm: Remove DAIF save/restore macros Mark Brown
2022-11-23 18:02 ` [PATCH v1 1/2] arm64/kpti: Move DAIF masking to C code Mark Brown
2022-11-24 10:58   ` Mark Rutland
2022-11-23 18:02 ` [PATCH v1 2/2] arm64/asm: Remove unused assembler DAIF save/restore macros Mark Brown
2022-11-24 10:59   ` Mark Rutland
2022-11-25 13:24 ` [PATCH v1 0/2] arm64/asm: Remove " Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox