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 4ECECC4332F for ; Wed, 9 Nov 2022 17:36:24 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iEAxfof5CNCGcvdZG0+qOqSnOe9IWSt5oCFdTBR4J54=; b=o0bpIp3pOQNuKw EZbKfBr90ivsR9JR+l3TXUq4KLc9a64h9+AUR9qYkCtM9XGySzO0q56ds/TP5zjjn3xvBJQ6ryWQC t6qnbGOsytwRp0GHbl8FVVN5KQOnAubaR6FXG4TXhm6p/1cmP4CDwc/yKfTLCb+PGOEv9PfAsfLAm K9jSGdA9pBkMoCIUF9m9choWHUoY32g7B5Ca0LEP8kyeFfTwtagKiAUfy+vXE+RCCZQ9dLUBnytJ9 DEDfMIksmLZjy+hyg/FKa/qEUOrgGsMTQbZWHNlQh2Osj6xDG2syEiPn0pHa+5g8FHZPGX2ynNooT LJXMUkb5J2zQARfbQKJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osoyv-00FbVA-20; Wed, 09 Nov 2022 17:35:21 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osoyq-00FbSv-Re for linux-arm-kernel@lists.infradead.org; Wed, 09 Nov 2022 17:35:18 +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 348AA61C03; Wed, 9 Nov 2022 17:35:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F5CDC433C1; Wed, 9 Nov 2022 17:35:14 +0000 (UTC) Date: Wed, 9 Nov 2022 17:35:11 +0000 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , Shuah Khan , Shuah Khan , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v1 5/6] arm64/hwcap: Add support for SVE 2.1 Message-ID: References: <20221017152520.1039165-1-broonie@kernel.org> <20221017152520.1039165-6-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221017152520.1039165-6-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221109_093516_955839_3BBB2112 X-CRM114-Status: GOOD ( 18.39 ) 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 On Mon, Oct 17, 2022 at 04:25:19PM +0100, Mark Brown wrote: > FEAT_SVE2p1 introduces a number of new SVE instructions. Since there is no > new architectural state added kernel support is simply a new hwcap which > lets userspace know that the feature is supported. > > Signed-off-by: Mark Brown > --- > Documentation/arm64/elf_hwcaps.rst | 3 +++ > Documentation/arm64/sve.rst | 1 + > arch/arm64/include/asm/hwcap.h | 1 + > arch/arm64/include/uapi/asm/hwcap.h | 1 + > arch/arm64/kernel/cpufeature.c | 1 + > arch/arm64/kernel/cpuinfo.c | 1 + > arch/arm64/tools/sysreg | 1 + > 7 files changed, 9 insertions(+) > > diff --git a/Documentation/arm64/elf_hwcaps.rst b/Documentation/arm64/elf_hwcaps.rst > index a82b2cdff680..6fed84f935df 100644 > --- a/Documentation/arm64/elf_hwcaps.rst > +++ b/Documentation/arm64/elf_hwcaps.rst > @@ -281,6 +281,9 @@ HWCAP2_CSSC > HWCAP2_RPRFM > Functionality implied by ID_AA64ISAR2_EL1.RPRFM == 0b0001. > > +HWCAP2_SVE2P1 > + Functionality implied by ID_AA64ZFR0_EL1.SVEver == 0b0010. It looks like our architect ran out of meaningful names. I guess we should just follow them in the kernel. Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel