Message ID | 20231205160140.1438-1-yuzenghui@huawei.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3529828vqy; Tue, 5 Dec 2023 08:02:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFJPTpV8m53D6nLtgU6s9Av72emUaPpURoRCyZp0MIZNhqyu30szU8XEhcYFoL/sG2a76K X-Received: by 2002:ac8:5ccb:0:b0:423:737d:8776 with SMTP id s11-20020ac85ccb000000b00423737d8776mr1524706qta.3.1701792152382; Tue, 05 Dec 2023 08:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701792152; cv=none; d=google.com; s=arc-20160816; b=l90xcJwNMfv/onYu8EuDUp/sgWDzGGODMc+FIPxwpVIka89YgsVlc+zeZcvCD9RRXl k39Je25AtTvGLZJ55inCIv82bLKz4PECCKgo+U3t9MDTfbrdXcmHgVv1OzZSn81FFzbn 01gAgNnWuZVCwkUicwnAdb1oSnO6QlOJ/uSLssTu2iRssxOTxa9r0UCATJzgg1WBkEQV qQiaFu6hjQRdb+63m/k690EnFkEelPlA3pdEiZost/17PwrL6ghH4PRNavc3ENzQc20k 9+a3D6e01J7j1aywLydsIc4gyO93mKaveGXfS/OtdO1tDE01z6cBeZSKpXdn7spVBryS 4fWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=w1bmx5sRfuhIBrzXdzrp0v2eYnTTBgkNFHK3zEBTuSg=; fh=IaAe9sRB6rfvHZ8LRMRu5bSca1cHJCdn++C9lGE4uz0=; b=lftLeESYxAbjHfPgO/fqvxlA0KlMXF/SQtvKQ/Ek1AJxqEOGaxtx8sRUHuT4RjBMKg eBGXhMR0GeHZ5tAVnFfecrzXDxt9HnkR9apt7cIVooE3nXKSXS6lDgxVqVvta8NaUWRI l7xj+h7lpF1yFPzfo8ikxU2kA5L75xDfSNW5Vxh/eRhzk2L5NPl0HTat7YtTBI5b5vvI /TNtV8qm5ULCpyLysAO9iaiNeqDQs7nN1wHTkN5S9ddyReLnffAnD3q7kFddKDwqLx2Y yYKOFAPSrbOKxxIm1WLJtiChZDvDKywJFt1dQ7L5PgVAUX/mlIr+vpVvVCSBHuBRCJAJ p17g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u10-20020ac8750a000000b0042374a3b289si11606886qtq.199.2023.12.05.08.02.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 08:02:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id ACE158031B2B; Tue, 5 Dec 2023 08:02:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235562AbjLEQCM (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Tue, 5 Dec 2023 11:02:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235561AbjLEQCB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 5 Dec 2023 11:02:01 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD462D73 for <linux-kernel@vger.kernel.org>; Tue, 5 Dec 2023 08:02:06 -0800 (PST) Received: from kwepemm000007.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Sl4tb17cczGpr5; Tue, 5 Dec 2023 23:57:43 +0800 (CST) Received: from DESKTOP-8RFUVS3.china.huawei.com (10.174.185.179) by kwepemm000007.china.huawei.com (7.193.23.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 6 Dec 2023 00:02:04 +0800 From: Zenghui Yu <yuzenghui@huawei.com> To: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: <catalin.marinas@arm.com>, <will@kernel.org>, <broonie@kernel.org>, <wanghaibin.wang@huawei.com>, Zenghui Yu <yuzenghui@huawei.com> Subject: [PATCH] arm64: Delete the zero_za macro Date: Wed, 6 Dec 2023 00:01:40 +0800 Message-ID: <20231205160140.1438-1-yuzenghui@huawei.com> X-Mailer: git-send-email 2.23.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.185.179] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm000007.china.huawei.com (7.193.23.189) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 08:02:24 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784458408166209355 X-GMAIL-MSGID: 1784458408166209355 |
Series |
arm64: Delete the zero_za macro
|
|
Commit Message
Zenghui Yu
Dec. 5, 2023, 4:01 p.m. UTC
zero_za was introduced in commit ca8a4ebcff44 ("arm64/sme: Manually encode
SME instructions") but doesn't appear to have any in kernel user. Drop it.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
---
arch/arm64/include/asm/fpsimdmacros.h | 8 --------
1 file changed, 8 deletions(-)
Comments
On Wed, Dec 06, 2023 at 12:01:40AM +0800, Zenghui Yu wrote: > zero_za was introduced in commit ca8a4ebcff44 ("arm64/sme: Manually encode > SME instructions") but doesn't appear to have any in kernel user. Drop it. > > Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> You're right that this isn't used, though OTOH it's not exactly doing any harm either and as a macro doesn't inflate the image or anything. Acked-by: Mark Brown <broonie@kernel.org>
On Wed, 6 Dec 2023 00:01:40 +0800, Zenghui Yu wrote: > zero_za was introduced in commit ca8a4ebcff44 ("arm64/sme: Manually encode > SME instructions") but doesn't appear to have any in kernel user. Drop it. > > Applied to arm64 (for-next/misc), thanks! [1/1] arm64: Delete the zero_za macro https://git.kernel.org/arm64/c/86d1921c9d5a Cheers,
diff --git a/arch/arm64/include/asm/fpsimdmacros.h b/arch/arm64/include/asm/fpsimdmacros.h index cdf6a35e3994..cda81d009c9b 100644 --- a/arch/arm64/include/asm/fpsimdmacros.h +++ b/arch/arm64/include/asm/fpsimdmacros.h @@ -242,14 +242,6 @@ | (\nx << 5) .endm -/* - * Zero the entire ZA array - * ZERO ZA - */ -.macro zero_za - .inst 0xc00800ff -.endm - .macro __for from:req, to:req .if (\from) == (\to) _for__body %\from