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 A9B1BC0015E for ; Wed, 9 Aug 2023 16:12:10 +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=9HYEoza8hInAVY7kRr6chjNT3h/wr2amgKBzCv0KIzI=; b=sltmmkTzk6eVoE hkZTRnKyqepkGChzRA3Am1M3KT2qLiU622rfysBlpi3Ki4j3pNXBDHZ7zO3faJYuHU7fnXa0zw+H0 m9gXumZdJ6JBZ718ymWNZbDBN2XU80vNYATuR1gQ9b1E1VxG26eYN3mBQ5ngozhhkyABs18xMThbD wmSWjHynUqBld/U3uJUPWBSfwqtqVL19dmNkBhhSKZihKkGguLwsTIIT4HzFe6krcGVTn9+hnuV6F a4q3Ci3kGqpMoBxCWVdGz0BuMUxu54rSPnA/3D74rrwIeRrowqL2LZxBgBC9g5w8WiFTu70lChePQ acaVD0SnNaZe8Ko2ljvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTlmj-005N2o-2a; Wed, 09 Aug 2023 16:11:45 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTlmh-005N2G-2j for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 16:11:45 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 004A963E90; Wed, 9 Aug 2023 16:11:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E3E0C433CB; Wed, 9 Aug 2023 16:11:41 +0000 (UTC) Date: Wed, 9 Aug 2023 17:11:38 +0100 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm64/fpsimd: Only provide the length to cpufeature for xCR registers Message-ID: References: <20230731-arm64-sme-fa64-hotplug-v2-1-7714c00dd902@kernel.org> <3ccab5cb-9d19-40a2-ae9c-99d37996da9c@sirena.org.uk> <02b86e5c-221a-4e03-bdca-c7f7798e2e01@sirena.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <02b86e5c-221a-4e03-bdca-c7f7798e2e01@sirena.org.uk> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230809_091143_946435_0935FA59 X-CRM114-Status: GOOD ( 16.83 ) 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 Fri, Aug 04, 2023 at 05:37:25PM +0100, Mark Brown wrote: > On Fri, Aug 04, 2023 at 05:20:21PM +0100, Catalin Marinas wrote: > > On Thu, Aug 03, 2023 at 06:44:24PM +0100, Mark Brown wrote: > > > On Thu, Aug 03, 2023 at 05:39:38PM +0100, Catalin Marinas wrote: > > > > Maybe that's the simplest fix, especially if you want it in stable, but > > > > > > Yeah, it's definitely the sort of change we want as a fix - anything > > > more invasive would be inappropriate. > > > > I'd say it's still ok if we can just rip come code out safely (the fake > > ID reg). > > It's the safely bit that concerns me here - it feels like a great way to > discover why the code was there, possibly including a use that was there > in the past but has subsequently been removed so bites a stable version. As discussed earlier, let's queue this patch as is (for 6.6 I'd say) with cc stable and post a new patch on top that removes the fake CPUID register going forward, in case we missed anything. For this patch: Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 E21E1C04A6A for ; Wed, 9 Aug 2023 16:11:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229876AbjHIQLp (ORCPT ); Wed, 9 Aug 2023 12:11:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjHIQLo (ORCPT ); Wed, 9 Aug 2023 12:11:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B21A19E for ; Wed, 9 Aug 2023 09:11:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0D90163FDD for ; Wed, 9 Aug 2023 16:11:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E3E0C433CB; Wed, 9 Aug 2023 16:11:41 +0000 (UTC) Date: Wed, 9 Aug 2023 17:11:38 +0100 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm64/fpsimd: Only provide the length to cpufeature for xCR registers Message-ID: References: <20230731-arm64-sme-fa64-hotplug-v2-1-7714c00dd902@kernel.org> <3ccab5cb-9d19-40a2-ae9c-99d37996da9c@sirena.org.uk> <02b86e5c-221a-4e03-bdca-c7f7798e2e01@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02b86e5c-221a-4e03-bdca-c7f7798e2e01@sirena.org.uk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 04, 2023 at 05:37:25PM +0100, Mark Brown wrote: > On Fri, Aug 04, 2023 at 05:20:21PM +0100, Catalin Marinas wrote: > > On Thu, Aug 03, 2023 at 06:44:24PM +0100, Mark Brown wrote: > > > On Thu, Aug 03, 2023 at 05:39:38PM +0100, Catalin Marinas wrote: > > > > Maybe that's the simplest fix, especially if you want it in stable, but > > > > > > Yeah, it's definitely the sort of change we want as a fix - anything > > > more invasive would be inappropriate. > > > > I'd say it's still ok if we can just rip come code out safely (the fake > > ID reg). > > It's the safely bit that concerns me here - it feels like a great way to > discover why the code was there, possibly including a use that was there > in the past but has subsequently been removed so bites a stable version. As discussed earlier, let's queue this patch as is (for 6.6 I'd say) with cc stable and post a new patch on top that removes the fake CPUID register going forward, in case we missed anything. For this patch: Reviewed-by: Catalin Marinas