Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2024 22:39:32 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e248e08a1593 - main - arm64: Add a constant to document the TZ bit in CPTR_EL2 without VHE
Message-ID:  <202412062239.4B6MdW9H090960@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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