From nobody Fri May 17 15:12:03 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 4Vgr6D0Bmyz5LK9k; Fri, 17 May 2024 15:12:04 +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 4Vgr6C603wz4H4S; Fri, 17 May 2024 15:12:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715958723; 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=mXTf/+nqHxqDSbD7fe6P5EYPNY4FqO6Q46QGrEIbT7U=; b=KcJ+klkcCzi5/rqIvVIpqJXQ/If2KNttXYWyk2AEmaQ4YdxXMP6gkVKBDn+qMR2Mgqm6Nx comciFzTo00FuDw3EhuF0+ip0vpZTiO9Ca38eoPIvZ+wW2DRpqKV6rad4qsx2KBN3l3T6D xGhI5RcgOD6BiHwNMbyhSP9sKheI9G/nCYe+gC9wpOAruHF1EFWm6UG51bf0Q997bgwVzF yrb5Log+KnN/FaFNS+7i94IyCbSqrul1V9OpS7Ds2JfqaDIpNZe9aE8d3fEg0N0wTAoceH oGVxuHpOSm3apMlG6mIwWo8IlyZR/sPrkAFmoAmsXapJolIxQxFt+G9yXSUDGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715958723; a=rsa-sha256; cv=none; b=ZA6d70vOWvvnZ1LOCBy4s802ZGoA64fccFsT3ZXLuFJpRnvhdvtCjH5w37Qn+dMVr7kRvo esOcPeA5OTi/mkevUe6a6gSxwojVkffVm0Tph5gjDYWBn1c3GV7EXvgCJKWFUq4TTj1ahP XmwXM7eOU2at6QHezsHCP0uW51Fvgg1eR28dO3k61JfCl/jB0AtMksexG2S1GYr+HbFJ+i j2MExe8C6n7luN1TbzZTcJpJlItI1LvuQKkQ/XmCWn9XC/VP3kWhv3/ZVpsbzmdzW4RQ6l NJx4eJVzfmG2ELZlt8pXc29zxE9gERngHmLz2kza0fKc4hucepkBzGF5NY7EPg== 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=1715958723; 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=mXTf/+nqHxqDSbD7fe6P5EYPNY4FqO6Q46QGrEIbT7U=; b=JoD0VPSMDDeTD0QpnGpyl0rj9tvzNI8iY1HYXRACLdiwA0rzCwOmZHCAvEf+JrWChaAypu DntPD8ssYpaCVeRf5jGAHGFay1aPI9XLQRP3JnReOrUmIfScxp9VYl56JB2amVGQ+FYZJG I/mT+Zm3buoy2u62/e2f/s0Z+Jdcuax9PqwFbFZ8/234xIo2vKp2/4mQeMvlIy0TsUuYKG hfZnlYMmr8xUsgn+33duoNPUwqVcDjMA5islYeYxgoWkhDMGgXqud2tAxMi6qV75FfbFRr wQa+YAJbHlSQHtfMC+PoZQlnzq3zHA/ef2g0mluW8ik1C0kzSpIWHGjyyL2Sng== 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 4Vgr6C5bdZzn3t; Fri, 17 May 2024 15:12:03 +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 44HFC3C6060427; Fri, 17 May 2024 15:12:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HFC3YF060424; Fri, 17 May 2024 15:12:03 GMT (envelope-from git) Date: Fri, 17 May 2024 15:12:03 GMT Message-Id: <202405171512.44HFC3YF060424@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: 10b3eac88db6 - main - arm64: add PMBSR_MSS_{BSC,FSC} status code field 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: 10b3eac88db689d657c4d0d0716bcbdf240ff614 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=10b3eac88db689d657c4d0d0716bcbdf240ff614 commit 10b3eac88db689d657c4d0d0716bcbdf240ff614 Author: Zachary Leaf AuthorDate: 2023-09-20 09:51:22 +0000 Commit: Andrew Turner CommitDate: 2024-05-17 14:46:00 +0000 arm64: add PMBSR_MSS_{BSC,FSC} status code field Bits [5:0] of PMBSR_MSS encodes either Buffer Status Code (BSC) or Fault Status Code (FSC) depending on PMBSR_EC value. Add PMBSR_MSS_{BSC,FSC} to cover this field. Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45172 --- sys/arm64/include/armreg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index 144e357d14b2..ccd9f4a5c78a 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -1689,6 +1689,8 @@ #define PMBSR_EL1_op2 3 #define PMBSR_MSS_SHIFT 0 #define PMBSR_MSS_MASK (UL(0xffff) << PMBSR_MSS_SHIFT) +#define PMBSR_MSS_BSC_MASK (UL(0x3f) << PMBSR_MSS_SHIFT) +#define PMBSR_MSS_FSC_MASK (UL(0x3f) << PMBSR_MSS_SHIFT) #define PMBSR_COLL_SHIFT 16 #define PMBSR_COLL (UL(0x1) << PMBSR_COLL_SHIFT) #define PMBSR_S_SHIFT 17