From nobody Mon Oct 21 15:05:00 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 4XXJWd1qv5z5ZNSM; Mon, 21 Oct 2024 15:05:01 +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 4XXJWd0w6lz4fGS; Mon, 21 Oct 2024 15:05:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729523101; 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=MWEEhdB1PX9iVpYB5N2qhd4dfj7Q/HumZ+3Y0c7ey14=; b=m7fnDVxx2Bi9HlnqzQU6mDnNhFUhOdVd9JfP41EUKN3Q7HVRSLg2fKxUrt47+WgJvikM06 Dug6ic4YVOWeR/RD65OcWEMdj55jlVazz0NV60250+loB1fChliuKqRwYaft7Aw4KOn7mG oASbxh471hTyt9YErCLnUKugxAnG1GPWcqoGB5ZIgazOVgdI5zmby0mAzN6Vp007koZD4+ 1BqVenj3fDJaupPZWKsyopMe7zAJ27+/qyUxN4eK5lqZgcW/FjcmYbfmSOVkalPKKFIkeu rl8/bszhUUgmU5iCwnNQEHVWedMQOTyEmSf9Q6phiAwMa8yxSB0+pWyWoak/LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729523101; 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=MWEEhdB1PX9iVpYB5N2qhd4dfj7Q/HumZ+3Y0c7ey14=; b=NKPM7CsldwPNHcPx+6JiZyfHDrduKEDlGhX8SAUAs5XlAPpFKa5DaWolW5a9QE8lEw0do8 ET4g6FfvulpizeQNC+B4S3tJpcNgKpY91bMsNEDw4SyMPIKKAJILge9bWYj3Dssm5FvoJG 9SsBeOB1uwL/FMZqJnIAUJxPilL0rMZcZPrre+MDAL8BX4DFmrnxn08GT+M2Z/gUEaSBkq f4hyZbE2uygTAlV/9hoNjcgBhzdbLklf3UG2h5MgaNd/tm6WBNnh36Ce3OQD6oGkZPKZ6+ WDNTHOFVQbjtwMLqfMvL0/984tdT6Vgb04wP4tPHbDyh/x3wB9rZdH7g2596ZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729523101; a=rsa-sha256; cv=none; b=wgr1DGonqJFCDJLOrVuWIbxJ+GCY3v181y3xtH2tdJao7Fbx3KITSJH684OP7Y0xTJ3/4j aMUiO2YT57gLh5+gKSfibYWwtqu5x+7PdzfwY0CNM90AjwuyH5+HedYhamjewgn5R7EMSH hy5ys1DjRA6WTS9iHTrO5368hBtquOjhyVyJmfFB5ff/bhkh7QmnDsLJFiydurcNqoczmr xgzG3t51/Oha1H41AMAzRbAWu4zMxUHmqkVXq3D9PAGCmxMTk0AZE43766aLOfCtYOGKF3 vlIuP+Iq29dze1KAwUgacj0KzG4+wp7y4bCg5lEUYaIWdR+n8G1wO+zQzLDtFQ== 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 4XXJWd0NRKzbL7; Mon, 21 Oct 2024 15:05:01 +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 49LF5047046520; Mon, 21 Oct 2024 15:05:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49LF50Fd046517; Mon, 21 Oct 2024 15:05:00 GMT (envelope-from git) Date: Mon, 21 Oct 2024 15:05:00 GMT Message-Id: <202410211505.49LF50Fd046517@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: 2f0fe453bc70 - stable/14 - arm64: add CONTEXTIDR_EL1 reg 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: 2f0fe453bc7052123aa99f2cbc42981682834939 Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=2f0fe453bc7052123aa99f2cbc42981682834939 commit 2f0fe453bc7052123aa99f2cbc42981682834939 Author: Zachary Leaf AuthorDate: 2024-05-10 12:47:37 +0000 Commit: Andrew Turner CommitDate: 2024-10-21 15:03:26 +0000 arm64: add CONTEXTIDR_EL1 reg CONTEXTIDR_EL1 is used in debug and trace features to identify the current process or context. Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45173 (cherry picked from commit 4f8ba1c9dd00e0ae20fa161e166715746b6d1c04) --- sys/arm64/include/armreg.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index e6b5d313a3cf..194731c98902 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -218,6 +218,15 @@ #define CNTPCT_EL0_CRm 0 #define CNTPCT_EL0_op2 1 +/* CONTEXTIDR_EL1 - Context ID register */ +#define CONTEXTIDR_EL1 MRS_REG(CONTEXTIDR_EL1) +#define CONTEXTIDR_EL1_REG MRS_REG_ALT_NAME(CONTEXTIDR_EL1) +#define CONTEXTIDR_EL1_op0 3 +#define CONTEXTIDR_EL1_op1 0 +#define CONTEXTIDR_EL1_CRn 13 +#define CONTEXTIDR_EL1_CRm 0 +#define CONTEXTIDR_EL1_op2 1 + /* CPACR_EL1 */ #define CPACR_ZEN_MASK (0x3 << 16) #define CPACR_ZEN_TRAP_ALL1 (0x0 << 16) /* Traps from EL0 and EL1 */