From nobody Wed Feb 21 18:55:51 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 4Tg58743FGz5B8KG; Wed, 21 Feb 2024 18:55:51 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tg5872jcwz3xfm; Wed, 21 Feb 2024 18:55:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708541751; 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=5AP3sQLPYBr9WNzcqaL3MSrswUmsAfiUDxhLNaYJC84=; b=q2TakAQyT3IsVy97gV2hNVYs6k+EoE1NF8BcpZHDJ/C2cs7TSglO6y/AS43RitAhgYS/oa AirSsBkih1eDaZY6OTxvxQMMj4xkW1cIOkmF3p78wsAxmE1xfiU2K1VuRLXAOnMlLXUsM1 p2xxCwkK9R8+HUdnZcqOdMVQknV1U/QtPp9CgNO5nER0JOsBbh11hBPSdwUCL1V2JqVYN2 CUa6zl9h9vgXRLTabgH/t3TGZe5YpsEzWeOmTkgxipcQHzB0anhcTCFa1r9Qysqs+78lZ/ S8kqLT+DCEeOWlW4lM9sslWwjMvoDgT3GjGwLYUEC1bIQs1pP6sZR0Utc2+78g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708541751; 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=5AP3sQLPYBr9WNzcqaL3MSrswUmsAfiUDxhLNaYJC84=; b=A27h50PGdI6GnpN2VeZIAAN3Oq9w/Qea9ZNezLAhcRPn1FW6Wy/7iiwVNF3kQbYi8UwD+h gl6P3/jg1Z2kXVrbDVf5T2ZVc7pvmJ7eTzWQa7+PG3VxlVNi8eP0PZfFsB8EGep7DVH+LP tdD87DGTDvgFYI9s9dlVJaozufllr0oFmrzCyiOe//Jb1DX6gkwwUkbDu6X2v9wP7QiAnI DRsMYLfljCq+PVFE0JN8iQKkbcRmnJGAkpVxdQdBkYOZIY5WeKmc8iXzRNfCNUKariWIoT QHB8rM//hW7BcYbDzU5uc8VUCuEZ5VWb2fdshqpUpaWRHCFlcxgKlgI5QvYQEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708541751; a=rsa-sha256; cv=none; b=jNgKj7ZUzwchxbJ2pjKb0IoF63ofi2tV/Lz/tM8GGbXVfXn2F6DeWVZ7ksd3SV1w0SxlVm 9hhzbemOeII0C6GYHSozMQ81GYGkFVrAmonsFjRXWOUi0zNkCXp7GtY21ktV2xEDhiCaSE cY+zmfw+1E8vvAHTNqVbK2RV4rYYs1HU73plwevRJexH2OVAqFtCuqklBuD1Kjyn5DU5Sq do/ebeFpk9YgLMlk2TwEB2OqQ6lnWqZ/bxT1Q8jCEay+53R3xvTFI1dqlcrnzDCfpgLid+ 4u8ZVOwJx7mp1m6v1sAoK0iOlQCyAzPi85WhWCnL/+syztppKb938qvqgWSHgQ== 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 4Tg5871ldcz1Dw6; Wed, 21 Feb 2024 18:55:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LItpRG033477; Wed, 21 Feb 2024 18:55:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LItpuu033474; Wed, 21 Feb 2024 18:55:51 GMT (envelope-from git) Date: Wed, 21 Feb 2024 18:55:51 GMT Message-Id: <202402211855.41LItpuu033474@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 9c52f98c9f1a - main - arm64: Add the TCR_EL2.PS mask 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 9c52f98c9f1abfe6577335522b6007659f759adc Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=9c52f98c9f1abfe6577335522b6007659f759adc commit 9c52f98c9f1abfe6577335522b6007659f759adc Author: Andrew Turner AuthorDate: 2024-02-21 18:16:43 +0000 Commit: Andrew Turner CommitDate: 2024-02-21 18:55:32 +0000 arm64: Add the TCR_EL2.PS mask --- 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)