From nobody Mon Jul 15 12:37:56 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 4WN1v92gvgz5QrWX; Mon, 15 Jul 2024 12:37:57 +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 4WN1v842vnz4Gw7; Mon, 15 Jul 2024 12:37:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047076; 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=dBI6kR67ObUE0z+6oJf1AiD4f3vS1NRuf8egtqbiGoU=; b=UT/FeJ+xhghDpvFGg9gqTcOrJX8obj/OVM3rt+pEGEvn5+3uOs+7qdJJHgSX4Po/AAWphk 6dQZDPWjAa1dJ6ArrULzdFjuLuydb7zEJ2TzQQeJ0UAILFTJCKGxMiF2DQgPJccan76kda Xr6Prry+L8gGPbqd++Zwtuck2SUihSyPTmGiZ/Q2+ZSBewuzjiFX+3Jl+VLhuPi0s7wYRk 3vqvnkZxUdVEMnQBbW6MEEBH4smxy87qw3S7KMrUWwCQKS/aPRHc3MyOqYQ2fsrP00pfEI rFufwYnrQ7PgpEMGI3CZ7o7XcxToWSYVTBlJbP1VzwqVROLw/RfSWWylDjb8NQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047076; a=rsa-sha256; cv=none; b=aMX3bGOK8zwjsncDEUnku2kMa1AW5zG4ok/AEAtRWbYWNMAZrTp5k9NynGj481Pqyz1MxW RDn1+de4m/o9+J77MPYthQeLis0p4Np9khgNtpYAnCfU6o5rnoOcmxTz7f3NqqiAr5tbKj vm9+KMpUK+7wisF9tPAbdeGp6XMNWnqoYjbuFL7YrXXftreRcbcNAXO8hOCODg4gFr+8L4 bSmBrfGRNoDBFAmW0vjNenTJ873c3u7bLeq8D2nhBdKgYIYb1ynEZDGV3ZfsVItuuSo0mD H/4xc7cRR5O/In8jg7qRdfwdigZMahcHER53123chfrZJP3y3ymeHbWO1yjqGw== 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=1721047076; 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=dBI6kR67ObUE0z+6oJf1AiD4f3vS1NRuf8egtqbiGoU=; b=U2axDUeH/204sD9zTPi7zgfjQpPRKXIeG1EdrwhWUxrzJQSwmTIXRLNLT3sHlv51uPXiKf ID5a5EktDeFaErpaqIdDe/Ip0Y5SRwwepuDJZ4ZEKmkeKMFqY13yOlA8Y349SY6aW9JLnZ k0Xqm2uNMtpG5tMttgqAwCpB3jMPSH/BbfKJ/zd+urglgh2liF1dFCofo4pzVJhTvV1lon YmXasCJDEhBwJzUldPjbxnCKaLvfytJa/iurVHH8m4kvAhVtvciXD/dHSuBEO7RlSXRpfl 4Q0lnALSfl1TUwvMnj50adaNVV4bfJNGFQZDhXU637VkSYq+ZsDaOcJW9IyP4Q== 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 4WN1v83dBpzsLv; Mon, 15 Jul 2024 12:37:56 +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 46FCbuud058791; Mon, 15 Jul 2024 12:37:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCbuSw058788; Mon, 15 Jul 2024 12:37:56 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:37:56 GMT Message-Id: <202407151237.46FCbuSw058788@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: f9878b9c8efa - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: f9878b9c8efa6c0cc43503851831d5525aa0a28e Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=f9878b9c8efa6c0cc43503851831d5525aa0a28e commit f9878b9c8efa6c0cc43503851831d5525aa0a28e Author: Andrew Turner AuthorDate: 2024-02-21 18:16:43 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:21:55 +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 589d6e9cbdbe..18f173c77720 100644 --- a/sys/arm64/include/hypervisor.h +++ b/sys/arm64/include/hypervisor.h @@ -169,6 +169,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)