From nobody Fri May 17 15:12:04 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 4Vgr6F1ZG9z5LK9m; Fri, 17 May 2024 15:12:05 +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 4Vgr6D6q0Yz4HG0; Fri, 17 May 2024 15:12:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715958725; 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=l3nhQC7cv1LU5wf64wYdUeOwdu9xvAZULU+X9Wxp7tQ=; b=jfxaeZ7HW2M5YpFEhPhkxleiREk2dBPmLAPrmHuHjsAy0aK413GkqFD1yiTYzWSLbrGGvS LF1eU2AaQtImEyQgmZ2ehVKZSIbSBTmWtTedjCJRdDDX18Mgr5v8UDkj3+sQ390PYzac4r zGBMQOZOxfqmUhhJQcLo+XQF15Q09glC0jyOv+WYBAQLtpqds/Sts6X9FHZ2pcZFoPr1IL VVmqaOdl02eag55ObehKX0hs+JLeqc+hkndIJNAzGJmRbKTtstRasmu0lszy7nIEqisI8Q dch+qkOtawFjoOi7s83YVR1ueSAZygPLMjV1TKQTLxwACtMtR8WIOyeApbLe5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715958725; a=rsa-sha256; cv=none; b=BbhSA9RlpvlaPwe1+D44pTNjIIFpZZwk0vapwio+yVjgFl7yVWf5omzxqf2k5X6wqvZsan D+LLUMyo9IOTbMBG2xr1Gk34PDe2aaaBsQOHc7FQUNcd13l/FQWFEekhYghRvkbvQutpZz eZWU5tJzBF4CXjuMgXirz13U9uovBwb1lLi2ofysikfmdGr0dnylUw4d8e2XXpf5mnTiyp f8O3tSrTZaEj76VZ/mP4/V/YxrqF5I7HotKn00RXHx/6oQCUznMbyvqir2fKmwljCMkINK WLosv3b5YEcKDcrKtJ+BEZE0En+eatr7XO/nmuICu2mUjSKKRrpypVxJnWuoSA== 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=1715958725; 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=l3nhQC7cv1LU5wf64wYdUeOwdu9xvAZULU+X9Wxp7tQ=; b=gOn3sFEe/EFp5BA6jebhA+aU2oUbFc5Ig4A8SNH6lM46HMyAqQYIpvA/JmnAdFYItGEPxm 0j0ejYRuFs9o2RjpydqQ623QdCvv5TAAyEOeJEMVWZFkiq0cIVu0zJOi+oyuh1vvhP07Nl b6WiPMwAgTKTjT+y0wRbq4aY0+AmLFObIAjY6GOv+wkkjKDJI18BNL2B1CT9G+eXs/hyTo Ehd3qcXQGL7/VLiL/luguPh/Pyb+mMmPBcL394ZbisIzSC+q/rq5pfo3pAPq+HnDKItaDT JdpXJdIyL58xyRrSrLDbBbXeEYXVqok+PKwQkVzhtZjLABqM5oEGCpESW8C2ZA== 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 4Vgr6D6GF1znDt; Fri, 17 May 2024 15:12:04 +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 44HFC4xr060473; Fri, 17 May 2024 15:12:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HFC4WE060470; Fri, 17 May 2024 15:12:04 GMT (envelope-from git) Date: Fri, 17 May 2024 15:12:04 GMT Message-Id: <202405171512.44HFC4WE060470@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: 4f8ba1c9dd00 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 4f8ba1c9dd00e0ae20fa161e166715746b6d1c04 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=4f8ba1c9dd00e0ae20fa161e166715746b6d1c04 commit 4f8ba1c9dd00e0ae20fa161e166715746b6d1c04 Author: Zachary Leaf AuthorDate: 2024-05-10 12:47:37 +0000 Commit: Andrew Turner CommitDate: 2024-05-17 14:46:27 +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 --- 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 ccd9f4a5c78a..d1480cd61184 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -138,6 +138,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 */