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 2C1EFC433EF for ; Fri, 13 May 2022 14:39:12 +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=PTHTm7WFPaCSH3YW2E2Hky/JVOav8ACKb+9bWHNP2x4=; b=hgQGXvDEakQPkr 80crw7w4hyVkmhq/OJnDc7YzaB16fmBx6qLOhDhmCBb6rkbvF6wnSubv+flPkS8m4iNGYQjWAphhc SA6gCtEygWiqQdbg96ror3x0szgjkOQkPpRulknjcigBnwkrOi0sKb748LcLXn64KbuBdU9ML1313 ApTqNe5Eo2lbALIdCXA2V5/NOgva0sJ//Qs3K2nJ6zhozOli84gsNHTDpfd+sZScCY1MC7hXfveH1 2M71UCvxTXxM/Edea77NdJsUD5iZCghNDDkRI/LAKl8DzX8N2wLyc0zcutKbKA4f+dK3ZXUp8z3QR krDqwh5p4U4bdIR74jaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npWQl-00GSu3-K6; Fri, 13 May 2022 14:38:11 +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 1npWQi-00GSs8-AT for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2022 14:38:09 +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 05EE3113E; Fri, 13 May 2022 07:38:07 -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 314773F93E; Fri, 13 May 2022 07:38:06 -0700 (PDT) Date: Fri, 13 May 2022 15:38:03 +0100 From: Mark Rutland To: Mark Brown Cc: Catalin Marinas , Will Deacon , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 09/12] arm64/sme: Automatically generate SMPRIMAP_EL2 definitions Message-ID: References: <20220510161208.631259-1-broonie@kernel.org> <20220510161208.631259-10-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220510161208.631259-10-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220513_073808_442538_D19A4575 X-CRM114-Status: GOOD ( 12.53 ) 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:05PM +0100, Mark Brown wrote: > No functional change should be seen from converting SMPRIMAP_EL2 to be > generated. > > Signed-off-by: Mark Brown > --- > arch/arm64/include/asm/sysreg.h | 1 - > arch/arm64/tools/sysreg | 19 +++++++++++++++++++ > 2 files changed, 19 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h > index ce08a42637bc..2a9468d449fa 100644 > --- a/arch/arm64/include/asm/sysreg.h > +++ b/arch/arm64/include/asm/sysreg.h > @@ -568,7 +568,6 @@ > #define SYS_ZCR_EL2 sys_reg(3, 4, 1, 2, 0) > #define SYS_TRFCR_EL2 sys_reg(3, 4, 1, 2, 1) > #define SYS_HCRX_EL2 sys_reg(3, 4, 1, 2, 2) > -#define SYS_SMPRIMAP_EL2 sys_reg(3, 4, 1, 2, 5) > #define SYS_DACR32_EL2 sys_reg(3, 4, 3, 0, 0) > #define SYS_HDFGRTR_EL2 sys_reg(3, 4, 3, 1, 4) > #define SYS_HDFGWTR_EL2 sys_reg(3, 4, 3, 1, 5) > diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg > index 1bf88ca3da5b..2cdcdac0465e 100644 > --- a/arch/arm64/tools/sysreg > +++ b/arch/arm64/tools/sysreg > @@ -206,6 +206,25 @@ Res0 14:12 > Field 11:0 AFFINITY > EndSysreg > > +Sysreg SMPRIMAP_EL2 3 4 1 2 5 > +Field 63:60 P15 > +Field 59:56 P14 > +Field 55:52 P13 > +Field 51:48 P12 > +Field 47:44 P11 > +Field 43:40 P10 > +Field 39:36 F9 > +Field 35:32 P8 > +Field 31:28 P7 > +Field 27:24 P6 > +Field 23:20 P5 > +Field 19:16 P4 > +Field 15:12 P3 > +Field 11:8 P2 > +Field 7:4 P1 > +Field 3:0 P0 > +EndSysreg These all look right to me per ARM DDI 0487H.a, section D13.2.129, pages D13-5939 to D13-5942. Reviewed-by: Mark Rutland Mark. > + > Sysreg SMCR_EL2 3 4 1 2 6 > Fields SMCR_ELx > EndSysreg > -- > 2.30.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel