From mboxrd@z Thu Jan 1 00:00:00 1970 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 022F6C433EF for ; Fri, 13 May 2022 14:40:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=84Y3Ovt+yjJBVFkMoV40mp7GbOeSHfFZ7m4dQl3aI34=; b=OWDx11ytFsMxHC 8Kdf+s2sK+kGxBWirgTSjD7b/DZlnhsJ9loyF8qB5Cs3gTzpyAKkvmFFJyxSGr53nDu0oeC1bOC9e 3vodDBbKFEh/oysBIcbZgTLRy+ENVo+7/GsMVSKYjztizr3zsfT3u6ia/9RT3242q6w1IXeq8ndq3 ZmDY32MrWBaMHLDaqLY83geGsTG0FmobMqqZcFrI5GuRAYiIzVWURSdkbUWahNgxALYD9EVnf5U8N 8XViZXYgANnhGu7yag2dh8niqFpfQhYkRcahBhE5GBuaSnFrtVcV2OJcu2Hxqsp/HJOpUvGV+twpe SVET2A3Z1ez7w565NFJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npWSM-00GTGg-4w; Fri, 13 May 2022 14:39:50 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npWSJ-00GTG3-K3 for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2022 14:39:49 +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 4BA32113E; Fri, 13 May 2022 07:39:46 -0700 (PDT) Received: from lakrids (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7860F3F5A1; Fri, 13 May 2022 07:39:45 -0700 (PDT) Date: Fri, 13 May 2022 15:39:43 +0100 From: Mark Rutland To: Mark Brown Cc: Catalin Marinas , Will Deacon , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 10/12] arm64/sme: Generate SMPRI_EL1 definitions Message-ID: References: <20220510161208.631259-1-broonie@kernel.org> <20220510161208.631259-11-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220510161208.631259-11-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220513_073947_738332_F03510BF X-CRM114-Status: GOOD ( 13.25 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 10, 2022 at 05:12:06PM +0100, Mark Brown wrote: > Convert SMPRI_EL1 to be generated. No functional change. > > Signed-off-by: Mark Brown > --- > arch/arm64/include/asm/sysreg.h | 3 --- > arch/arm64/tools/sysreg | 5 +++++ > 2 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h > index 2a9468d449fa..b4affc3fd569 100644 > --- a/arch/arm64/include/asm/sysreg.h > +++ b/arch/arm64/include/asm/sysreg.h > @@ -215,7 +215,6 @@ > > #define SYS_ZCR_EL1 sys_reg(3, 0, 1, 2, 0) > #define SYS_TRFCR_EL1 sys_reg(3, 0, 1, 2, 1) > -#define SYS_SMPRI_EL1 sys_reg(3, 0, 1, 2, 4) > > #define SYS_TCR_EL1 sys_reg(3, 0, 2, 0, 2) > > @@ -406,8 +405,6 @@ > #define TRBIDR_ALIGN_MASK GENMASK(3, 0) > #define TRBIDR_ALIGN_SHIFT 0 > > -#define SMPRI_EL1_PRIORITY_MASK 0xf > - > #define SYS_PMINTENSET_EL1 sys_reg(3, 0, 9, 14, 1) > #define SYS_PMINTENCLR_EL1 sys_reg(3, 0, 9, 14, 2) > > diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg > index 2cdcdac0465e..d29bc429f504 100644 > --- a/arch/arm64/tools/sysreg > +++ b/arch/arm64/tools/sysreg > @@ -185,6 +185,11 @@ Field 1 A > Field 0 M > EndSysreg > > +Sysreg SMPRI_EL1 3 0 1 2 4 > +Res0 63:4 > +Field 3:0 PRIORITY > +EndSysreg These all look right to me per ARM DDI 0487H.a, section D13.2.130, pages D13-5943 to D13-5945. Reviewed-by: Mark Rutland Mark. > + > SysregFields SMCR_ELx > Res0 63:32 > Field 31 FA64 > -- > 2.30.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel