From patchwork Tue May 17 18:22:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 12852862 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 C0FB3C433EF for ; Tue, 17 May 2022 18:31:42 +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=BxqVNGW0Q6z22FlgEObgU0hrVwnRc4Zv+pm9i3p3dj8=; b=inQVTj2dJ4jXEY 0KOx7r3XrvKUrA8nXSqvrNv+sevooFV0NwQZ5Fn9xHmiEIqEAY1DauHD86RDNTfmqNGg7if8z4RK5 Kqb7xXeOSBkNqv6gVP24OpGcc+fKdc23uVn1XPdg8FAJ/upg6z1B2g6VZrEfFn8I9gLRFMgiZU5e8 mFoA+Op+fKW9xsu6yreWiXFlJZFOqJSahGNsOEeO352gqhZmkVH/YsRzXfww2NttAiig+qfY0uED5 hTNGPXkElJtCfHw6dW6fquhKtT7e4WKLH+ky7jxrBYNeJbX9q3PvpmP1wdRxBgt7ZLWiysVWQ8/7j 33iiA3vE/mOfN0OgNlCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr1xw-00FI5x-Es; Tue, 17 May 2022 18:30:40 +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 1nr1wv-00FHfV-9i for linux-arm-kernel@lists.infradead.org; Tue, 17 May 2022 18:29:39 +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 106FBB81B94; Tue, 17 May 2022 18:29:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4DD7C36AE9; Tue, 17 May 2022 18:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652812174; bh=cM3U1hQI18GHRfNusfzAjHR/O0xqZ7adgowB/f7Lqeg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QRiHLwgA/xkuBEVcWQRGQtYXJEurZRw8czfYj5CTjmRUdXl2gElNPh0tNipRePGj6 2U/JkSSY1o+koNK4ZD6BX+nh7n5Gaj+a+GK216ibWPfy6RYmd+gK8favSvNrZUGQMY 1QFHqGUz0PK/iZPebmc0RA0W0DkAYl4epPPwSkYj+T0qGjvZeoXIRGFhZYGIDi4Btw C1Yp4bmY0wqoARFwCqK0RnV52f5YtSnaj2NKcmSVij9KOkENvkdIDL7FsRHa1conqR MWUqLXCnkYty896FQVlh6ur1ItXzFn4yeYTLi48QEGwR/oeSabLJzXj2KewOM/7yB5 Z2mG40QzNqEaw== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 5/9] arm64/sysreg: Generate definitions for CSSELR_EL1 Date: Tue, 17 May 2022 19:22:15 +0100 Message-Id: <20220517182219.2171814-6-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=1129; h=from:subject; bh=cM3U1hQI18GHRfNusfzAjHR/O0xqZ7adgowB/f7Lqeg=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBig+fVXJxaMOvRlYDgovv9+hXCvdHxoKGs6cYYBbTZ W8S7L0WJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYoPn1QAKCRAk1otyXVSH0OFLB/ 0S4mhmKdkuVz2WrZLzbCkYGllRtJm1bWkBhjnXQgSnB10NTkqobnXweH5zKFE7aPEUitoM+4pxkE0c FBcx53CrpE6jvwo90gzNDMTOuWV/IfwX8teUPhRX/UKSYIBZPl2df9eRQ1hJ24VkwCskPRlHhfXmpJ yywHKDXAPu99TsTbKuJJwwETouMrFne8mvFAUaow1k2b1q0sPLUIC06kEqevMMd3b37hiaY06Bqu7X 9/XSDFdZaHBlGDxrLXsuttRwU5kPfqVSHBz64IfrzyvwxfB+D/OOq2Lnh+iNAbUJExlIn+nNkaBk61 +psG4yzsxJr0lDfXYOvC7sYt8o/eFm 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_112937_505811_6E5A2BFA X-CRM114-Status: GOOD ( 11.41 ) 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 CSSELR_EL1 to automatic generation as per DDI0487H.a, no functional change. Signed-off-by: Mark Brown Reviewed-by: Mark Rutland --- arch/arm64/include/asm/sysreg.h | 2 -- arch/arm64/tools/sysreg | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index c30f5aafde34..6240149f9818 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_CSSELR_EL1 sys_reg(3, 2, 0, 0, 0) - #define SYS_CTR_EL0 sys_reg(3, 3, 0, 0, 1) #define SYS_DCZID_EL0 sys_reg(3, 3, 0, 0, 7) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 21d5c140fde3..47c4c45d5dc3 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -270,6 +270,13 @@ Res0 14:12 Field 11:0 AFFINITY EndSysreg +Sysreg CSSELR_EL1 3 2 0 0 0 +Res0 63:5 +Field 4 TnD +Field 3:1 Level +Field 0 InD +EndSysreg + Sysreg SVCR 3 3 4 2 2 Res0 63:2 Field 1 ZA