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 D9F0DEB64DD for ; Sun, 9 Jul 2023 14:57:00 +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-Type: Content-Transfer-Encoding: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=3LdpBE0KvlXMNtVv0If0gTMbFQV3l/cJ1gS5+Y8cw+I=; b=DNdWqqsUcKZcxvRRToTdZvWOGZ bkdMngXiTuk7EAgJyDxEYZ9LduRJ3CJ21NO55ltCD55U9w05yNN15XJGsC8Jf+9pS1wdplBrjk+8Q sOk5C5HQRwYdzMNN4/3ZRmFLp2eHDbCJ5P9LshchgMZ8Yi4jduy0H2KtMJcso6QuKluGe+NUE8bRU RSPTnIvLotLaW4awL5kxhgKjZYjaEsse62hR7K6RLS0eq4Gps/ZgTp4PgLsyZjKZFlZ7DS6Q1dQNL n15WL1SOM9tAulmlsM/owvGGubyoxgSNb2lMHTVwIn5+3OaWGiafdtRnSFYTvZtngFMTkMuc87TR5 43QSzIBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qIVpj-009Hk0-2m; Sun, 09 Jul 2023 14:56:19 +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 1qIVpg-009HjC-0v for linux-arm-kernel@lists.infradead.org; Sun, 09 Jul 2023 14:56:17 +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 99FB460C21; Sun, 9 Jul 2023 14:56:14 +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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230709_075616_370465_5CB60130 X-CRM114-Status: GOOD ( 12.36 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel