Thread (5 messages) 5 messages, 2 authors, 2025-03-10
STALE473d

[PATCH 0/3] Minor improvements for PIE/POE helpers

From: Kevin Brodsky <hidden>
Date: 2025-02-19 16:41:16
Also in: lkml

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/ (local)

---
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help