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 32D62C433EF for ; Wed, 22 Jun 2022 17:54:04 +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=Ub9ZkCb84kNHWB0aerCTakne2QwlomfhU8RfdjwtuOc=; b=AGH2Si6CWaNrJH 4ocpOHO8xvKjI1f8R6Xhxre0r0YF9keFxNclPYeljzbwYUlIjDF4a5DVGkbZcH/S9tODDt9UCv8aV CZjIEtjLhjjcrrXrmUiP3/Sh7zF2GnbRYPDeHeIWZcUHVTGwvvJ8d/kfGT/VqDUfjlbACrJDeu5X3 4EryMasQ2pjIdc6ozq3rTZHRn0D4edBBmNgEfZaOr3yDzv9rUHUSQtigMX1qKWSFBz91fQPoKweg5 qO6fryrIhQiwakZ99bzQ+LH6si3bv4g/m1dcYX0DW5vxYZKixo7/GodQtIzRIMVPzL3S++xh4Ri8X FOaNw/2hn6deNFGI5eqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o44X5-00BlSS-B8; Wed, 22 Jun 2022 17:52:51 +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 1o44X2-00BlRE-67 for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2022 17:52:49 +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 9D28061CC9; Wed, 22 Jun 2022 17:52:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21461C3411D; Wed, 22 Jun 2022 17:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655920366; bh=QTnFX4w+hbpVIlttxkzEhYK2oXFd3HZSo83z15IC94g=; h=From:To:Cc:Subject:Date:From; b=kL5+dZi+DT7+viW1kGA1ZFPHLox4qJu8ja8bacio1jSR5l4AUeFem2I4+KhYlJfzP dImcX8fPK9/kEYzjSuZdnp0zoDXy4RHnfoDZIHzcFfYkckRq+8oM8leHxE05SKhDdH 4cJW1de+by8b1dwhBrouNLa5mPD0Dgig6COmZOsg/S+XdLfTbG280c+0vruz5PX+KJ 4joxljbv99ExAfHEM4LkDQmco3hGA1rTtIONqeelOpVrfKN896ix9vu52HZg4itlWb 6YC0EaOF1CTMcKRJcWNDHN+qrGiEng/sUVcDIumdxJ7fWyH3HbaebCjxjDL/eUL086 Oomrv82MXaCYw== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Joey Gouly , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v5 00/27] arm64/sysreg: More system register generation Date: Wed, 22 Jun 2022 18:43:49 +0100 Message-Id: <20220622174416.1406282-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=3721; h=from:subject; bh=QTnFX4w+hbpVIlttxkzEhYK2oXFd3HZSo83z15IC94g=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBis1TZSl5IsYmtYhGPHJwIGRQM1sVffoU5lBZNQ6k1 9v8zMdWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYrNU2QAKCRAk1otyXVSH0LZoB/ 4qezR5ybB2dSw8pJtXESZHK+1eZ9BhXTMV5LW1PBx3peuwVr//6LBOVvH+I5AsMNCPdn6W+It5VDMS IIa+r8bE5NLyMy0+a+c1JGRmGz32eB9XqZxTnmeZeEZiwIs9YcodPaO8bZBweHmuIXDT/WW1Jo2RcY WJWJvbplL4v608glsWtC1IViJl6fahE1weR9tqWlan9vcPhyq8p+jXWYLpprXdsJO+i9iCRMMnWufy 3JZxkqzWAMUyO3LgivSwoF7he4CRC4riaY7xiZtTPO9X3xWc9Pxea9aEU3unKYHTRHliJDt+s/USAP 255hxfbZOtbMVb3sLL61EtPWN4cAb5 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-20220622_105248_347477_C1F414A6 X-CRM114-Status: GOOD ( 12.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 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. v5: - Remove definition of AIVIVT cache type entirely, no longer referencing the constant. - Allow leading blanks on comments in the input file. 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 (27): arm64/cpuinfo: Remove refrences to reserved cache type arm64/sysreg: Allow leading blanks on comments in sysreg file 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 | 31 +- 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/gen-sysreg.awk | 2 +- arch/arm64/tools/sysreg | 264 ++++++++++++++++++ 18 files changed, 456 insertions(+), 309 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