Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1185390rwb; Wed, 14 Dec 2022 07:30:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Q5MqwIp0+a28HkDBMFs004LWnGT243C3xMEU2smA00tZ8IQ7V9gWDg6aq6Oem1JzsgGlh X-Received: by 2002:aa7:c690:0:b0:470:1605:7d8b with SMTP id n16-20020aa7c690000000b0047016057d8bmr9112208edq.16.1671031817436; Wed, 14 Dec 2022 07:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671031817; cv=none; d=google.com; s=arc-20160816; b=cJEqOUjJKTngpEAXUJWbOnzmirOrAKh9LZ6IRFPF9HYRO7zDG2qi/Ltk5cPyI+8XbS e91xfeB8ZLVTSIGkn/k8hMAZ1Gg3TEj5epgsyhUJjj5pGwDkIZHGYo1sjuDqtYIlui2j y6jpneIAFZCAmGSTPCnAw9TclL0ZFi2iqFj3grCLbzSkOujH0qto+d0Z9vKgzPSX1qIw GlsLBU5j5pze3SC51qUMyYe05Ynpx47R5KKS+YuNGgkAKxMUMWmMHD9DhvMBm0kcJ650 iGkD1JiwHt11lggaEDNDVS6UPJtc1SvT1bvgYW068DR733zOITPZUPrXABBciQq03rmK +Czg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aIUcjrJWe/6VmRdzbrNHy/Um1b3+Ap5nYjNpcz68YL4=; b=reZu0+T+oX8h5iJdG7c0R30D3lokxHmzm6keJWTc++O9EMz9ceTBWUDMM1IA40TVov GvNYVD21EbQfyIvTXl+gCliDvBBVyI/rQDYSUwhY2GMC4dssfWfXbvLrMH4A8r1hZAdm 3P/w7AH4zMn7S2Wap2ta1TE2PRy6qRFQ8mXxReCDe+9zxVjqTYM+tkOZrrn1fpv969nO /ibzw/73OUhcgo/ogUuf5CPKBHht+4tmPkpwtvU8+DdS4Uco3t5sqlTpRlxasNP1Jzxg N0Hpjk9ne0csXI/ZlbL+K3tz/1QztiJEasR6EyQP35nGjoFK70RWkoF+IpFMzH7Sydu4 R7fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nhl8mHS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b29-20020a50ccdd000000b0046dd7c3ceb5si12209122edj.475.2022.12.14.07.30.00; Wed, 14 Dec 2022 07:30:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nhl8mHS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238726AbiLNOzl (ORCPT + 69 others); Wed, 14 Dec 2022 09:55:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238510AbiLNOzi (ORCPT ); Wed, 14 Dec 2022 09:55:38 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B655291 for ; Wed, 14 Dec 2022 06:55:36 -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 dfw.source.kernel.org (Postfix) with ESMTPS id DCC3461AED for ; Wed, 14 Dec 2022 14:55:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D06EC433EF; Wed, 14 Dec 2022 14:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671029735; bh=aIUcjrJWe/6VmRdzbrNHy/Um1b3+Ap5nYjNpcz68YL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nhl8mHS31fNXTMyQ8ogmJdLMpsCqlNgnkJQqSSydv/p+ybPcYFhDkLPMpqbb+q8Cs /eELwqr/DLYbNISJPVqCHuE/18y0dYVWDQTn0W/aOb06Lx4ItwaxPj5oeplz4iBgIS ITqVeh35ra3Did8HNBSuga4e5m2RZ7SKpJ01oaxKIU3GAZjyBwXhFqzAVSilmyiyWi sip1Y1Xk03RU+VM6QDs/wKL3avAGu7EDPTdhu46SqytN8R7NljaZuWuD4F+9Ll1RuQ Ro6TbvM/xKQJRflWCHMedDl9uL4S6wQ+lbXOp0o8P0hEBhhkXVIDrZEYrf07M3F/vp zglhhGdeEBrLA== Date: Wed, 14 Dec 2022 14:55:29 +0000 From: Mark Brown To: Zenghui Yu Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, oleg@redhat.com, catalin.marinas@arm.com, will@kernel.org, wanghaibin.wang@huawei.com, zhouquan65@huawei.com, sundongxu3@huawei.com Subject: Re: [PATCH] arm64: ptrace: Use ARM64_SME to guard the SME register enumerations Message-ID: References: <20221214135943.379-1-yuzenghui@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BQNb7uFIp4syjj72" Content-Disposition: inline In-Reply-To: <20221214135943.379-1-yuzenghui@huawei.com> X-Cookie: I disagree with unanimity. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org --BQNb7uFIp4syjj72 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 14, 2022 at 09:59:43PM +0800, Zenghui Yu wrote: > We currently guard REGSET_{SSVE, ZA} using ARM64_SVE for no good reason. > Both enumerations would be pointless without ARM64_SME and create two emp= ty > entries in aarch64_regsets[] which would then become part of a process's > native regset view (they should be ignored though). >=20 > Switch to use ARM64_SME instead. Reviewed-by: Mark Brown --BQNb7uFIp4syjj72 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmOZ4+AACgkQJNaLcl1U h9AHugf8CQA2r2CrjsV36di5ZaKR8pSFVsOrEianE/2KcHDA2BlWDR73Q23W/wRR idVbYoj+TB6BqMt+DWKwxgBWkNG0IFDf6MBOouQBKyHR1vUVypg7bWVwbcbw2yQA 8YsnXtbCn4QYzXo2C5wQFhZCx7t2+LlsdGixZGAR1bzrADXRPMVOOtRfVgC1HvUU vUGlj0Y8XGpUBACrMQ98aYXmYBq/Y5FELEDHIVi4+X1R1GTAGyzbggSsF1vYAp+4 6ZHxOJmyiNAERCwILkT9Q4kCvf7O8AfUvcPMcgCQHaEPA9uFCWchSQ5dzzeDm5/u wsyWRqSVjisM0YrPVEn6Ip6X51DUGA== =svIo -----END PGP SIGNATURE----- --BQNb7uFIp4syjj72--