Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2024 10:43:09 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8b017284319c - main - arm64: Fix the ESR_EL1_op2 value
Message-ID:  <202408291043.47TAh98F037173@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b017284319c46d349abee5573d4656bb377b0fd

commit 8b017284319c46d349abee5573d4656bb377b0fd
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-08-29 08:51:30 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-08-29 10:42:34 +0000

    arm64: Fix the ESR_EL1_op2 value
    
    This leads to an unallocated register. Fix the value to point to
    ESR_EL1.
    
    Sponsored by:   Arm Ltd
---
 sys/arm64/include/armreg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
index ce21bf4de0a9..a04afd57585c 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -676,7 +676,7 @@
 #define	ESR_EL1_op1			0
 #define	ESR_EL1_CRn			5
 #define	ESR_EL1_CRm			2
-#define	ESR_EL1_op2			1
+#define	ESR_EL1_op2			0
 
 /* ESR_EL12 */
 #define	ESR_EL12_REG			MRS_REG_ALT_NAME(ESR_EL12)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408291043.47TAh98F037173>