From nobody Mon Jul 15 12:38:15 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 4WN1vX15MDz5QrPw; Mon, 15 Jul 2024 12:38:16 +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 4WN1vW63Gyz4HFj; Mon, 15 Jul 2024 12:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047095; 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=p7GUpU7RaJuWYWGMQ9VENA26cgbbg2hROU0T9YI2WnE=; b=p8NCZEyg7pbE48b73sn9cukpJ8S87Y8gNPWHxgWDwTZxwwZiHw+Mbfujg4ajUQeEiY3K4f 4J3BgLHgjfAkAH5lTp5WN/8ERzFaPOH/Ycriamnlmy3QJyamWl8gcuICUtAUJ9cPkXdAqs LHXUsZj8XKF1bEdMywmvKl2W8rP2kBnEHUVo9IlxwixFr3LrwEz2ajgk+rpsDbctBkYjP8 NXq1W/2Xp1Pxa2etAMAUtTXqGcqt+ML6OHQA9lmFOFn4ChwoiuDEByydaSZeUBop90DZLF 8SlcEddU5WHUgBVwYiFkM3CBxT6e5ZK95qNKZXVpoNNJw7mnh2IyCxm02llaig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047095; a=rsa-sha256; cv=none; b=qSG3DUL7c5cdHmvfsT1uZS6poox8NgA/29G8/uHVd825/8vBzW+L9WjYl43QtBUKZbAjgt ugKB0Ml7QlKcd0R5sTeHSba0eXn2q7FdzbhZww7UgOv0DgaiP63IIdNrhQ6dUKyGjzZfHs 2HZR/VSAeYi9f1cuk5nwnAZADZhwbt2VE9JPcQBcGCugSaUuTP8Xg1vmpJnNX8QdYe0D5y qY4VDx4SkhCWPoev5B6XgsSxjhSYMFsYo4eHdB2SMFWPdM29AhIgP+Uwm1NXvuXa/Rwelh O/2rGQXaSCMsreuAiw7zh9t36Jei1j/9xmpA0rd7JL1P9wBoGnN/5YS3xgA0MA== 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=1721047095; 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=p7GUpU7RaJuWYWGMQ9VENA26cgbbg2hROU0T9YI2WnE=; b=IuOfQuuOizMhY5k5l45jyuFgQJWR7/X3X3O7fd6dskOa4U4J+gmjKt+TcVdcf9jN0mvAzk hCjFjmmLDY444+UZY1Y+4Z5ELosHxMMtVjESYrS7CU79pEGWZrpYT16Ilc1Tr7DVnCJ8pg vlEBFg15Wsh6gA6/wLe0zA0t2lY9KeN6drs3VdTjlNTgnqvCIs8ZViDS3p6PCfYNTA47lL QrZTpY1zzvOFn8YtUH5QOw2ptDle+jTPs76GXP5LJi9PJPaCIdJf+JAsqvCmgnRxxX+xAw EUR85Pt2E75XSAyhNoNE6jsOUNLxrE1mLDrWSWzLUcrqK8fOMdhvhzjnO27nBg== 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 4WN1vW5dRKzsp9; Mon, 15 Jul 2024 12:38:15 +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 46FCcF0S060453; Mon, 15 Jul 2024 12:38:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCcFSU060450; Mon, 15 Jul 2024 12:38:15 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:38:15 GMT Message-Id: <202407151238.46FCcFSU060450@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: 2b2c134337ff - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 2b2c134337ff45b9ab3c409a5343f4fb04c4f4de Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=2b2c134337ff45b9ab3c409a5343f4fb04c4f4de commit 2b2c134337ff45b9ab3c409a5343f4fb04c4f4de Author: Zachary Leaf AuthorDate: 2023-09-20 09:51:22 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:25:40 +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 (cherry picked from commit 10b3eac88db689d657c4d0d0716bcbdf240ff614) --- 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 ca281e800437..e90c6a57fd55 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