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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7295FC636D7 for ; Thu, 16 Feb 2023 16:23:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbjBPQXI (ORCPT ); Thu, 16 Feb 2023 11:23:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbjBPQXG (ORCPT ); Thu, 16 Feb 2023 11:23:06 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7111F20D23 for ; Thu, 16 Feb 2023 08:23:05 -0800 (PST) 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 EC724B828E3 for ; Thu, 16 Feb 2023 16:23:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28273C433EF; Thu, 16 Feb 2023 16:23:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676564582; bh=vkIDRo1FtU4bdhqJCU8/sKrR9uWhJNwYm0CALFCj3VE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UiSLNcmLeLUN5WOChgq4bE6fCx33leWZzSPX9W9B4P5HZmsn2BsVOESz+DKNBEGFP qlaYjTB/fPX3+YsS1G+6Hw/9t9AEpUvluE3OqUoWRGzcyjpcv+0Bmm4HoyVly+18Xo M5Wtm6RDpt2pMISesyWuq9DxLkJwNKbdJOmlViCDOXVmY7FXxypiMldYdBPJyVT+4E Z2KQugdYCbosc8rQqTzrbUrbGhqOdWih00WZNk1QAsBVryNi51b+oma45jCQXcakB3 c+48UkoFaqhkwPhPbuxH2QTedoIZMZw/ZDMoxcZxB53QCWPGedq5sn+fBj0mf+hdG9 0Twh6tYHtnf1g== Date: Thu, 16 Feb 2023 16:22:59 +0000 From: Mark Brown To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Mark Rutland , Luis Machado , Vladimir Murzin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/10] arm64: mops: detect and enable FEAT_MOPS Message-ID: References: <20230216160012.272345-1-kristina.martsenko@arm.com> <20230216160012.272345-10-kristina.martsenko@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iebF125Yz+Y6P7Q8" Content-Disposition: inline In-Reply-To: <20230216160012.272345-10-kristina.martsenko@arm.com> X-Cookie: Serving suggestion. Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --iebF125Yz+Y6P7Q8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 16, 2023 at 04:00:11PM +0000, Kristina Martsenko wrote: > The Arm v8.8/9.3 FEAT_MOPS feature provides new instructions that > perform a memory copy or set. Wire up the cpufeature code to detect the > presence of FEAT_MOPS and enable it. >=20 > Signed-off-by: Kristina Martsenko > --- > Documentation/arm64/cpu-feature-registers.rst | 2 ++ > Documentation/arm64/elf_hwcaps.rst | 3 +++ > arch/arm64/include/asm/hwcap.h | 1 + > arch/arm64/include/uapi/asm/hwcap.h | 1 + > arch/arm64/kernel/cpufeature.c | 19 +++++++++++++++++++ > arch/arm64/kernel/cpuinfo.c | 1 + > arch/arm64/tools/cpucaps | 1 + > 7 files changed, 28 insertions(+) Please also add this to the hwcaps selftest. --iebF125Yz+Y6P7Q8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmPuWGIACgkQJNaLcl1U h9ChWAf/dwfCz3sdklcf13AUvRi8cnyD9UEYYPEfOSFVtz5/fo3doRUwwauL4hkN gBKhXLqsl+byDLExSGhh0gxtfYwRrJjTh4PlNC/3l5p5wzVixNV5pRJFz00pfksM fF3fdUD5J99sQbarL0x9RxHT+roEGNm+nvbRrWzMGq9Jnw6jRZ+OUq7nZAon+yib 0d+hoHmsd/lD2LrNkbpId1GvaLV1h6OW0bH0xH4QxV/O8Imdcbmj1nkbfazk6GD/ HnRdMXSj2aM5mlDEq3fjeRdbbnAT9xBOYhOUOEoklhuJJ3oDKjAVOWRWejq/bmcM ltgZXxXVW2W4MgHfxq/GxyDe39bnkQ== =kNhl -----END PGP SIGNATURE----- --iebF125Yz+Y6P7Q8-- 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 F31AFC6379F for ; Thu, 16 Feb 2023 16:24:12 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=T99iv8iQF5LvcwxqxylUK8tuRWIi//r5Hsl1AJwClOE=; b=cmXMvMG3Ju3bsFyTmC9fGbF0wk PPLtaMkTfu4Ml8RgxRp7abikL4qM7lTp9CIdEflW1izOxmiJX2F5DvtkDlIlM5Cdb0BlanBjlcHa2 H+oW9I5lVSeMBLnUgnbMf7uj1vAuP7TbVohEA5OfXyW5lZsXm/UoGeHV/ARCEQF2cetpYt2R8eQej /F0ohnIeo89YDygPLtLmj87FGMz80qcLTJAiAkay4NrTjvWXUPepFmxcQDGoWl9xBhhkKMUndbw6Q Da5ACESr/FzE3L/io5k+jBzobxTvO8DnvthwhidbdPjxRpcLWqmk6qCjXctbgGpDzx1t0ZkF0tqTn Z/fD5/9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSh2P-00BAWY-1I; Thu, 16 Feb 2023 16:23:13 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSh2K-00BATR-Kk for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 16:23:10 +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 E86F4B828DF; Thu, 16 Feb 2023 16:23:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28273C433EF; Thu, 16 Feb 2023 16:23:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676564582; bh=vkIDRo1FtU4bdhqJCU8/sKrR9uWhJNwYm0CALFCj3VE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UiSLNcmLeLUN5WOChgq4bE6fCx33leWZzSPX9W9B4P5HZmsn2BsVOESz+DKNBEGFP qlaYjTB/fPX3+YsS1G+6Hw/9t9AEpUvluE3OqUoWRGzcyjpcv+0Bmm4HoyVly+18Xo M5Wtm6RDpt2pMISesyWuq9DxLkJwNKbdJOmlViCDOXVmY7FXxypiMldYdBPJyVT+4E Z2KQugdYCbosc8rQqTzrbUrbGhqOdWih00WZNk1QAsBVryNi51b+oma45jCQXcakB3 c+48UkoFaqhkwPhPbuxH2QTedoIZMZw/ZDMoxcZxB53QCWPGedq5sn+fBj0mf+hdG9 0Twh6tYHtnf1g== Date: Thu, 16 Feb 2023 16:22:59 +0000 From: Mark Brown To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Mark Rutland , Luis Machado , Vladimir Murzin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/10] arm64: mops: detect and enable FEAT_MOPS Message-ID: References: <20230216160012.272345-1-kristina.martsenko@arm.com> <20230216160012.272345-10-kristina.martsenko@arm.com> MIME-Version: 1.0 In-Reply-To: <20230216160012.272345-10-kristina.martsenko@arm.com> X-Cookie: Serving suggestion. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_082308_850377_336E6306 X-CRM114-Status: GOOD ( 14.78 ) 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: multipart/mixed; boundary="===============7833825193628544473==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7833825193628544473== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iebF125Yz+Y6P7Q8" Content-Disposition: inline --iebF125Yz+Y6P7Q8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 16, 2023 at 04:00:11PM +0000, Kristina Martsenko wrote: > The Arm v8.8/9.3 FEAT_MOPS feature provides new instructions that > perform a memory copy or set. Wire up the cpufeature code to detect the > presence of FEAT_MOPS and enable it. >=20 > Signed-off-by: Kristina Martsenko > --- > Documentation/arm64/cpu-feature-registers.rst | 2 ++ > Documentation/arm64/elf_hwcaps.rst | 3 +++ > arch/arm64/include/asm/hwcap.h | 1 + > arch/arm64/include/uapi/asm/hwcap.h | 1 + > arch/arm64/kernel/cpufeature.c | 19 +++++++++++++++++++ > arch/arm64/kernel/cpuinfo.c | 1 + > arch/arm64/tools/cpucaps | 1 + > 7 files changed, 28 insertions(+) Please also add this to the hwcaps selftest. --iebF125Yz+Y6P7Q8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmPuWGIACgkQJNaLcl1U h9ChWAf/dwfCz3sdklcf13AUvRi8cnyD9UEYYPEfOSFVtz5/fo3doRUwwauL4hkN gBKhXLqsl+byDLExSGhh0gxtfYwRrJjTh4PlNC/3l5p5wzVixNV5pRJFz00pfksM fF3fdUD5J99sQbarL0x9RxHT+roEGNm+nvbRrWzMGq9Jnw6jRZ+OUq7nZAon+yib 0d+hoHmsd/lD2LrNkbpId1GvaLV1h6OW0bH0xH4QxV/O8Imdcbmj1nkbfazk6GD/ HnRdMXSj2aM5mlDEq3fjeRdbbnAT9xBOYhOUOEoklhuJJ3oDKjAVOWRWejq/bmcM ltgZXxXVW2W4MgHfxq/GxyDe39bnkQ== =kNhl -----END PGP SIGNATURE----- --iebF125Yz+Y6P7Q8-- --===============7833825193628544473== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7833825193628544473==--