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 11C31C433EF for ; Wed, 8 Jun 2022 13:39:13 +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=LIgmG0iiXoQwT+ 2lTi9/YuFhIyYznYuthTwHYk5KKWapmg0ZDuRI5PKp4iUvZr6BawRJcBzAaiv9ZFM2qPOHcrw8oAE Iohh16BqZGLxFEOscKrxYce8T+wDVWCc5MmMtUD+Z5W44qp7SKHaWC9CiD9BH/Cy74LgnSFnjvPXd nhZd0Zen81PIkILw4zWTnj0X4dnPfCCHIrjlzB29f/BhQewu2CcGBZkkbHnDpc1OmuMO/RXRfPvMg k5syucBVoXQALQKTkAGmTxkY8xRHUKud4CEpJw+XA6kAZDGfJZEC0ta0srZhD5VcpBfcdOtcEoYZO u7ieHGXAnlpYpWq4opRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyvsp-00DEna-F4; Wed, 08 Jun 2022 13:38:04 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyvoO-00DCfz-J4 for linux-arm-kernel@lists.infradead.org; Wed, 08 Jun 2022 13:33:30 +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 5A459B827B2; Wed, 8 Jun 2022 13:33:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB31AC3411F; Wed, 8 Jun 2022 13:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654695206; bh=052+iiw7wtYxdsU5DjmjCR1ZonOqa36hAw19B/72/Jw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DqyVeVGRh60NphyNEaD6zSkHAiSFm3Op3vjgL3TVLtKAkqAOukPjKkj8KHcOY9/UJ EuiTt+fi7eD2/fGhMR+W0vJn/iCFPwrWbcDwrP+JO7/oUPMHxYf0Y8mv8zh4enRO0u cGJ4LMu375TITOrNCDiQ6CZi7ML7kZPBCsrL8oBab6P9Ge6drERvzVy0+fd25mSFrG ZwIcg2/RprSWksRGn1befw+5IrNEGsYI/KJ3GZBnrfsal30h/Cu8j+/Ls3durx4X+D NAs4ZR45TmNN4UezW//nHm8Q/i5njyJqU2deLoeEJV6BNVrdQiRSpFPwmoS39nZ8fG hWg8i2rCWueMQ== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v2 14/17] arm64/sysreg: Generate definitions for DCZID_EL0 Date: Wed, 8 Jun 2022 14:31:48 +0100 Message-Id: <20220608133151.614373-15-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220608133151.614373-1-broonie@kernel.org> References: <20220608133151.614373-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=owGbwMvMwMWocq27KDak/QLjabUkhqQFSw6vUVrw65TKuqal7+468jeHMlma7Tvwx+RSo0A5l7yO jZ1WJ6MxCwMjF4OsmCLL2mcZq9LDJbbOfzT/FcwgViaQKQxcnAIwEY+H7P8UJmtOj9kWwzd3oWG+9b 5dXzs8TJeqmiWGGhx4/XiDbeGU6qQ7ip9Ca92ZNidke9/VP2di/KQ3coOpWLylq8wd83PP7HsTilrn pE03a7DhtZ4v+P2VMtePHNcfe79E3ZY+vSUj4olU8LqHjNacQq4XCjhW+Kc69i5PKroQEdjt1lVyeP 405zk3erfccU0KcdLWqDbkzP2u19yuKuV2Z8Y3PYPTmxLDyzp3PQ5WW/FgatCpx9v1ay4JmB/RmmVk dFo4oyFuoY+YL3Ooi3jox2Yfpz3LVlSncS88He/0YLn1+oj6rCkVClqXXlvO07zLJ66zaMtHZXeBj2 py8Vu2HZHZ8m5Bh7ThrrWK7rEpAA== 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_063328_829135_490FD372 X-CRM114-Status: GOOD ( 11.52 ) 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