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 46595C43334 for ; Wed, 8 Jun 2022 13:34:20 +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=KndySiTi1pvvQwPZHEFiMXaVHRS25qEiBYD2v6LwoPE=; b=JXv/a7A8eZ8axt 0f7EnTbIUJDa8FLYMoXiO9kWCyJGxAbcaL8/uNYzkpDsUEXSLYCbiYetIULhWBlZ39rSeaYIr47P6 gs0QlpalY9Nl6BiIfm6t8KqR0z+3LJGvcidD2kGI1GRM3dCrdEVzNUVUtk834g9LM4p9p7fRq+leh rf6cJw4GuJ7ofDQ9s+PTusZYbZS+QIPjwJhBhBAqMST05fGf8hgZp22R8QQaEnnk+qXAZLImtpKn1 RPGB2lry4g1yQ1HZs84f07zL7QU6LIJkJ3tw/JKEpfLk9xoeqs6gPNW6mdG6/S9Xm/wZxcz/yNq+y UaaVNXwYR/+4tF3nQ6oA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyvo0-00DCX7-8f; Wed, 08 Jun 2022 13:33:04 +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 1nyvnw-00DCWL-Vk for linux-arm-kernel@lists.infradead.org; Wed, 08 Jun 2022 13:33:02 +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 57CB161AA9; Wed, 8 Jun 2022 13:33:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76D30C34116; Wed, 8 Jun 2022 13:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654695179; bh=AYQ2YZLUqji/yIgq9jg1/wK5pgIJDxhiu/yK1ncia68=; h=From:To:Cc:Subject:Date:From; b=PXuLKXysMzPsCl5BsLwvfQM7cfx88Ivf5qLdsvNM5cByiPhxDc7RTLQv4SY2TtfiP NmvMhU5jj8Bq2f/fikGLr5cxQzil56kXn97xsfES4EUcfj6h191c2jiwUuoVXT8owP RBJ1hVC8KEOAjkCoFY+vs0ceTYNVU9IiZqKFtgTqCtf+TavL4Uy98rSVJn/Vo4juxs TD8SI/5I6hoLEUUorzbcqbYeLEes/d7DEImjcG5T50t1Dr3qejr2bMHXCErqiGuDVr zOiFTMMu7iWczxJatpDBH0ihafhXco4zZ68SUGZeuDj65XGVEpNmgC4IGZMR/1evMv pTD5Tz7QKMa3Q== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v2 00/17] arm64/sysreg: More system register generation Date: Wed, 8 Jun 2022 14:31:34 +0100 Message-Id: <20220608133151.614373-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=2573; h=from:subject; bh=AYQ2YZLUqji/yIgq9jg1/wK5pgIJDxhiu/yK1ncia68=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBioKS4MQEwj+slefLA/KLaHdPrv83hCx2qABOEevlL 30Jq2dqJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYqCkuAAKCRAk1otyXVSH0Mw/B/ 9jB267qsMFtYRMghWZ9/Gl9zvmyas9IKtA5EzNojW02whOhdKM2H8viJrS5T2YHRKTCqckF9MDWwmp a4s+T8Rn2crtSxDUqbciQfI75bRqftjL8/HeVayyb7YSViJI0aY2fN9E2cwNOp4WPbx9Ac+Db85PZs U1f4QWVp2coZS01p2wCn8yNremYBi31Di+cRiEhGuzNMG1C1p/vrTOrLhGXZ8yfPL17zZxgwoEVqAN J5OhY7EEwRp3wtDZjrzlD0wW0wiFhjCVDv6x0jyKcVx0ESf7VP097IxFnhmF7v96lorMI1M6C2O+wc VB8Lk2cREufj+bEW47Jem/NlyMAGjl 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-20220608_063301_134825_F2CE0C12 X-CRM114-Status: GOOD ( 12.71 ) 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. 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 (17): 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: 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: Generate defines for CTR_EL0 arm64/sysreg: Generate definitions for DCZID_EL0 arm64/sysreg: Generate definitions for GMID arm64/sysreg: Convert ID_AA64ISAR1_EL1 to automatic generation arm64/sysreg: Convert ID_AA64ISAR2_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/gpr-num.h | 3 + arch/arm64/include/asm/sysreg.h | 79 +-------- arch/arm64/kernel/alternative.c | 2 +- arch/arm64/kernel/cpu_errata.c | 2 +- arch/arm64/kernel/cpufeature.c | 150 +++++++++--------- 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 | 147 +++++++++++++++++ 16 files changed, 291 insertions(+), 221 deletions(-) base-commit: f2906aa863381afb0015a9eb7fefad885d4e5a56 -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel