From mboxrd@z Thu Jan 1 00:00:00 1970 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 04DEFC433F5 for ; Tue, 10 May 2022 16:14:01 +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=yXsvC1446/7YcKWNVJ2RRDWG1qdUW/Sd/NYywypLIAg=; b=gBXJvUlmWkpMLx LEQIQ+MudlrcNqxCXi9fhzRxnxOI+60xw25DLCLccwaeK9uB1WKU+bNujy5waBLJ/MAqNFshx/QfU DQ5qsJuB6ctN/6Q+zf/uMV0id2Du/rwQf2WTmu9VWcoMs1AHlS+3/KwHIqCYeA0c+FrDwRZtVTR4O yJpRs4G0XzMzKtkgCHB382VJuqW76TEY/9RSVF14ae4RfWtRTjTi9XzZnyK3sGCbwRcrTP9axtzvC jZVkLa/0tyrNSgmsPxnr3/geJqCwicZdYJPCn69hjYzUTQM67hjmfekowTy/2f7ST4doQ1YllJfmX c7XFBM37nozmk7hU/fuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noSTq-002xgD-VJ; Tue, 10 May 2022 16:12:59 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noSTT-002xUt-19 for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 16:12:36 +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 sin.source.kernel.org (Postfix) with ESMTPS id 17C55CE1F62; Tue, 10 May 2022 16:12:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 200A4C385C2; Tue, 10 May 2022 16:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652199149; bh=eY3NekaRS2LdacAyVmZmVMFzVnntLgSJJ+KmwsA2o3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qeNDdK0m4XbU8afHemAOQzh3CFvJyi0TEgir6n48GVqRTHHNQSSxf5pjCJedA2N3W NlDsfo9HxeN1VZ7PHJl/XkN9Vk5LkwCnKtOTJ+8PPkbiGQs3YarVNU25JpORbeVjzd kEee6mNTq+h/F+omfwPaYbuKx99+LfDGi2KjcLAtLTSJvtaUg7olGU5wb04UMCixW3 t+3gMzCv4EMrT2Fay3N2CGuWapjFpFSsuro919iiJAPbtcoPmL1/EWkobhDqWEhKVk XusT4kCPZcIcpIv8vah6kWDFiATU4hlSbM5ERM5R01hU1et8P3OI2K6gttADYsDqNn K4q/9iecuHI4w== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Marc Zyngier , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 02/12] arm64/fp: Rename SVE and SME LEN field name to _WIDTH Date: Tue, 10 May 2022 17:11:58 +0100 Message-Id: <20220510161208.631259-3-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220510161208.631259-1-broonie@kernel.org> References: <20220510161208.631259-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1864; h=from:subject; bh=eY3NekaRS2LdacAyVmZmVMFzVnntLgSJJ+KmwsA2o3M=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBieo7Od5o/Y9aGeiFd1I/PYGyEP+b/jhc6U+fmxCbD kDMSfc+JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYnqOzgAKCRAk1otyXVSH0MW+B/ 93CaJFrjzkuwcTlku3ObaCB1/PJaJYEFJfWifLufTbFrPiLhSdMCeGVg7xA9dlsKbx7UBqd771Xa+8 NkfKc0B2WHHCXvEsw41Aeayo8/fjjQFrH86p2DJn8XBDUs0L3BSSE+XvNfgEbRNb2HqcJU/HRd1Yks B4DhoQeBtRsNYrg5hUmmslIA6MYkbnq7hlKkv47A2rW2o8KrHM4LQNsu5mb64Op7W96f+DeursqO4n Flp1rDEozIayxWFVmRhHBBqbgwLHRYI1Y+XGHOQ/R3+y4VC6sXd7b9Sbh/lY9vbzaZzLjJwQUmmmMB 2uORkM8ykcGf9BnEU7Si5D46LFDTbC 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-20220510_091235_469661_D814B37E X-CRM114-Status: GOOD ( 14.21 ) 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 The SVE and SVE length configuration field LEN have constants specifying their width called _SIZE rather than the more normal _WIDTH, in preparation for automatic generation rename to _WIDTH. No functional change. Signed-off-by: Mark Brown --- arch/arm64/include/asm/sysreg.h | 4 ++-- arch/arm64/kernel/cpufeature.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 4d78b6aeebb4..b83808ebc58f 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -1114,14 +1114,14 @@ #define DCZID_BS_SHIFT 0 #define ZCR_ELx_LEN_SHIFT 0 -#define ZCR_ELx_LEN_SIZE 4 +#define ZCR_ELx_LEN_WIDTH 4 #define ZCR_ELx_LEN_MASK 0xf #define SMCR_ELx_FA64_SHIFT 31 #define SMCR_ELx_FA64_MASK (1 << SMCR_ELx_FA64_SHIFT) #define SMCR_ELx_LEN_SHIFT 0 -#define SMCR_ELx_LEN_SIZE 4 +#define SMCR_ELx_LEN_WIDTH 4 #define SMCR_ELx_LEN_MASK 0xf #define CPACR_EL1_FPEN_EL1EN (BIT(20)) /* enable EL1 access */ diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 08689362cd89..665ad380c07f 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -577,13 +577,13 @@ static const struct arm64_ftr_bits ftr_id_dfr1[] = { static const struct arm64_ftr_bits ftr_zcr[] = { ARM64_FTR_BITS(FTR_HIDDEN, FTR_NONSTRICT, FTR_LOWER_SAFE, - ZCR_ELx_LEN_SHIFT, ZCR_ELx_LEN_SIZE, 0), /* LEN */ + ZCR_ELx_LEN_SHIFT, ZCR_ELx_LEN_WIDTH, 0), /* LEN */ ARM64_FTR_END, }; static const struct arm64_ftr_bits ftr_smcr[] = { ARM64_FTR_BITS(FTR_HIDDEN, FTR_NONSTRICT, FTR_LOWER_SAFE, - SMCR_ELx_LEN_SHIFT, SMCR_ELx_LEN_SIZE, 0), /* LEN */ + SMCR_ELx_LEN_SHIFT, SMCR_ELx_LEN_WIDTH, 0), /* LEN */ ARM64_FTR_END, }; -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel