git: f87a9788a56d - stable/14 - arm64: Fix the ESR_EL1_op2 value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 15:05:03 UTC
The branch stable/14 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=f87a9788a56d97311946f9d703ca65f311141b2b
commit f87a9788a56d97311946f9d703ca65f311141b2b
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-08-29 08:51:30 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-10-21 15:03:26 +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
(cherry picked from commit 8b017284319c46d349abee5573d4656bb377b0fd)
---
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 b2ab472dad0d..734fb55f07ba 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -628,7 +628,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)