Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35369791rwd; Mon, 10 Jul 2023 06:35:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlGeoQdD14FLIdocZSXrXNofMWE76R3JH6vFhbmpjT1aK9qExpVl1oZJgldc4zk3Ove1E0ue X-Received: by 2002:aa7:c1d4:0:b0:51d:d622:713d with SMTP id d20-20020aa7c1d4000000b0051dd622713dmr9722498edp.39.1688996155205; Mon, 10 Jul 2023 06:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688996155; cv=none; d=google.com; s=arc-20160816; b=LuHZL93neUxDBQ6RWd/uXI3YLArYS5uwoERnTPTysK6xRj31E+ab1K+ozOX81iifN2 UeFqWNcwsygPoONSi4+dQBhqgPtyHagH1doxpX+zY0j9Yk1Q1YrhNlVPF1FMY2JHolJr yfWcgDfqQLY7Pjm8G/HfQUBa31zlDkS8sOBX9UzvIBRybzvVo7M7MQ5VLcEj03MAVpYX IN3knLwjr/qEHQN0VJfdC1aIE1Bd6H4/ZMfdEELIwAJDcCDhj3xv9kqS5uG5ptyoqeRL dh6jRc/lUz8++tkgOYhTG1G25emHMfiK0sO3Wsps4KKTi8XWpSthCCdFn8SvGnjyHgKZ 0ZTA== 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=TQjyE3F4or+2zqVGdDIaESB6eFDpp/EHTMOFs+pxd4g=; fh=XFp5jOfo5q74svyJi4PmqGIO2+ORWyzqrvqur1uMfiE=; b=g5kVg16s4qjkLu6m0NOk/aItqpYCxU6xNxWBp14eA6bVlCQvBOi+e8NQqONIpZHuP7 R5FQ8TKL/iTtXBEFSKKrdJ4pEy7kIUmQEjwGpLaNufWlzHm1Fs81kwJtvKw9G2+Fz6+M X/if492ndT3Z3v4l7kUq1CW/nTIPLa+rqF2+/V9Qxcytrnn4HnDmSNJOQFY4dlvZaCjk qs3wHpIstyHZ44Mov0QqmhytwmobJun073fkg0NMrzsMPXk+RBla6O8CyYgkzdtlvSf7 BQh/4mO2G+lSh/A8WDBLodZJragFo+k4RzV3iHDlj5MF/52WSf8rCOR8/67mLNfUPEbP IyOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TpEBMDbs; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m18-20020aa7d352000000b0051d7e275e56si9020982edr.272.2023.07.10.06.35.31; Mon, 10 Jul 2023 06:35:55 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=TpEBMDbs; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232171AbjGJNcR (ORCPT + 99 others); Mon, 10 Jul 2023 09:32:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232383AbjGJNcN (ORCPT ); Mon, 10 Jul 2023 09:32:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 426FD118; Mon, 10 Jul 2023 06:31:48 -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 2B86B6100A; Mon, 10 Jul 2023 13:31:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEDCEC433C7; Mon, 10 Jul 2023 13:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1688995905; bh=Zae0sXZ1apKn8b44P9R9P2lKldy08yGANk4vIqeZlU0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TpEBMDbsZ4zuGsGTLnbNkZkxD78Qop9PdG2mTF/3in+XYZINwiy8E3DnGYBxT56uW FlwZUAutSZxHaHaF1bH1+/kdeO+zm2oH7pdw7iGFgDsJiznuRIATXGV6PNA3e+kEFC TpC/CsbKeigp0h5giJ5GNEoojyvUdk+mpZPQE7jU= Date: Mon, 10 Jul 2023 15:31:42 +0200 From: Greg KH To: Will Deacon Cc: Mark Brown , Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Kristina Martsenko , Catalin Marinas , james.morse@arm.com, mark.rutland@arm.com, amit.kachhap@arm.com, maz@kernel.org, anshuman.khandual@arm.com, joey.gouly@arm.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH AUTOSEL 6.4 07/12] arm64: cpufeature: detect FEAT_HCX Message-ID: <2023071024-unpaved-washed-4d7d@gregkh> References: <20230702195057.1787686-1-sashal@kernel.org> <20230702195057.1787686-7-sashal@kernel.org> <20230710094438.GD32673@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230710094438.GD32673@willie-the-truck> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 10, 2023 at 10:44:38AM +0100, Will Deacon wrote: > On Sun, Jul 09, 2023 at 10:13:29PM +0100, Mark Brown wrote: > > On Sun, Jul 09, 2023 at 10:56:13AM -0400, Sasha Levin wrote: > > > On Mon, Jul 03, 2023 at 12:51:57PM +0100, Mark Brown wrote: > > > > On Sun, Jul 02, 2023 at 03:50:52PM -0400, Sasha Levin wrote: > > > > > > > KVM currently relies on the register being present on all CPUs (or > > > > > none), so the kernel will panic if that is not the case. Fortunately no > > > > > such systems currently exist, but this can be revisited if they appear. > > > > > Note that the kernel will not panic if CONFIG_KVM is disabled. > > > > > > This is a new feature, it's not clear why we'd backport it (especially > > > > since it's a new feature which is a dependency for other features rather > > > > than something that people can use outside of the kernel)? > > > > > The second paragraph (above) suggested it should be. > > > > That's saying that the code won't work properly on systems where some > > but not all of the CPUs support the feature. Note that the changelog > > says nothing about fixing any issue here. > > Try reading it like a GPU running an ML model: > > "This is not a new feature, it's especially clear why we'd backport it." > > Makes sense. *sigh* > > We've been considering opting arm64 out of this for a while, but I don't > think we do a great job of CC'ing stable either (I certainly forget to > add it all the time and then hope that the Fixes: tag does the job),so > it's not obviously going to improve things. > > Maybe we just need a commit hook that yells if something with a Fixes: > tag doesn't have a CC: stable on it? I could start doing that, it's going to be really noisy... greg k-h