From nobody Mon Jul 15 12:38:02 2024 X-Original-To: dev-commits-src-all@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 4WN1vH1FM1z5QrLw; Mon, 15 Jul 2024 12:38:03 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WN1vG4cr7z4Gly; Mon, 15 Jul 2024 12:38:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047082; 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=k6HsXM4mRXg+h9zwkVLztV7Duk9IknU4fWs96OiuUag=; b=Xgfr0h413YHLFD69V1uxydMwjYg4+jt0CUjtoP2hscW/GKSRoielld5Lh4+e14s9D0IYtX FGL3OVoJuubKN6DV7ruHossTQ+kfh+puakdKO2UnW2RtNCY4EmnThMdNRzpnnWYp2y7FTs EKkLh5yjphcUHikBdDGxsdznukeVRXVXgNEDhSfqnQ+6VooK7P/yptfn1BG/mfdfsN7rJi /DkLNQqCfRvZQ/2nO+2wU/zMCg9AbcXEAHe7tKe0nstTf2jnkGJgU67h2SGAG5PMsRW6Aa avqUzuGG1UmZQJsaKo632q1S9e/Npqh8aUlEzrIBCYq3DWXnpxMPy+EsMG2Vgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047082; a=rsa-sha256; cv=none; b=btGWZBeEWX3q2pBhj3KkigYZ/RS7d8FrsaGSyrsfdLY9PPQK5b3NNPCQRG0mCINsuogBpf eRsc92WIra+pEiVaD5BARGP62vDsCA69wfeafWCSMHGVbohFDDCrY59AQ6IC/3cbfG/j5e bqt7iGdq9jtGpfc35tfiitMeOuFleNSKOqETpuuNnQJaLsLWc/CUiaw4LQAGOH4vGOAZgw 9Hb7+h/VhIWEOHjOGJyTpAm37BQ63gMpWtwKYSSFcB94KG0iLb9rooHA6lKrpHtYYT48XD R3IqPJbbyOH+qsBC54r7B5LMEDbAFSWqGsefVMUiyAExf/+C6fCTXBblxQ9mWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047082; 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=k6HsXM4mRXg+h9zwkVLztV7Duk9IknU4fWs96OiuUag=; b=tX6imR6kWV3NV97G+Tff2Aif6lRDCQaUj21r7Uf2rPoz5J1qBl6AcHdblS8pvUML1xeSCt Mwy/F/QmTitMjbxCiJ203Lqsql+nCjVa7hPnlk/wsWipZy/UZfezoB1DfnpQ1GIDJ3xJdx of6mbOEOIUXjYH0QomuMbVJBRtcQPQHpDo75LrcmKJtCm/R6A06Sl9Qu7XqNdyQzC1iUpA //hJgqVbxYKLMhV5QTT7AjEIDjR5Mwe9e3qN8Bju3J3INnZfi5SFhpYHaZmP2WAJkef1fa ZxSF097+e11hI+9G52vsGd1yO/YRNrLcruwCvih+osocRxr9e2uZO1R70mHMNA== 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 4WN1vG42Zjzt3C; Mon, 15 Jul 2024 12:38:02 +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 46FCc2nW059327; Mon, 15 Jul 2024 12:38:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCc2Vx059324; Mon, 15 Jul 2024 12:38:02 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:38:02 GMT Message-Id: <202407151238.46FCc2Vx059324@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: 2aa49fd3f019 - stable/13 - arm64: Add the TCR_EL2.PS mask List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2aa49fd3f0193cc0dcf8c7505ebe63afaf95301d Auto-Submitted: auto-generated The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=2aa49fd3f0193cc0dcf8c7505ebe63afaf95301d commit 2aa49fd3f0193cc0dcf8c7505ebe63afaf95301d Author: Andrew Turner AuthorDate: 2024-02-21 18:16:43 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:34:28 +0000 arm64: Add the TCR_EL2.PS mask (cherry picked from commit 9c52f98c9f1abfe6577335522b6007659f759adc) --- 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 245b8a8b8b5a..f3c871191688 100644 --- a/sys/arm64/include/hypervisor.h +++ b/sys/arm64/include/hypervisor.h @@ -165,6 +165,7 @@ #define TCR_EL2_TG0_64K (0x1UL << TCR_EL2_TG0_SHIFT) #define TCR_EL2_TG0_16K (0x2UL << TCR_EL2_TG0_SHIFT) #define TCR_EL2_PS_SHIFT 16 +#define TCR_EL2_PS_MASK (0xfUL << TCR_EL2_PS_SHIFT) #define TCR_EL2_PS_32BITS (0UL << TCR_EL2_PS_SHIFT) #define TCR_EL2_PS_36BITS (1UL << TCR_EL2_PS_SHIFT) #define TCR_EL2_PS_40BITS (2UL << TCR_EL2_PS_SHIFT)