[PATCH 0/3] Minor improvements for PIE/POE helpers
Kevin Brodsky
kevin.brodsky at arm.com
Wed Feb 19 08:40:26 PST 2025
This is a collection of minor cleanups and improvements for the PIE/POE
macros in asm/sysreg.h and asm/por.h. Besides the readability
improvement, it will also come in handy for the kpkeys series [1] that
performs more calculations on POR_EL1.
- Kevin
[1] https://lore.kernel.org/linux-hardening/20250203101839.1223008-1-kevin.brodsky@arm.com/
---
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Joey Gouly <joey.gouly at arm.com>
Cc: Will Deacon <will at kernel.org>
---
Kevin Brodsky (3):
arm64/sysreg: Improve PIR/POR helpers
arm64/sysreg: Rename POE_RXW to POE_RWX
arm64/sysreg: Move POR_EL0_INIT to asm/por.h
arch/arm64/include/asm/pgtable-prot.h | 36 +++++++++++++--------------
arch/arm64/include/asm/por.h | 11 ++++----
arch/arm64/include/asm/sysreg.h | 15 +++++++----
arch/arm64/kernel/signal.c | 2 +-
arch/arm64/kvm/at.c | 8 +++---
arch/arm64/mm/mmu.c | 10 +++-----
6 files changed, 43 insertions(+), 39 deletions(-)
base-commit: 0ad2507d5d93f39619fc42372c347d6006b64319
--
2.47.0
More information about the linux-arm-kernel
mailing list