The branch main has been updated by andrew:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=68b3d0cbe03467abac0523bbeea0cfc34efd9b05

commit 68b3d0cbe03467abac0523bbeea0cfc34efd9b05
Author:     Andrew Turner <and...@freebsd.org>
AuthorDate: 2025-09-19 10:05:48 +0000
Commit:     Andrew Turner <and...@freebsd.org>
CommitDate: 2025-09-19 10:05:48 +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
---
 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 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 |                       \

Reply via email to