Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp34255724rwd; Sun, 9 Jul 2023 08:07:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlG4jwVLojR/jHCYoJceuhoHb+ErOSRXcqaRLQk9pt90Dt250YTdK3PrNIcygDEsrRfefqH0 X-Received: by 2002:a5d:4c45:0:b0:314:12c:4322 with SMTP id n5-20020a5d4c45000000b00314012c4322mr9330156wrt.4.1688915256524; Sun, 09 Jul 2023 08:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688915256; cv=none; d=google.com; s=arc-20160816; b=J6kbQdjBXnoq25rrGZlGwKszJg/1/wZUR2RWVo/4P6RpStQQlzu0eL+kY4Gef00/Pk GrSRYC5EXIqxFWJaaSEWZ9zLFCMGLUdQujS4VhSLn/a7dBDQ+tnhaBYncjuQQ81JAD85 z+JHl5iN/K5se0nAPz5A2aayqWWeBctpNjdlEpviPne0Gw0vFC/WUyi3r0u70Y+Fs21U 16+xmgUOwTtP5UXhVA2uuOeKGQnAwk0OoGHYrCnJczbBh6WRFt6ZdaK/55uUxj+peema lygjTSRC7fCfriADxtxNG0MNAFtk2f0i7HWoQmGwcPLMsKvemaeJIk3NvkLBJjOa9lAP yhvg== 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=AzLPWvDQq2e+o2WZC5Nf5KeNMlDOXkqaYY0Z8l8P390=; fh=NX4Yn4nlGdt835H1MvA6iNAXNXGlsB1tHhKP4OlKRzA=; b=MJ7E4LLqkktvsOIEimnwbJ1WXZTAjZ/TNT4bvrjrepxT72VB9KWTbox9Fnnj193QWG R6pm6im5KoRRPQB3Es0k0EkmSUPoAH58bUMzt3dtTTnH2bYLUbSzjMkvV62CAZ6ntjZ/ axCmFxGAWQ6m/xyYfFS+DPTRj0r2kUgl9oWaPY5YyiFhgsGHzLWLifUD3kwfxeB3n+xA HO4Fi5EcB0M7IRY55B8WwyMWf0Ehf49Ja/HwoHETnkt91inORoAbzefQbQJy7NXs1KnI GiUrRNxJ997lhvhaiYGh2g1+iczTMhHN9qrtLxw+lJjLTqQI+Z5OHegtUeq41wa9e1jd wz1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CJ8gC1F5; 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 b21-20020aa7c6d5000000b0051e0f286ebasi6338762eds.491.2023.07.09.08.07.12; Sun, 09 Jul 2023 08:07:36 -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=CJ8gC1F5; 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 S229849AbjGIO5k (ORCPT + 99 others); Sun, 9 Jul 2023 10:57:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230040AbjGIO5i (ORCPT ); Sun, 9 Jul 2023 10:57:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9541E1B4; Sun, 9 Jul 2023 07:57:10 -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 065AE60B83; Sun, 9 Jul 2023 14:56:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3ED66C433C7; Sun, 9 Jul 2023 14:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688914574; bh=s/KLEUrpUPS3pZCuQPjKoUSGuWuJeNp/7nLddxJ79rk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CJ8gC1F5cddng7dJg4Ip4ExhBbTtaLPrv7spAw+OKkco6XZTsTv1alvqxJPLPeJE+ GPZbHtz2ssfXahUqVEaQ0JLAMrGMmJetiTLA5iKX5kJ1L7Edf8aNv8PBLlNKBnNFTL p2QAZSFIVDJPgcEyZbHt4ujCv9cNIBDPwYhO2x4FlLY1mSUs9ZVkMEkSScxws+i8r5 ur4nlhF9JtrzooSnWvcG+5d6V76hYOmnfOemy3GXqZz3+LZFsyLtoy/O8kOsDpm7oM GYtTThvTyu9md0EYgFIQdIbuYVQ84uRY0Hidv+zU05YMlbWAdvOvUHtY2UYrVpa5Bp e7ksEuXc6+HvA== Date: Sun, 9 Jul 2023 10:56:13 -0400 From: Sasha Levin To: Mark Brown 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: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: 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 03, 2023 at 12:51:57PM +0100, Mark Brown wrote: >On Sun, Jul 02, 2023 at 03:50:52PM -0400, Sasha Levin wrote: >> From: Kristina Martsenko >> >> [ Upstream commit b0c756fe996ac930033882ca56410639e5cad1ec ] >> >> Detect if the system has the new HCRX_EL2 register added in ARMv8.7/9.2, >> so that subsequent patches can check for its presence. >> >> 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. -- Thanks, Sasha