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 0D6C4C433EF for ; Mon, 6 Jun 2022 20:21:45 +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:References:In-Reply-To: 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: List-Owner; bh=0IBwsk9+wwLrEtYa72IJvaG88hoJShUWDEofwK8/BD4=; b=czQm54n2+TZib3 wNxhvrH4gCePgZZgS+jcZQLZrthN1fosYoljzlTZtsYrDOuaJVD15B9BAPPKXOm7aUs6DsRaEn5cv 7BJh06Fq1a9w4RHUf7RP0oY81N5BKsQbjN/VRUWtNy28d7vLsWAoEnKSKIdycV8XcbTgM19i9rFJx pZbjLyzskSrbGOkksDIYuoJ15BMnF7upIf5zjASRvAoQo3v6h4wWCuOS1G6bl6itEm+wai11FquXK XFC1qlW5Y6R4/pxWzSG4LPJlvqBiYT/rpVh+NwDZKzmy7oXDCbfrz7W65F1r3Dz631R1WcCkksxFO sbFE0MpZ+RZhpVkZJnDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyJDG-002aTc-Kw; Mon, 06 Jun 2022 20:20:34 +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 1nyJA3-002Yqk-DN for linux-arm-kernel@lists.infradead.org; Mon, 06 Jun 2022 20:17:16 +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 F010D61531; Mon, 6 Jun 2022 20:17:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CBF5C3411F; Mon, 6 Jun 2022 20:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654546634; bh=052+iiw7wtYxdsU5DjmjCR1ZonOqa36hAw19B/72/Jw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IibYn/8XPY1LUswFZYbYnwt9K0MCY67h2UO+9mCxuPEbIP1A+YRbXbLTdYkVnNIJM nz+cpp3Ga32ALZcPpo6KGKcScR+ZCyMgL68QxAj/Jq8HcWT2B8hvCvonvvQATvCwM/ ElZEjSTDblwTvKnkcteiKgk0gVNJk3FheQoBZZqwAm2tCapvJId5vQESVDuVu8hbcK Zp9BLMuCXeyK7jCSovG7Zx+yh03wXcFAkCkcQqm6a6tgibjEpoLKV4MVvC1Pg5vXKX MalGAPtfTK+vqvCEmJtKpDBfSmFbULBPheUpY45/B6hWxBLJbG+fRalb/4/9FwTam2 42mphMabV23Tg== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 14/17] arm64/sysreg: Generate definitions for DCZID_EL0 Date: Mon, 6 Jun 2022 21:12:51 +0100 Message-Id: <20220606201254.104659-15-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220606201254.104659-1-broonie@kernel.org> References: <20220606201254.104659-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1427; h=from:subject; bh=052+iiw7wtYxdsU5DjmjCR1ZonOqa36hAw19B/72/Jw=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBinl/CrCKg+sokroKl7t1BD4NVAjk2vsD8NNKBEHcK Hyw8PiqJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYp5fwgAKCRAk1otyXVSH0MYNB/ 9LOD8lxn+4vNzfbnXpjhqB+uStRwwp1QWaDxC4nY5tkNSu5sBAOYI5Eo3l1v/MjDmd9E6NB3h7aBSs bq3C+lLRoG+TOpXaRoFIbj9VJ1LcpObS+JJ5HN6gLhziCZd6FPD/o6vyHbv6Os5ZPpIjiMXYaeKira LOk1H7Y19p92bS27/4oT2/crpQ9j1aBLVQ+agQ+BTnJQsiCoLHwlEAuym/M7JAJL6bZyLjamRo5d5j 4+QJaOYkYllA5/r6lz3ZbC6Vy/4jHKqsX5oaaNJY3gDOJInAgRq8ik8alTbJk5l34DLNQJ3nHucDdZ F6waF3YRN1umfROAps7EcOKLkFCQLF 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-20220606_131715_569028_11D8890B X-CRM114-Status: GOOD ( 11.55 ) 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 Convert DCZID_EL0 to automatic register generation as per DDI0487H.a, no functional change. Signed-off-by: Mark Brown --- arch/arm64/include/asm/sysreg.h | 5 ----- arch/arm64/tools/sysreg | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 03d35c1e7e43..85af53e6bbc8 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -461,8 +461,6 @@ #define SMIDR_EL1_SMPS_SHIFT 15 #define SMIDR_EL1_AFFINITY_SHIFT 0 -#define SYS_DCZID_EL0 sys_reg(3, 3, 0, 0, 7) - #define SYS_RNDR_EL0 sys_reg(3, 3, 2, 4, 0) #define SYS_RNDRRS_EL0 sys_reg(3, 3, 2, 4, 1) @@ -1081,9 +1079,6 @@ #define MVFR2_FPMISC_SHIFT 4 #define MVFR2_SIMDMISC_SHIFT 0 -#define DCZID_EL0_DZP_SHIFT 4 -#define DCZID_EL0_BS_SHIFT 0 - #define CPACR_EL1_FPEN_EL1EN (BIT(20)) /* enable EL1 access */ #define CPACR_EL1_FPEN_EL0EN (BIT(21)) /* enable EL0 access, if EL1EN set */ diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 3c58aa57d672..474d896225a4 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -293,6 +293,12 @@ Res0 13:4 Field 3:0 IminLine EndSysreg +Sysreg DCZID_EL0 3 3 0 0 7 +Res0 63:5 +Field 4 DZP +Field 3:0 BS +EndSysreg + Sysreg SVCR 3 3 4 2 2 Res0 63:2 Field 1 ZA -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel