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 83DB9C25B08 for ; Wed, 17 Aug 2022 15:46:06 +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=Wh6TLZ2P4xblRcd7nnnDfc9TF4c7Hy1Vr54pUCl6Pfs=; b=qs7RdfaKZ3EBH1 wbLoGcghRLy0RjRaoR9pGtVMPYuB99h9I/ydU+CMY5uU4VH6jymYWytCMY8V0XVhe79hX6hhxtoMe 6HQ5OOR3nLz7jBnL2U99R2H7gSTY3c3wKL0oKE7Wv2VxhA0Rimz/2kD3R4/dzusPLin03BaRlRtKE zhopNOWJ1CXFfsPK30Q0tgmMV6ruM9XjTvkOF2XVrNwtHMt6456Bs0OqFboQAYxamHUJIb5hY9c9I aEjtkN1/20oB/K88fQZAgk9JkzHwr4/vmC4JvdOLLhro/g2gck/Xz/Cd0Vm/B1HBGjeyXOyUWHTbS IwZu9xzLRM0+/H4tJDlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOLE7-003QoX-40; Wed, 17 Aug 2022 15:45:03 +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 1oOLE3-003Qim-Mi for linux-arm-kernel@lists.infradead.org; Wed, 17 Aug 2022 15:45:01 +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 95842113E; Wed, 17 Aug 2022 08:44:57 -0700 (PDT) Received: from [10.57.15.40] (unknown [10.57.15.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 783A33F70D; Wed, 17 Aug 2022 08:44:55 -0700 (PDT) Message-ID: Date: Wed, 17 Aug 2022 16:44:09 +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 v2 06/28] arm64/sysreg: Add _EL1 into ID_AA64PFR0_EL1 definition names Content-Language: en-US To: Mark Brown Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon References: <20220815162648.781802-1-broonie@kernel.org> <20220815162648.781802-7-broonie@kernel.org> From: Kristina Martsenko In-Reply-To: <20220815162648.781802-7-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220817_084459_814151_02CFC5D0 X-CRM114-Status: GOOD ( 12.02 ) 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 15/08/2022 17:26, Mark Brown wrote: > Normally we include the full register name in the defines for fields within > registers but this has not been followed for ID registers. In preparation > for automatic generation of defines add the _EL1s into the defines for > ID_AA64PFR0_EL1 to follow the convention. No functional changes. > > Signed-off-by: Mark Brown > --- > diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h > index 868307aff3b0..edddf353bc71 100644 > --- a/arch/arm64/include/asm/cpufeature.h > +++ b/arch/arm64/include/asm/cpufeature.h > @@ -603,21 +603,21 @@ static inline bool id_aa64mmfr0_mixed_endian_el0(u64 mmfr0) > > static inline bool id_aa64pfr0_32bit_el1(u64 pfr0) > { > - u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_SHIFT); > + u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_EL0_SHIFT); s/EL1_EL0/EL1_EL1/ ? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel