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 5DBFAC433EF for ; Wed, 29 Jun 2022 10:44:36 +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=HUhUGbDp6LmL49o+L60o/DC4sRbHv+RaSmDkmXro2ew=; b=i8ZGiTitysOfv1 UfC5nGHkbZE25Y0L4nBjL4yv63iTYU7AIJXXwr4PEaoGUDkXXLePmONvQEUQIeEdImHtkCokTQuWx ThFOmpDhubjBEYYvLzfM0qhOxj586tnPEVkgBwCx3OpevcN57mHyphN5E0XxNIy/0QteIo5RNjw7S VeVD2myEeA/IDZTlr9SG33lFEb5wPRrez5amweJUemIiFm03VpheZ0jOtvuJBFQ9Uvemu0uUobCws TI1mG4N3dHsU+5uyKOwEsQjVWB/E24z/DmtQQhc77upupho1wdkFICKxrEkoAqsBhm0X4M7Z5ICwx z4koszuaSSERLQLCIWZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6VAF-00B6u4-0m; Wed, 29 Jun 2022 10:43:19 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6UxD-00B2Bn-KP for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2022 10:29:53 +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 1C6F260C24; Wed, 29 Jun 2022 10:29:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2663FC341CE; Wed, 29 Jun 2022 10:29:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656498590; bh=0r43Rd/5FEtAH6xPKSSvi30aspVPOQVMJBS/5uj8Mak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G1sF50vkRgHwDeSUfLiMuHV3ngbFut3THGVMaVC7cj6WLK93RElEdxQplJ/PDk7pj wqVgE/HFV3FDst5ow0Os9YoaZB2Mi2lCqBzuu78+c+fQRpQXDFJI5WBWrk6/qUPIvQ ZbCTjiiiifdalKzP6tdY9a3PugjMmS+U5LLoV1sSxYLTYen3CrjFvAtyqQ8QX81P5I kJJy+lHUaOXHVqoWHNNBOx4CXMe7s+VbPf2dju2ed0G7ILSdRcKQIICKHnBlmbaJrt 0E/Rn6TGFZ3BYLoaN0Den65Gc4PLV3qJJkG9Yp+mcf1n6arubCzYJe/IXtAoaCNyL/ BCJxogYt86LMA== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Joey Gouly , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v6 17/27] arm64/sysreg: Convert DCZID_EL0 to automatic generation Date: Wed, 29 Jun 2022 11:28:24 +0100 Message-Id: <20220629102834.36569-18-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220629102834.36569-1-broonie@kernel.org> References: <20220629102834.36569-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1427; h=from:subject; bh=0r43Rd/5FEtAH6xPKSSvi30aspVPOQVMJBS/5uj8Mak=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBivClIIbuOc8k9kugblkzZGpSpCMP+Z9gjxriJPTmF xVDD9KqJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYrwpSAAKCRAk1otyXVSH0PWvCA CFx+PSwz0Cv4B5tsZ/6dRPHbeDQOPoZ1hQFr0K/w8kOc16yen9n9RUm9lu3UiVYjf9+SDZrVEQwr64 uFJYCGWqcWb3hDqZyHYFGqjUGYu9nfG3qs+3IfzyR1fnX2wzYSoblitrGINCYp0KTgrh1OpmSPfatP r8bCUZxtr8jFlNaV/SDLjnxT/82HE7Fy5ONJ8GmXhV4uLlrRtWxBCuJJf5Rw69cEhVhJi7UaTibJLk JhhQOo/9ONe2gwaozuVLI/YxjDe0nhDPTmKTKLDIMjuYGf+rKUU5cP5swJuaE2HeGp9ZUAScdDWKWd eo6V1dInA5RDB4mn9QpUw1u95s7LWw 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-20220629_032951_755250_FFE44E03 X-CRM114-Status: GOOD ( 11.91 ) 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 Convert DCZID_EL0 to automatic register generation as per DDI0487H.a, no functional change. Signed-off-by: Mark Brown --- arch/arm64/include/asm/sysreg.h | 5 ----- arch/arm64/tools/sysreg | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index a57b4a79a8e9..e71f85b57cdb 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -461,8 +461,6 @@ #define SMIDR_EL1_SMPS_SHIFT 15 #define SMIDR_EL1_AFFINITY_SHIFT 0 -#define SYS_DCZID_EL0 sys_reg(3, 3, 0, 0, 7) - #define SYS_RNDR_EL0 sys_reg(3, 3, 2, 4, 0) #define SYS_RNDRRS_EL0 sys_reg(3, 3, 2, 4, 1) @@ -1081,9 +1079,6 @@ #define MVFR2_FPMISC_SHIFT 4 #define MVFR2_SIMDMISC_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/tools/sysreg b/arch/arm64/tools/sysreg index a9f4c157c4be..c286b62958ea 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -294,6 +294,12 @@ Res0 13:4 Field 3:0 IminLine EndSysreg +Sysreg DCZID_EL0 3 3 0 0 7 +Res0 63:5 +Field 4 DZP +Field 3:0 BS +EndSysreg + Sysreg SVCR 3 3 4 2 2 Res0 63:2 Field 1 ZA -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel