git: e248e08a1593 - main - arm64: Add a constant to document the TZ bit in CPTR_EL2 without VHE

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 Dec 2024 22:39:32 UTC
The branch main has been updated by jhb:

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

commit e248e08a159384d064a8af9f2ced5f0a71d93b1c
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-12-06 22:38:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-12-06 22:38:34 +0000

    arm64: Add a constant to document the TZ bit in CPTR_EL2 without VHE
    
    Reviewed by:    emaste
    Sponsored by:   AFRL, DARPA
    Differential Revision:  https://reviews.freebsd.org/D47882
---
 sys/arm64/include/hypervisor.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arm64/include/hypervisor.h b/sys/arm64/include/hypervisor.h
index 1ba1756ecdf2..e3bdd83e8a29 100644
--- a/sys/arm64/include/hypervisor.h
+++ b/sys/arm64/include/hypervisor.h
@@ -56,6 +56,7 @@
 #define	CPTR_TRAP_ALL		0xc01037ff /* Enable all traps */
 #define	CPTR_RES0		0x7fefc800
 #define	CPTR_RES1		0x000032ff
+#define	CPTR_TZ			0x00000100
 #define	CPTR_TFP		0x00000400
 #define	CPTR_TTA		0x00100000
 /* Valid if HCR_EL2.E2H == 1 */