git: 84d6c08584a5 - stable/15 - arm64: Enable EPAN and IESB
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Jan 2026 16:27:15 UTC
The branch stable/15 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=84d6c08584a563565bb9190053dbf5670dd3ac72
commit 84d6c08584a563565bb9190053dbf5670dd3ac72
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-09-19 10:05:48 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2026-01-13 14:06:18 +0000
arm64: Enable EPAN and IESB
These are both safe to enable. EPAN only affects PAN when it's enabled,
and IESB makes exception entry and exit an Implicit Error
Synchronization event.
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D51013
(cherry picked from commit 68b3d0cbe03467abac0523bbeea0cfc34efd9b05)
---
sys/arm64/include/armreg.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
index 401a963e2ba9..9d263b4edc09 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2617,10 +2617,12 @@
(SCTLR_LSMAOE | SCTLR_nTLSMD | SCTLR_EIS | SCTLR_TSCXT | SCTLR_EOS)
#define SCTLR_MMU_ON \
(SCTLR_MMU_OFF | \
+ SCTLR_EPAN | \
SCTLR_BT1 | \
SCTLR_BT0 | \
SCTLR_UCI | \
SCTLR_SPAN | \
+ SCTLR_IESB | \
SCTLR_nTWE | \
SCTLR_nTWI | \
SCTLR_UCT | \