From nobody Thu Dec 12 18:18:59 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 4Y8LMR6Df2z5gZpt; Thu, 12 Dec 2024 18:18:59 +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 4Y8LMR4bLXz3xNv; Thu, 12 Dec 2024 18:18:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734027539; 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=8ARoS6RfXi980GUtwQZ1Y7XqDseJfooC8A2gyq+JZPo=; b=X6fmOnspW77gsP08y6OJrZMVUE/z/5JVwCpNVnQO9fbeuGTrcszvLb9mb8CYOlWnd9Tqfw 2R7iCp/HdF4vU6t6O2KLMEnfS7xw1qQ0IRmmUXUHVT615yOC3b/+ykXrdD8Me2JCKrJLCP HyvtebomAOHTd4PTkIbKavPG38fBP0X/Ltc8AB98N1Em4Z1N+QgylmWsK/rlHn81MAeHlH 2xLXCOBj/QjHSzuWChJomrH1Xwk1GtD8QU1dcSQ3KuCEsFaypmUhMHcswJnODItjteIGWH munMBd/O0EFa+Ht7xyttyNbLYE7DnsxQ6s5PS7ZQ/Rxm4cHNyUo7P8tReotx/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734027539; 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=8ARoS6RfXi980GUtwQZ1Y7XqDseJfooC8A2gyq+JZPo=; b=HmlPp74shq6aUZRl9qpc3N7tY+ujM4u5Ez8QHmReQUsI9U9dYD1oyyKthuLR0zd6G2yqWj mCwo7o/Mpbpsl9JvLa8kwiVRT1eEv8dgr0rWOBapqc5i9AtwdrG8N6AYpmPLYHSteFBD8L A6XmxNvKglR8vq+XopUDWikqqITvS43lbtxR4NCzbvWwC5IjLchwiVXd76vRyUrdLjauG3 PtvxCmmQ7dXq9RSiXds/o/jxRvK8XZhlT0Ylsb98NxG4tAX9T5ZOpiB2+i+sJyufVKncsU e6AB+UlDgWw5Nv5mx2WccLY6RWzvITejBYkIwwcF7ZM12RYA4ZXJT69fUmbkaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734027539; a=rsa-sha256; cv=none; b=vhNbhskjb7Upj5oVhppJg3rF/48f42m+PMrG1mz2NDVVhbq2Pnhd9OKhnIbvpZQsPDobYx jes9X6r7VT/mifXm8WT4480b8jh9Clw9iThfUrcsAtytD9UoFYLjpImSKBIHOC2Q1l2ia7 qDuq1d0xyqbS0keilo7hMtnrB9oAf1F6HU4uB5nPg17mHdrhoygGJhDft2Kvy3dxM5Brfg uCZSPVHk5KeSwIpqU0OgDQNiSd7m/qLL4kneOtGR+O4Cb09LRJlNPsp3NJz0OjMyP4J25y IUK9bnMz+BzcUJZfXoQArCIeU7lINZeR7OLz0eZ4IIHolfjt4mldctdH36bWBQ== 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 4Y8LMR47NRz13Jj; Thu, 12 Dec 2024 18:18:59 +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 4BCIIxcb097057; Thu, 12 Dec 2024 18:18:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BCIIx0R097054; Thu, 12 Dec 2024 18:18:59 GMT (envelope-from git) Date: Thu, 12 Dec 2024 18:18:59 GMT Message-Id: <202412121818.4BCIIx0R097054@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: 4b516226dc39 - main - arm64: Add CTR_EL0 op and CR values 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/main X-Git-Reftype: branch X-Git-Commit: 4b516226dc39c6c1918cb85a254fed59570bdc4f Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=4b516226dc39c6c1918cb85a254fed59570bdc4f commit 4b516226dc39c6c1918cb85a254fed59570bdc4f Author: Andrew Turner AuthorDate: 2024-12-11 17:55:31 +0000 Commit: Andrew Turner CommitDate: 2024-12-12 18:00:22 +0000 arm64: Add CTR_EL0 op and CR values Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47813 --- sys/arm64/include/armreg.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index 93758da884a1..e955f3f4a5c0 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -363,6 +363,13 @@ #define CSSELR_InD 0x00000001 /* CTR_EL0 - Cache Type Register */ +#define CTR_EL0 MRS_REG(CTR_EL0) +#define CTR_EL0_REG MRS_REG_ALT_NAME(CTR_EL0) +#define CTR_EL0_op0 3 +#define CTR_EL0_op1 3 +#define CTR_EL0_CRn 0 +#define CTR_EL0_CRm 0 +#define CTR_EL0_op2 1 #define CTR_RES1 (1 << 31) #define CTR_TminLine_SHIFT 32 #define CTR_TminLine_MASK (UL(0x3f) << CTR_TminLine_SHIFT)