From mboxrd@z Thu Jan 1 00:00:00 1970 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 E8A49C00140 for ; Thu, 18 Aug 2022 12:29:58 +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=Z2XdxjGlpm8Amp1IgUl5IgEkhiIX9IIyipqk1ZqVfH0=; b=YPOwp7sEMPSyi9 kJRBHeCJ54ho1qWUwRuPgwDCRJ/4u63enTi6gx3conK6Qvf1NhOMcJ2a5YFWRKGJTUCKrWrYm5tjI 0n//xpjWhzJlDDSyJzbwW0/meUaF+vGOjgusXRABz14T09KhS/sJQLYkw/rCV+dgbbKx8v2DtqVmM PwV9LWd/nS/Te4zXcT3d8joWM+oq6WEf/FMEs7Mn1QAFT+suVTR0B1JdYkJapgWe4A++UVFJcbw2j KAUbfW8/ccTNgltPuIf5bnG0g0fOrNasyNmbwOf9+luJdwYTwHMLwHcc6PJDGLzDej4+U/ad+CbNi uATEHFjNs91xFNF4zb8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOedn-004ZsB-QQ; Thu, 18 Aug 2022 12:28:52 +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 1oOedG-004ZQ6-IF for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 12:28:21 +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 EAEDCB82169; Thu, 18 Aug 2022 12:28:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47392C433D6; Thu, 18 Aug 2022 12:28:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660825695; bh=V3u2CZ09gfqNaqs94tHTCfExrcNIfgh1JqhJGPaEroU=; h=From:To:Cc:Subject:Date:From; b=Co5fPTD34tJ21v9JLjdu36LqBwCunshLuSXasS0jxLFbXGK77dIOl5k2Gibf/yUkR 1eOcb8pA1mcStbEoHlPpUe31ePNj81U1l81hgExyGqitL+1vmazCeYiRMoFDFQ9tp4 +jnpOzlpyjZo+xMjhG0E0TP23bD0mSchdqHOy47bOGR6Sf0FEYqL2yywLVQldVYr40 V+gLXwYTl4OS9T7lCHOBmC1KZDwPmfLfC0UiizxxQiA41J0vOrxwCOQWqeh7gT3WoC fBIDQmgtxn0iYxLTv+c0ZLgutb6rkmzn9X1fqEFvMctA+AFi8VYBtNu+4xv2Bni2RQ TU4qBXL08NvZA== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Kristina Martsenko , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v4 00/28] arm64/sysreg: More system register generation Date: Thu, 18 Aug 2022 13:23:57 +0100 Message-Id: <20220818122425.37889-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=4114; i=broonie@kernel.org; h=from:subject; bh=V3u2CZ09gfqNaqs94tHTCfExrcNIfgh1JqhJGPaEroU=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBi/i9ddjjuCBrEKlf9kdKxBs/fJYmnhroHOa64f0nx 6GBS7CiJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYv4vXQAKCRAk1otyXVSH0OrGB/ 9cjOGERl15pZvKkY+jVYSVoMzbxx4Tm6HPiNjxcPv/WQGEYl02+05ixwiPLyz8tFEAts1L+398FCH0 zVAZ4CMxtI1B8xQjQP2q789eWy/47rrea3P3LxgO13nVP9WCoRv5/pnItl9nR77Gzl4wiM2xt9OXiE e2yzCKKIuSdDj3uAkBooz2yn0WSRtuSBRpCLXbNktNo8LJmBM8Ld/uNjTDOqT0eK9mMjPEFdLAOup4 ZQtinMFGq5Ay4BirdX5bg4QW/hlVHK0JmBjjJ1edzVmA/LU4LXb8mz5rsUSief4vlM/X50yUrUtumB Of/y62kmmtP26WXpQM2QQvGKoZ7sG8 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-20220818_052818_984456_C07CCA16 X-CRM114-Status: GOOD ( 12.45 ) 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 some missed ID_AA64MMFR0_EL1 _EL1 additions. - Fix an EL1_EL0->EL1_EL1 misupdate. v2: - Rebase onto v6.0-rc1. - Include Kristina Martsenko's conversion of ID_AA64MMFR1_EL1. - Add conversions of ID_AA64MMFR0_EL1, ID_AA64MMFR2_EL1, ID_AA64PFR0_EL1, TPIDR_EL1 and SCXTNUM_EL1. - Add definition of ALLINT. - Add a fix switching ID_AA64SMFR0_EL1.SMEVer to be an enumeration. Kristina Martsenko (3): arm64: cache: Remove unused CTR_CACHE_MINLINE_MASK arm64/sysreg: Standardise naming for ID_AA64MMFR1_EL1 fields arm64/sysreg: Convert ID_AA64MMFR1_EL1 to automatic generation Mark Brown (25): arm64/sysreg: Remove stray SMIDR_EL1 defines arm64/sysreg: Describe ID_AA64SMFR0_EL1.SMEVer as an enumeration arm64/sysreg: Add _EL1 into ID_AA64MMFR0_EL1 definition names arm64/sysreg: Add _EL1 into ID_AA64MMFR2_EL1 definition names arm64/sysreg: Add _EL1 into ID_AA64PFR0_EL1 definition names arm64/sysreg: Add _EL1 into ID_AA64PFR1_EL1 constant names arm64/sysreg: Standardise naming of ID_AA64MMFR0_EL1.BigEnd arm64/sysreg: Standardise naming of ID_AA64MMFR0_EL1.ASIDBits arm64/sysreg: Standardise naming for ID_AA64MMFR2_EL1.VARange arm64/sysreg: Standardise naming for ID_AA64MMFR2_EL1.CnP arm64/sysreg: Standardise naming for ID_AA64PFR0_EL1 constants arm64/sysreg: Standardise naming for ID_AA64PFR0_EL1.AdvSIMD constants arm64/sysreg: Standardise naming for SSBS feature enumeration arm64/sysreg: Standardise naming for MTE feature enumeration arm64/sysreg: Standardise naming of ID_AA64PFR1_EL1 fractional version fields arm64/sysreg: Standardise naming of ID_AA64PFR1_EL1 BTI enumeration arm64/sysreg: Standardise naming of ID_AA64PFR1_EL1 SME enumeration arm64/sysreg: Convert HCRX_EL2 to automatic generation arm64/sysreg: Convert ID_AA64MMFR0_EL1 to automatic generation arm64/sysreg: Convert ID_AA64MMFR2_EL1 to automatic generation arm64/sysreg: Convert ID_AA64PFR0_EL1 to automatic generation arm64/sysreg: Convert ID_AA64PFR1_EL1 to automatic generation arm64/sysreg: Convert TIPDR_EL1 to automatic generation arm64/sysreg: Convert SCXTNUM_EL1 to automatic generation arm64/sysreg: Add defintion for ALLINT arch/arm64/include/asm/assembler.h | 8 +- arch/arm64/include/asm/cache.h | 4 - arch/arm64/include/asm/cpufeature.h | 64 +-- arch/arm64/include/asm/el2_setup.h | 10 +- arch/arm64/include/asm/kvm_pgtable.h | 6 +- arch/arm64/include/asm/sysreg.h | 182 ++------- arch/arm64/kernel/cpufeature.c | 224 +++++------ arch/arm64/kernel/head.S | 10 +- arch/arm64/kernel/hyp-stub.S | 8 +- arch/arm64/kernel/idreg-override.c | 10 +- arch/arm64/kernel/proton-pack.c | 4 +- .../arm64/kvm/hyp/include/nvhe/fixed_config.h | 60 +-- arch/arm64/kvm/hyp/nvhe/pkvm.c | 26 +- arch/arm64/kvm/hyp/nvhe/sys_regs.c | 10 +- arch/arm64/kvm/hyp/pgtable.c | 2 +- arch/arm64/kvm/reset.c | 12 +- arch/arm64/kvm/sys_regs.c | 32 +- arch/arm64/mm/context.c | 6 +- arch/arm64/mm/init.c | 2 +- arch/arm64/mm/mmu.c | 2 +- arch/arm64/mm/proc.S | 4 +- arch/arm64/tools/sysreg | 367 +++++++++++++++++- drivers/firmware/efi/libstub/arm64-stub.c | 4 +- .../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 6 +- drivers/irqchip/irq-gic-v4.c | 2 +- 25 files changed, 648 insertions(+), 417 deletions(-) base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel