aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2025-09-19 10:05:48 +0000
committerAndrew Turner <andrew@FreeBSD.org>2025-09-19 10:05:48 +0000
commit68b3d0cbe03467abac0523bbeea0cfc34efd9b05 (patch)
tree8027d911fb9a8ce75e3368bc38ec24dcdc13eca1
parent0706d3464f4ef375fc31ecc7fa0733a13eca9d19 (diff)
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
-rw-r--r--sys/arm64/include/armreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
index 500f35c48787..c2065fdb3f8c 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2612,10 +2612,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 | \