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 144F0C433EF for ; Mon, 4 Jul 2022 17:06:10 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kLF7FFLgPMfI2iTVAICy/zmB3E++LxMPBgqdoPlDpXQ=; b=XszzudrKySus6z YO0cZjCHQEpYXOthUjBxbUVrEK/ckBwSQHV7/xBPgFirXQCR2l4dUsJ8asV1A0UjThjC/BTa0esEM jfj8P+D3ZmIJJrUnW0MFfsorEdSqTao2bmY6vmuJV/Etc4acwyjf5ICERxxT1GAOR393wFxAZubeE kIcpvfE8YUlm3e4kKO43AZWSrBeSeirFI3AuG1/d+Mi7+n59xkQbk3b968Cr+q+maX2NMtACyoYYq 6NoHihOJvBF3IsG9CHROAEsSeckNZv/o79kcQb3ZdBvgPbaxS3CwZ0oufQX6O1lWhrvfFL5b99GNk 1BLzQCBBHUhflpZVfHmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8PVS-00A9y2-Cb; Mon, 04 Jul 2022 17:05:06 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8PU3-00A9Jf-Cs for linux-arm-kernel@lists.infradead.org; Mon, 04 Jul 2022 17:03:40 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 036EF614FC; Mon, 4 Jul 2022 17:03:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3838C341CB; Mon, 4 Jul 2022 17:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656954218; bh=oImKs/Z3C2gs7J9Hq+U7SDWiSQY+itKQK1uvHqkP4LU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hl/ykCxeGFN+cxsi1pp6sz5pvTHbzZtZSY+Kl82ptfYeFq/Wxwp1Ia25QmJM+0wh5 EAXA4D9xqoVFvOfc0tOrotQ9U0aZW6dxQHUeGspgYCpZQA4Aqfd4LUqg6HicLzKppk ZkEpF1/lnxUffSek6otyeHilLyid6wAZgIZwyXW9pRtwCkDEROBmvXeo/W/HM4V16u RuGZm24yPBA3hzE91YHG0GvSHgHznHO8PfTCmxfqItkl8VnKXubfelCs24eYRe3iNq anXwo/FuYxSbzIsTiBF7WUhvVTvBtOMyU0LPe88PDoMpAFe3aYSwKE5VxoWgFAro9/ 4jG9ckOsPiMGA== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Joey Gouly , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v7 07/28] arm64/sysreg: Standardise naming for DCZID_EL0 field names Date: Mon, 4 Jul 2022 18:02:41 +0100 Message-Id: <20220704170302.2609529-8-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220704170302.2609529-1-broonie@kernel.org> References: <20220704170302.2609529-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1676; h=from:subject; bh=oImKs/Z3C2gs7J9Hq+U7SDWiSQY+itKQK1uvHqkP4LU=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiwx0z/qffsiRRlhNRHpYfI7YAVkNjrylKWG1RrvoD aOR5zWeJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYsMdMwAKCRAk1otyXVSH0IS3B/ sEO/OCgkc/qJ2ykuJh93mZRg/ryjlUR8K9+m7rGZ22tO1OnRoQviuFmbtO5sDoQWW4617KaWu9wghC 5Ceqq094doDhzZRxTBD0fIt5O5UcGJwL3St3XzC73PtD3AjhzzzD/htyRcyzI9zzHTcR8TKEmhn4PY UyyuZ6gjToXGryu1YxQ9ZLVSdjQlLDdYlIv2q+pmXWhhWK9IWrfBFgk5xBtAaEFtPZ6j0NSM+VM9S2 sIs2bGaA0qWX8V7hfFfLdGgVAiqIXUQGLs+g88g9KrEyH2gPFSjfmcbBRMbWLcF9emKzuYKmGlJdGH bxOGH8g4xkvvfRVIZOhOCguKREt9Db X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220704_100339_512336_D95C8598 X-CRM114-Status: GOOD ( 13.99 ) 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 The constants defining field names for DCZID_EL0 do not include the _EL0 that is included as part of our standard naming scheme. In preparation for automatic generation of the defines add the _EL0 in. No functional change. Signed-off-by: Mark Brown --- arch/arm64/include/asm/sysreg.h | 4 ++-- arch/arm64/kernel/cpufeature.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index c4293754954e..e62baf910249 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -1099,8 +1099,8 @@ #define CTR_EL0_IDC_SHIFT 28 #define CTR_EL0_DIC_SHIFT 29 -#define DCZID_DZP_SHIFT 4 -#define DCZID_BS_SHIFT 0 +#define DCZID_EL0_DZP_SHIFT 4 +#define DCZID_EL0_BS_SHIFT 0 #define CPACR_EL1_FPEN_EL1EN (BIT(20)) /* enable EL1 access */ #define CPACR_EL1_FPEN_EL0EN (BIT(21)) /* enable EL0 access, if EL1EN set */ diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index b7cd50eb6d8a..b9c5b11c17c3 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -453,8 +453,8 @@ static const struct arm64_ftr_bits ftr_mvfr2[] = { }; static const struct arm64_ftr_bits ftr_dczid[] = { - ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_EXACT, DCZID_DZP_SHIFT, 1, 1), - ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, DCZID_BS_SHIFT, 4, 0), + ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_EXACT, DCZID_EL0_DZP_SHIFT, 1, 1), + ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, DCZID_EL0_BS_SHIFT, 4, 0), ARM64_FTR_END, }; -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel