git: 16e661921a9b - main - arm64: Add E2H to CPTR_EL2 register values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Sep 2024 10:42:04 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=16e661921a9bbc6aab455c59da055b6f4ff75627
commit 16e661921a9bbc6aab455c59da055b6f4ff75627
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-09-11 09:38:15 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-09-11 10:25:09 +0000
arm64: Add E2H to CPTR_EL2 register values
Rename register fields that are only valid when HCR_EL2.E2H == 1. Some
fields move around depending on the value of the E2H field.
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D46514
---
sys/arm64/include/hypervisor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm64/include/hypervisor.h b/sys/arm64/include/hypervisor.h
index 9f53c8255e49..ba18f8077467 100644
--- a/sys/arm64/include/hypervisor.h
+++ b/sys/arm64/include/hypervisor.h
@@ -57,7 +57,7 @@
#define CPTR_RES1 0x000033ff
#define CPTR_TFP 0x00000400
/* Valid if HCR_EL2.E2H == 1 */
-#define CPTR_FPEN 0x00300000
+#define CPTR_E2H_FPEN 0x00300000
/* Unconditionally valid */
#define CPTR_TTA 0x00100000
#define CPTR_TCPAC 0x80000000