From patchwork Tue May 17 18:22:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 12852858 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 26674C433F5 for ; Tue, 17 May 2022 18:30:37 +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=an5baEEMf2239nfbRW+kTSdDeZvw/nkfzbB2M/xvBiA=; b=QLZDP+0alt2pXt oB8JqKHVlmqYgl4zYK1SwLy3dFARbVYEDbVcQWEqyHilMDvbbAhhSbkLX2ERCChTeDE0ZXdwE4Y7a e9+NkZVTBPgbBwYkSaMemGGJtg1/FJRPVwCvaaYT1QVfLNRepHeiurY5hu5QgrwyE2Z0VRMxmGlMe CW6yPykWD1IKDC798ieqdTKiZIeeGRMG3Enguedv//ZJpTV9/kV8Q/62y9XtUpRNdqoAx5qCQY9LO h0Lc0XPBDyrJvKU9UEab9sLdDk5BN5EcKQztpSjSE2y4ZMn4eyDye+NeP/LSuYgkO3BrGHGfGSObw yZ1GOX4OYV+NZL1l+EWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr1wr-00FHdY-EN; Tue, 17 May 2022 18:29:33 +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 1nr1wn-00FHcI-Gq for linux-arm-kernel@lists.infradead.org; Tue, 17 May 2022 18:29: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 dfw.source.kernel.org (Postfix) with ESMTPS id DA1DD61586; Tue, 17 May 2022 18:29:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16198C385B8; Tue, 17 May 2022 18:29:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652812168; bh=RjwI0HMVmuYU/R/wUjTvwjnJP3xCcMIBACKale1iKAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ORdYq/+OZxE4nSToXMrsFM+ICukcHr9kK4BHs1Latc/nnmPy1nDHRuKETOlb/5A2G On0bARek+DzlNEO6LQzGjRshjKpZeWQvo/q76UJ0vwf9tcXznWFwepktitltjZ7iNv 6EPMZVNJ72jL579GeSwe0TmFMmAJo1ImVe9ptTkkmLRF2GgN78qkT1E6wrz9G1Q3Dq 3Vn1W4F83lUmXaoQgxL0ANm25hw3xpNjLfLbMdRihBqcuB1PoTTQ2Nz3+hpAPwTIgI zVN6a0HHnqdfyOQ38JuvcxEvlEBr+nLvRdHkSGMoRPbZYe9Y4Aba/v0eddBwxjckIP 2B6HdL5u+ieuA== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 1/9] arm64/sysreg: Generate definitions for CCSIDR2_EL1 Date: Tue, 17 May 2022 19:22:11 +0100 Message-Id: <20220517182219.2171814-2-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=1230; h=from:subject; bh=RjwI0HMVmuYU/R/wUjTvwjnJP3xCcMIBACKale1iKAQ=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBig+fSYvww/uhYmeWiuKrYq93mxNbD/XvAP7JeLwgx zC17gXWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYoPn0gAKCRAk1otyXVSH0PGWB/ 4h8CFKkQiZFU9h95NnDrLleorPW3E9EFsL2CEkBK47EJplQa/U0k3bJZ7Ezeutx4lbuej8d6Q7ubjv 7KR/N5itzxG7GJsiT8ydjOuQgeHC+dNazbclcuT/fQFJVBzitu9qoUoTFxYAlu5V+8MlcdvPHDPYUk JOD0KsxuhgqRlYLTkvtAj/U3JqC/3GqRekAcIDImrIcRDPwvrxPIVDVi/0aLrcjJry333KqcwAxdzl lKqROakGDsj20godyUc1CMPWVYJOXy0lCFaPmIzqJjLPLX8tSXeREiD3TvZBd0CTSRUHNTozZjgydC +6tTawsAy9m3W1DWHKZKXNqTUjFrYJ 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_112929_648475_373661D1 X-CRM114-Status: GOOD ( 11.67 ) 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 CCSIDR2_EL1 to be automatically generated as per DDI0487H.a. No functional change. Signed-off-by: Mark Brown --- arch/arm64/include/asm/sysreg.h | 1 - arch/arm64/tools/sysreg | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 91e4f8601393..45d29f34d9b3 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -456,7 +456,6 @@ #define SYS_CNTKCTL_EL1 sys_reg(3, 0, 14, 1, 0) -#define SYS_CCSIDR_EL1 sys_reg(3, 1, 0, 0, 0) #define SYS_CLIDR_EL1 sys_reg(3, 1, 0, 0, 1) #define SYS_GMID_EL1 sys_reg(3, 1, 0, 0, 4) #define SYS_AIDR_EL1 sys_reg(3, 1, 0, 0, 7) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index a236d7a821b4..db395dabc9e9 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -212,6 +212,14 @@ Sysreg SMCR_EL1 3 0 1 2 6 Fields SMCR_ELx EndSysreg +Sysreg CCSIDR_EL1 3 1 0 0 0 +Res0 63:56 +Field 55:32 NumSets +Res0 31:24 +Field 23:3 Associativity +Field 2:0 LineSize +EndSysreg + Sysreg SMIDR_EL1 3 1 0 0 6 Res0 63:32 Field 31:24 IMPLEMENTER