Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp34529571rwd; Sun, 9 Jul 2023 14:18:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlHfZ6TfcNQNU5o7y+3Etrdzpx114u1oIZkOwHsdg2hlrmS/lbXTgAR8o6SqvLsO8KOiibL9 X-Received: by 2002:a05:6a00:2d1b:b0:681:142f:e8e3 with SMTP id fa27-20020a056a002d1b00b00681142fe8e3mr12837869pfb.14.1688937529722; Sun, 09 Jul 2023 14:18:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688937529; cv=none; d=google.com; s=arc-20160816; b=UyKDY/ENtmKRAXl1205YUWeron81RNEyy50mt/7sK9MGBYKmpLa4h3+kZu3nrNDKDB Lzp544/OccwZdNl9cUAl6FIxurYPVOJAKhkjy2luXJwIqOuUDYWy0Cv02SuRATg7V9O2 w5TbpLWHrIs0LWSlUWLdtb5AJSh4d/H7Z51NvVAEaArU0T6xJtMh5A/mVRSU9AKMG6oe hp1L+EqfkTT6RDjf3IZoUfFlCNN3/3aLULT/hhHRD3DhJnKWiJV5L58Mnq5PuIVeZUEH BvGtp5mgAyLSCiY5iYjILJZH6OOglvOHYe/SDc12Zum7YS7RQpZ5iENruQODyYk/zRx6 p3og== 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=Zs6hcWvemPz48AHTFtnUs+qej5ilI1sIFk3I0WsGHvM=; fh=VfAPqpuyOuWrGxuSu4PjZzfNiujpARc/p7hqXdWtmUI=; b=wJih6lDB8dNkFq60ZchM8Upw+gDmiYQHp0X8rFDuIjiy9CMJvGpEtprdbPYtFty2Wn awb+oD2CGgP0czjbWg20oM+V4+vMVt1f+O2GqW3GkzInOuuxgFs/9bpJx/tjzpsbJaSY kyTx7UmdPkRyoeHYLGxfXN7SoiJDD3rhsPKw8rFP32X1PGvDu9BEjzLQ04htfe9KD4DZ U/XuB+OVZNam7fDyFEnszxQzprFQEPQLvtRbVk92XEn96sCmrJAH0BHMizEBNPCOQsnn yEflYQsLAjiuvJ/M8a/NwWe6EGtig26i6mM8hkDcfyu4DKe93hU5utS4M8z2+3Qm/j8e PDug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TavIYhZq; 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 n17-20020a056a000d5100b00682850547a9si7161939pfv.201.2023.07.09.14.18.38; Sun, 09 Jul 2023 14:18:49 -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=@kernel.org header.s=k20201202 header.b=TavIYhZq; 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 S229662AbjGIVNg (ORCPT + 99 others); Sun, 9 Jul 2023 17:13:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjGIVNf (ORCPT ); Sun, 9 Jul 2023 17:13:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63343118; Sun, 9 Jul 2023 14:13:34 -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 00A1660C40; Sun, 9 Jul 2023 21:13:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4AD5C433C7; Sun, 9 Jul 2023 21:13:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688937213; bh=pKIENcFMfmHWW0aomrKnw7J0Z58D77T1uCoJfi49OBU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TavIYhZq/WQcEHW6q2SSirWjPCfxH/RVgTPrZkH8RijsFM7ewlis3aoa8YPmZ9RLY Uel8TDEeQbSMWmWg8s+7tQaGchtExsEexGzpBYEi3FF+0pK0338VxddLPDbXsLCT1T Hg/4SrZ1XMwtigKhok2/BlGZGbEWFYcn+J/mHZxFZ3suIv+CQMO9IXDCLUFpK9N4se WL/W7S721STlbO5615JvD+zgJEBS9XnE1/4WJdQyUT9CfZfm0TtH1zugEjbyeqfUZM P1ZR5NEV1d8iCp1PBcdXF9pqTlvL805BeNGTK6/mLgjMvQpvBfBPRe7Na91h7kmGRx h2/L+rjgTLo/g== Date: Sun, 9 Jul 2023 22:13:29 +0100 From: Mark Brown To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Kristina Martsenko , Catalin Marinas , will@kernel.org, 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: References: <20230702195057.1787686-1-sashal@kernel.org> <20230702195057.1787686-7-sashal@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+qXkK1XcJkg4nect" Content-Disposition: inline In-Reply-To: X-Cookie: Slow day. Practice crawling. 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 --+qXkK1XcJkg4nect Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --+qXkK1XcJkg4nect Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmSrIvgACgkQJNaLcl1U h9AASgf/VUrMTlXCkMU4qomOSAYkBpeDf7op2KUSgZUUHu5rDYjCyxTgwqmtfnE2 +P4vQIovegrMJBKbupm80uqadBMfxS2kH/yT4BuIBzVTuuR9kSRZeuXaBTtXQxZc Ha4rsOYJ3bXeoMkGLIJrS6UPUfULg406ccC39LFf1fOZd6YWG2iLM5Z2Z7+szL5D AiYc6uOS3onLDcUGH/gpoxH5rGbzrFqvgxW9w90H9UgLIoZHFLrorKAuCG20vc7m D6MMY+DrAiEGdOvpI7CCUPmXZAVpdceLYrAPaRAs5JBLIK0Q4OCWQNK0kjebqv8p WQWjjUQ57C3uXR4IHyRid7q3EJ1w1Q== =dQnC -----END PGP SIGNATURE----- --+qXkK1XcJkg4nect--