From nobody Fri Dec 06 22:39:32 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y4mQs34tQz5g1fX; Fri, 06 Dec 2024 22:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y4mQs0r63z4DSq; Fri, 6 Dec 2024 22:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733524773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t0HMWwveq90bpI1i8o7tDa8s4adUe3Su+lyDqoz00lM=; b=GNff9jLlrBx0nJTifC8tNTIdjTJ76NYQXHgWNAG0rs0NWyz6PmUiq/SIc4OM4LgtaPjVFS PVjes0TqGN+OjWYUja4oNVXztpF3JO++Ljcz690AkH7BbAOh5bXagG+sbNyUdEH+uCq4r7 qUujQnPSMb6/TenVKf+LLw3kFMVkV1fQD7Cc5VumVLpiqHsZSubxA452wWCjKZO6pXcH9l H3bAcdeNTMABUv2R8XOJaDFx5Zq342BhkgAsxofTocCKnZ5dMUBW2XCAclU3LFITau/K7+ Wk/tXFGLld+J/ekNZnv/0dL0V51bESj6p82XFaNSvwGdzVSwxxo2Y9Vf/Z/OOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733524773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t0HMWwveq90bpI1i8o7tDa8s4adUe3Su+lyDqoz00lM=; b=oMXb8BcNM6F7v16VD0vyoO2xVfk1AtRYzIohMmPLAxP6mwF/1jZSuBiOoEj5pa2dZ6aCAI I92I0q4piGUhfdOEtnFtEFn+fXY8ku3fgLh3TRmHk7QclabvCuzDbNAXAP4jVddzB6QgTT O3bqjGEOezCo3SNGaTInj3GAbiW1vq5ooTEoZJPV8c/al9C3ksUaM6e7SW17/fK8KbcB37 QxVAhn5uKvcDwhhjderq9GFBeqoMjVMNyQsn48m9rKunhJi4k39vR2Dllc0Q6+I0ya1Jzl hc2jDs8tnO+6mv/Ry59sObV9fLkxyvpdnoLYR1a+pNHc2OHZBN/qwyO7L4rcEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733524773; a=rsa-sha256; cv=none; b=VB63EszI9fBMPvBJgBqh3N9T7S5iYnlaM+ViaCFmWDVdTzmeOqQMbjC1OOVn+mScdI14Ej tVY/ue4Jdd+87bfsyZ5XZY2NpE5obrrv/yEmApv7O8vnVpVOtgoc+ucvUS379HCK+ia6CB u2hmf6G8bFevS+VufDyH8l3L9S3xOi7RlHuK60ajmSb4TJNPIaRd9Sll7lXeXumVHX1pxW HlnOXHFAZCIWZ3cySvuDkAawJ30AGEYlylt64v04i22iDXrpGAnqWGBoZlZeRbGhXhWdEt UksFPJr3wapwl3gYDAyQCHepZiGEsQle9H55KngHTETn6v68ng4qipJespCkSQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y4mQs0KPhzws8; Fri, 6 Dec 2024 22:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B6MdW0e090963; Fri, 6 Dec 2024 22:39:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B6MdW9H090960; Fri, 6 Dec 2024 22:39:32 GMT (envelope-from git) Date: Fri, 6 Dec 2024 22:39:32 GMT Message-Id: <202412062239.4B6MdW9H090960@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e248e08a1593 - main - arm64: Add a constant to document the TZ bit in CPTR_EL2 without VHE List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e248e08a159384d064a8af9f2ced5f0a71d93b1c Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e248e08a159384d064a8af9f2ced5f0a71d93b1c commit e248e08a159384d064a8af9f2ced5f0a71d93b1c Author: John Baldwin AuthorDate: 2024-12-06 22:38:34 +0000 Commit: John Baldwin 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 */