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 1531DC43334 for ; Thu, 9 Jun 2022 17:10:35 +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: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:In-Reply-To:References: List-Owner; bh=JiU/GftRn3uioz4gVHLAR3a/qgVgJYfAybkME86CFG0=; b=zLDswjKI95ayNN w4KdkTgiTYrnXXThLqLHraV9+8BhLi9n6NdF/etV9K6LRRjL/yQtRL6eLyOjjJ2UyrZIDcNTExC1h VxxMJd8IIzITo2jUdehW9CQQRnz1GeDwPbiaE2X1b1UQDwgTeIDJuWsnnRhyMvf0c+/ovWmwcbSGM ba9Qp9Ddwu6PpL4XcDGT9R2mt7hxY2BT2g2U/vwcQ0Ua9mX5vmg+sJic11PzRteVwoYiepCm4SEva 8PmUY00HTaZRO5nVxytcmAvCroApztgqzHNNqOKCfPbB5yhIW71xnplV/j6NnoJU9vSucNjxYW/Tq 3MPy1PDUnnaYR8EKtgMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzLep-002zRe-J0; Thu, 09 Jun 2022 17:09:19 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzLel-002zPF-Ui for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 17:09:17 +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 ams.source.kernel.org (Postfix) with ESMTPS id 5E4A5B82E71; Thu, 9 Jun 2022 17:09:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC715C34114; Thu, 9 Jun 2022 17:09:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654794553; bh=ZCw0YLwrpAvWGm27chVqId75Og6nYZUjUSpP83YP8QQ=; h=From:To:Cc:Subject:Date:From; b=MTS5/rMuo5m4CB4CrEe2/7rsyxoX4xkxZl5UURWEwGgTtq5oq5x0PWvi3xxEG1Po3 YrD8+EzQHqHN8H7p7UbwhbfrccamwXMlbivK15s9nVueTG93XuJsy0UZta2mHBVWLk YLTMNNX7TdIA6VnabYCHh8qN/efkCkMbs7vtkGL61GM792QX0GOUNCDyNfE3rGLBeR Nw7CwRt8gqFRaNXTLj3TV+WFHXI2H2wdHeWpZIN/0hEb2hn0T7jYULd1N5f9tuiqvn HvswG40ol5WJxmCTkRldDvSdZUU2rIWudMFE4j8gg+2Q8FZ7sXH1bVRP+2Hornw+YY SoqwiSQz/lh8g== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Joey Gouly , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v3 00/26] arm64/sysreg: More system register generation Date: Thu, 9 Jun 2022 18:08:34 +0100 Message-Id: <20220609170900.1641343-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3410; h=from:subject; bh=ZCw0YLwrpAvWGm27chVqId75Og6nYZUjUSpP83YP8QQ=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBioikVOhkOD2QyUPc0fCZQkt4Pbug5bT4Y5/Ols/K/ DlYp5fWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYqIpFQAKCRAk1otyXVSH0AoKB/ 46vh7nOM1rXRaqCJctmzqcwfcUNGm9Ud4P5TOyWBn+o0GEPvAFf2TQPAXYTlGa/qi57C9YIap0rHlD 5DTuHHWi3JOaiSwi+H8MhbcGVU4p2DFf+6KrVtmpZz8fkUhG9tPTrzNfvfQINDu8RRjarRopUb3Ukt E4ZeqRbJImlWfUj+NM8BuVl8WNB3saN1hdRamJtrNezhFuowIRBJxGD7XPPUN06ZJd9rEonA8/liwD CL9wjoj9D+uPFfcNscr8iJhbvyCNR0XHCbay18tCQnZwQYIy2bTaShSt+S1q2Hj6I5ShOdkxiT2IrX pLa2jdaips8SDXn0hCt6XY6xIn6YLH 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-20220609_100916_330452_028F0C7D X-CRM114-Status: GOOD ( 12.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 This series continues on with the conversion of the system registers to automatic generation, together with a few cleanups and improvements that were identified as part of looking through all the register definitions and bringing them into line with the conventions we've been using. v3: - Fix value for ID_AA64ISAR2_EL1.WFxT IMP enumeration value. - Add conversions of LOR*_EL1, ID_AA64SMFR0_EL1 and ID_AA64ZFR0_EL1. - Rebase onto for-next/fixes due to the ID_AA64SMFR0_EL1 conversion. v2: - Rework handling of AIVIVT so we just update the define to reflect the naming but don't change the user visible decode, the type was removed from v8 rather than being added in v9. Mark Brown (26): arm64/cpuinfo: Restore define for AIVIVT cache type arm64/sysreg: Add LINKER_SCRIPT guards for sysreg.h arm64/sysreg: Add SYS_FIELD_GET() helper arm64/sysreg: Standardise naming for CTR_EL0 fields arm64/sysreg: Standardise naming for DCZID_EL0 field names arm64/mte: Standardise GMID field name definitions arm64/sysreg: Align pointer auth enumeration defines with architecture arm64/sysreg: Make BHB clear feature defines match the architecture arm64/sysreg: Standardise naming for WFxT defines arm64/sysreg: Standardise naming for ID_AA64SMFR0_EL1 enums arm64/sysreg: Standardise naming for ID_AA64ZFR0_EL1 fields arm64/sysreg: Remove defines for RPRES enumeration arm64/sysreg: Add _EL1 into ID_AA64ISAR1_EL1 definition names arm64/sysreg: Add _EL1 into ID_AA64ISAR2_EL1 definition names arm64/sysreg: Convert CTR_EL0 to automatic generation arm64/sysreg: Convert DCZID_EL0 to automatic generation arm64/sysreg: Convert GMID to automatic generation arm64/sysreg: Convert ID_AA64ISAR1_EL1 to automatic generation arm64/sysreg: Convert ID_AA64ISAR2_EL1 to automatic generation arm64/sysreg: Convert LORSA_EL1 to automatic generation arm64/sysreg: Convert LOREA_EL1 to automatic generation arm64/sysreg: Convert LORN_EL1 to automatic generation arm64/sysreg: Convert LORC_EL1 to automatic generation arm64/sysreg: Convert LORID_EL1 to automatic generation arm64/sysreg: Convert ID_AA64SMFR0_EL1 to automatic generation arm64/sysreg: Convert ID_AA64ZFR0_EL1 to automatic generation arch/arm64/include/asm/asm_pointer_auth.h | 4 +- arch/arm64/include/asm/cache.h | 29 +- arch/arm64/include/asm/cpufeature.h | 2 +- arch/arm64/include/asm/el2_setup.h | 2 +- arch/arm64/include/asm/gpr-num.h | 3 + arch/arm64/include/asm/sysreg.h | 126 +-------- arch/arm64/kernel/alternative.c | 2 +- arch/arm64/kernel/cpu_errata.c | 2 +- arch/arm64/kernel/cpufeature.c | 220 +++++++-------- arch/arm64/kernel/cpuinfo.c | 16 +- arch/arm64/kernel/idreg-override.c | 12 +- arch/arm64/kernel/traps.c | 6 +- .../arm64/kvm/hyp/include/nvhe/fixed_config.h | 32 +-- arch/arm64/kvm/hyp/nvhe/sys_regs.c | 12 +- arch/arm64/kvm/sys_regs.c | 14 +- arch/arm64/lib/mte.S | 2 +- arch/arm64/tools/sysreg | 263 ++++++++++++++++++ 17 files changed, 443 insertions(+), 304 deletions(-) base-commit: f539316fe8106b4f4b4e95c1e70a31b545523b03 -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel