From patchwork Tue Oct 1 02:43:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 13817405 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CC0BCCEB2E4 for ; Tue, 1 Oct 2024 03:37:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yuVG56ysq3vrhRGd6C/mtt/QETO8lhA6HColHpWVMC4=; b=XcsqOINJY+RVVGCbJMufc/+9WE CqD922YWvztWe2txlxeFrRs3kXIJs8JGqWGAaYjuRLHgbEGvvoKxRxxFsi0CBpsXjoO5JiqLWeu3s 9gy/LAb0L5EwUBLHsnYuhvcdT7xlah9b3eK/O/dlHJOxS6AGb5FU5ed60E+6AULksuRhE8wlXKFXp bKQwC5f9TKepBd/7W7KOxVwhtBXTD9LPFJ36EU0yeIO06XykMl47lv8De+i/D/Nngama2BVXL4EcW eKYyG/hq5Uk9Hw+pg8kni9sYe6oxgxP5Xgp4721M1mYfS08gZV4T1a8+EqNW8uLOcAK4CE/G7QHEx Y7Swer2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svTho-00000001Uk2-2zv3; Tue, 01 Oct 2024 03:37:44 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svSue-00000001O0r-1w2x for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 02:46:57 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A09E6DA7; Mon, 30 Sep 2024 19:47:25 -0700 (PDT) Received: from a077893.blr.arm.com (a077893.blr.arm.com [10.162.16.61]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B4E373F58B; Mon, 30 Sep 2024 19:46:52 -0700 (PDT) From: Anshuman Khandual To: linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, maz@kernel.org Cc: Anshuman Khandual , Oliver Upton , James Morse , Suzuki K Poulose , Catalin Marinas , Will Deacon , Mark Brown Subject: [PATCH 43/47] arm64/sysreg: Add register fields for SPMACCESSR_EL2 Date: Tue, 1 Oct 2024 08:13:52 +0530 Message-Id: <20241001024356.1096072-44-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241001024356.1096072-1-anshuman.khandual@arm.com> References: <20241001024356.1096072-1-anshuman.khandual@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_194656_569913_475C1D1A X-CRM114-Status: UNSURE ( 7.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds register fields for SPMACCESSR_EL2 as per the definitions based on DDI0601 2024-06. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Brown Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual --- arch/arm64/tools/sysreg | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index b464d02e5fb9..974218762525 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -657,6 +657,41 @@ Field 1 P1 Field 0 P0 EndSysreg +Sysreg SPMACCESSR_EL2 2 4 9 13 3 +Field 63:62 P31 +Field 61:60 P30 +Field 59:58 P29 +Field 57:56 P28 +Field 55:54 P27 +Field 53:52 P26 +Field 51:50 P25 +Field 49:48 P24 +Field 47:46 P23 +Field 45:44 P22 +Field 43:42 P21 +Field 41:40 P20 +Field 39:38 P19 +Field 37:36 P18 +Field 35:34 P17 +Field 33:32 P16 +Field 31:30 P15 +Field 29:28 P14 +Field 27:26 P13 +Field 25:24 P12 +Field 23:22 P11 +Field 21:20 P10 +Field 19:18 P9 +Field 17:16 P8 +Field 15:14 P7 +Field 13:12 P6 +Field 11:10 P5 +Field 9:8 P4 +Field 7:6 P3 +Field 5:4 P2 +Field 3:2 P1 +Field 1:0 P0 +EndSysreg + Sysreg SPMSCR_EL1 2 7 9 14 7 Field 63:32 IMP_DEF Field 31 RAO