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 0AD5EC6FA82 for ; Fri, 2 Sep 2022 18:04:00 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AEmUX8LznVenhF4AFxnBRqYRJ8OM1tn0U9rPZFabD+Y=; b=AT1Nu/SGV8Dj7q 7WYtYTNsMcD+0wyq4lPLoVVl7smwS/gkPRG5c2yFFrIhK1L8YFUNyaRkxE/EOpd+Dwtq83epxd8ai EfpfkqKTu2Puqq9EiLkYK/HrCKtVBQOk8npupuUXIZxgEcXBbLqJ1elhJyAVwlgIIKlcouiv3rdNE RWFzY0cPTTnZ529OqbSUAaO6o+Q9yvxrjAXnqTDf0U1zUooyx8DN+Smdm+hOcB/m+6JkJ+MoHHJVl fgaY1XTZJDPK2d1+8lhIAWzpLir5nerc+25GJn0teS0Wy838fA/w/UvquNp6vQHBv4Afq1a+Rkx50 QPwr45XPN058JMsINpyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUB0T-008jnU-Ei; Fri, 02 Sep 2022 18:03:05 +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 1oUB0Q-008jj1-5K for linux-arm-kernel@lists.infradead.org; Fri, 02 Sep 2022 18:03:04 +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 259F4D6E; Fri, 2 Sep 2022 11:03:06 -0700 (PDT) Received: from [10.57.14.213] (unknown [10.57.14.213]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 657323F71A; Fri, 2 Sep 2022 11:02:58 -0700 (PDT) Message-ID: Date: Fri, 2 Sep 2022 19:02:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v5 24/28] arm64/sysreg: Convert ID_AA64PFR0_EL1 to automatic generation Content-Language: en-US To: Mark Brown Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon References: <20220830102143.1123672-1-broonie@kernel.org> <20220830102143.1123672-25-broonie@kernel.org> From: Kristina Martsenko In-Reply-To: <20220830102143.1123672-25-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220902_110302_556337_7E964100 X-CRM114-Status: GOOD ( 12.42 ) 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 30/08/2022 11:21, Mark Brown wrote: > Automatically generate the constants for ID_AA64PFR0_EL1 as per DDI0487H.a, > no functional changes. The generic defines for the ELx fields are left in > place as they remain useful. > > Signed-off-by: Mark Brown > --- > diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg > index 2170c9074137..fc32b0649160 100644 > --- a/arch/arm64/tools/sysreg > +++ b/arch/arm64/tools/sysreg > @@ -46,6 +46,83 @@ > # feature that introduces them (eg, FEAT_LS64_ACCDATA introduces enumeration > # item ACCDATA) though it may be more taseful to do something else. > > +Sysreg ID_AA64PFR0_EL1 3 0 0 4 0 > +Enum 63:60 CSV3 > + 0b0000 NI > + 0b0001 IMP > +EndEnum > +Enum 59:56 CSV2 > + 0b0000 NI > + 0b0001 IMP > + 0b0010 CSV2_2 > +EndEnum The new ARM ARM (DDI 0487I.a) has added a CSV2_3 option here. > +Enum 15:12 EL3 > + 0b0000 NI > + 0b0001 IMP > + 0b0010 AARCH32 > +EndEnum > +Enum 11:8 EL2 > + 0b0000 NI > + 0b0001 IMP > + 0b0010 AARCH32 > +EndEnum > +Enum 7:4 EL1 > + 0b0000 NI > + 0b0001 IMP > + 0b0010 AARCH32 > +EndEnum > +Enum 3:0 EL0 > + 0b0000 NI > + 0b0001 IMP > + 0b0010 AARCH32 > +EndEnum EL0 and EL1 don't have NI options in the ARM ARM. Thanks, Kristina _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel