From patchwork Tue May 17 18:22:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 12852864 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 7D012C433EF for ; Tue, 17 May 2022 18:32:25 +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=R3VRsjRN+6BFA0H2UlZLN0tcUnU5i4Ye2fHAwTpgS40=; b=AYGJpAHa9UTM7v qme3wysKbv3/FeLTDMuS/RdJvpjfPxxxsbQ6eoAa+L85s3820IaPcg/6ubNS0zyIAeqi+2Z4eJW2O 429VTz4QeryBKaa1A4qpV74zYTKN5xYlzK/71zjCS0bRYnrhADBka6ZkATbwDb1LE7xK2EziYwHKU K8OtVHmd19h91fwaxyJZLBo2ok4DQNySHc1LH4U0PryF79LAXP6qOP5YH1SxiWvjHsmLp0ySsaFL/ /UxE2+rVgR7vzJVAiPSxrNFNYrh7/Cwc7uiZSTBtVG0wUH6FUI58mbgSWYPnXY8pVa/aeWUJBs0Qr V1Snl5E3Ql/nBajlIYQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr1yX-00FIPK-KM; Tue, 17 May 2022 18:31:18 +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 1nr1wx-00FHez-N3 for linux-arm-kernel@lists.infradead.org; Tue, 17 May 2022 18:29:41 +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 53204B81B92; Tue, 17 May 2022 18:29:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA619C34118; Tue, 17 May 2022 18:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652812178; bh=035bD1Q3sMSpcJteiogfgesy5UgwzPI5MDsCTmpTwcE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b/zGhFtNnrFuRBpD+7RGvo5v1E5djaU4AcIONPbuuSdUQvFSZvozwprB3/lI82kfz 91rofT71vdvxca3FF+v/Yiag4RwRuJfmAD9qi8jOTQnhidukV0DW+25uF5wgijXUfr FYWfaUv90HTz1mtsgibBzEC349RiFFh5ciGOq+pIjMQUlxAhkFot05LQ0YbXZ6oCJ8 98z+t86YwDJCsGTyiaIXSEekSzn7/MImY7KLLr7y9RC5BZA0nrGX21O1fjDY/a6eqA QFgUz8oizyIj+74mavt2AiSw2XZ6+4bAlaJSJM5448sgcRFkYAqtbcwdED5KkphYsV yTKOSHdMHXimQ== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 7/9] arm64/sysreg: Generate definitions for DACR32_EL2 Date: Tue, 17 May 2022 19:22:17 +0100 Message-Id: <20220517182219.2171814-8-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220517182219.2171814-1-broonie@kernel.org> References: <20220517182219.2171814-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1532; h=from:subject; bh=035bD1Q3sMSpcJteiogfgesy5UgwzPI5MDsCTmpTwcE=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBig+fX8jylo6hDfgMg3EopiXtPYgL/9au8xXUhf9p1 TaaCl5CJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYoPn1wAKCRAk1otyXVSH0CS0B/ 4hnaMqVjs/0AlqJ7IpIELdSjkgbsC0Lf8nN5gVMWf+DjKsoZHv9iQBQ4WptAddH2PeRtvb8uHmWSXM ZvYziqDU8g5dPQ8VDRXqj/Wbu9cZ4LgVh9l4srsfZ7AiUdcNKK5yWqGxOgRKxapaZMvEUJMJsp3djx KJwFx7mYS5HhujPhsIMqZ/RjNY2TWjtq4Ghqhn64plY4TIZX44L1G7VgxX731WSpi5cTfJZMQXOTdU z5i1NgXG9iXG9Bu+do2EYfG9KJnpp4s3f6EOl0rYBn5O7WnIus1elb/2NJwrdjGuyjMPhebSmBWD/+ /4yPTdYhmoWmT66ddRvxAObs2ldQBL 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-20220517_112939_933826_E11CA8F6 X-CRM114-Status: GOOD ( 10.94 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert DACR32_EL2 to automatic register generation as per DDI0487H.a, no functional change. Signed-off-by: Mark Brown Reviewed-by: Mark Rutland --- arch/arm64/include/asm/sysreg.h | 1 - arch/arm64/tools/sysreg | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index c77e2310d189..e8e9040227f6 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -552,7 +552,6 @@ #define SYS_HFGITR_EL2 sys_reg(3, 4, 1, 1, 6) #define SYS_TRFCR_EL2 sys_reg(3, 4, 1, 2, 1) #define SYS_HCRX_EL2 sys_reg(3, 4, 1, 2, 2) -#define SYS_DACR32_EL2 sys_reg(3, 4, 3, 0, 0) #define SYS_HDFGRTR_EL2 sys_reg(3, 4, 3, 1, 4) #define SYS_HDFGWTR_EL2 sys_reg(3, 4, 3, 1, 5) #define SYS_HAFGRTR_EL2 sys_reg(3, 4, 3, 1, 6) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 3971e1fb6af4..543ba10f3dac 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -325,6 +325,26 @@ Sysreg SMCR_EL2 3 4 1 2 6 Fields SMCR_ELx EndSysreg +Sysreg DACR32_EL2 3 4 3 0 0 +Res0 63:32 +Field 31:30 D15 +Field 29:28 D14 +Field 27:26 D13 +Field 25:24 D12 +Field 23:22 D11 +Field 21:20 D10 +Field 19:18 D9 +Field 17:16 D8 +Field 15:14 D7 +Field 13:12 D6 +Field 11:10 D5 +Field 9:8 D4 +Field 7:6 D3 +Field 5:4 D2 +Field 3:2 D1 +Field 1:0 D0 +EndSysreg + Sysreg CONTEXTIDR_EL2 3 4 13 0 1 Fields CONTEXTIDR_ELx EndSysreg