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 C6D97C433EF for ; Mon, 20 Jun 2022 12:46:48 +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=XX94aoL2dbyKrc/9U8HUZYmhgTfS4YOyq9YAwLDSrAE=; b=D81+VbcilpLb7P hCluFLeOE2ds4LTQWUT4KYlH7vFHShLpaDsAHGSlqnxi6JTiRNADA7zj0E5o7RBIm1zpYaWxcxgrw EPXyOxlf8co2U6b32z8k4KxX+s/Ut/wDnCpEPoj1KWzHXvVE9edU//7b3CPH7BX0TT/64gkKBErnB n1WTr4zNMLFGObRcDa/w5ooYUf6DVGxlRgamPctTTyjXhMm3hQ5RjZ54WheVp79CMmmopWbW0DJ2Q n594EQlWgl8Ziz7r8aSRH8LYgNEH8kR9iqLDWsyjkeHnxhhd3i/5kK6zmzrhmfRL0UKQAzUZ6zx6V Pm1MwzwYjIOzyxwLeU0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3GmZ-000WFJ-M0; Mon, 20 Jun 2022 12:45:32 +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 1o3GlN-000VYD-1Q for linux-arm-kernel@lists.infradead.org; Mon, 20 Jun 2022 12:44:18 +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 9CBFFB8119A; Mon, 20 Jun 2022 12:44:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BBE37C3411B; Mon, 20 Jun 2022 12:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655729054; bh=Ma4Uxxv3TOQQ4MuDV37x5KmALFrdBE1H+Ydra32J0yY=; h=From:To:Cc:Subject:Date:From; b=YXHp9+Co2ta5un8I40Edt8kgg3qxRyWGYtt3OgHSFqDl28t9lUR3pu40zpizIiHXv H3P2lmnNJYRM9z9gpvgIPLNR2Ty5RHibv1ds083anfHf90y3RzEKKbn/juSKC5w20G PwpxhBx6wxZsHO7KDW6vLIM0PLQPdkS3wNHXTvSswkMq0KUNe5MaeJLf/QdUserrcH GlxBXtyPsjOLRLb/b2LLtjxe8kgAlkDfpv3p7qZ3mnykyEKYBzmTLS/16CJtwJMebU mJAyM/EJq0CzQoUOkay0gTjYUidLwOcc8reUYhcamPpwtpDlcqe8hJmMkUvZLelN7d UaWkDXySCa4hA== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Joey Gouly , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v4 00/26] arm64/sysreg: More system register generation Date: Mon, 20 Jun 2022 13:43:41 +0100 Message-Id: <20220620124407.482398-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=3442; h=from:subject; bh=Ma4Uxxv3TOQQ4MuDV37x5KmALFrdBE1H+Ydra32J0yY=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBisGuCMGbHF9u7fpzWOp3Mv2UfoU8zeBYzkTOEnOdU bZ6EJdqJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYrBrggAKCRAk1otyXVSH0HK6B/ 9j8EYw94V+fiNNzAO8ooiTuAQQlRZyZ9aulMelLyDG0aWbDjjG0+B9WO/mNA5nL+dSON6IWebD+cXH WTPDrKQAZmnjIDJKi4f6dZMJjtdw5R7aJE22FZquPPkmARpDmUdLxOTux3K1ORk5fD7jIRzRVbCX3W IZqPpW5tETmULqPxnULgM+OLBx/6oMImJdnOAcCc/8/6go6YH7eIuQVjhL/CfSiBrZbPPF11SqRGfG V9FcRrtTq63kKMrCp4/VdTgTyOf+bNsUeW9DNYvOvKcg/ReCOtfzAnENXL6f5ARj35571N81B9fseV SiMjFiEia5rH45NBGJMSDdHRd6kaU5 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-20220620_054417_451624_5832C42F X-CRM114-Status: GOOD ( 12.75 ) 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. v4: - Rebase onto v5.19-rc3. 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: a111daf0c53ae91e71fd2bfe7497862d14132e3e -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel