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 38D2CCAC5A0 for ; Wed, 17 Sep 2025 16:23:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6T4VrUGpHm4S2JBn1Suue/djS5Gq+TSaIJ2MAK8yATw=; b=laoQQeXG1PlWnTXAjKe3C/cjMw zcHpoR/5bv9w3FprgIiwRoMsAgvhC++ZqKyOrccgm55pBDzCDfJbO9HAYzI17DuhmN78yV/RDcNFt koU1hLZZXvWpT6ckFU5gJ5+/kxlIpJx5WY0TqVQRDH0yp2L3By8AYiZEhQiSvA07QIpmrxQ8mn6E9 6DKq6DV83q9TtfhfBRwlaGJxPResiJ6gpF8udmq2fl1pwyOV9V3JsScZNO9e0PQqLawPm7wy2OItY cIBnlcadQTNiltN1tSGwafQNQqMLlxciZRrGm8t/IRiJgs1XuZVI8MWkOOtma/j90SQP5/w0dPZZr bN0nrB0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyuw5-0000000D7TA-3qy1; Wed, 17 Sep 2025 16:23:13 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyuw4-0000000D7SG-1l72 for linux-arm-kernel@lists.infradead.org; Wed, 17 Sep 2025 16:23:12 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id BB90060239; Wed, 17 Sep 2025 16:23:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65058C4CEE7; Wed, 17 Sep 2025 16:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758126191; bh=9WSFumWUM+iDYPWeZ4g7rzOwgg3/uhk4ULpV1IZjzl0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Kfzj1gnhpIZIlSPLY/n2BOgor5Q8F4ztJr6k1ThhlxR+9gsvxo33Its/rk0lxWDEa kQMdfrnrLDl4nFOaB8Rp1etdML05U2P1DIxf8tbpfbCHL7R5d7R9ZFVsR8H0uV7JhE BH+95ZqPe7PISfmGarbuBioxBTAXfUP7jg5saw4yLgYpNB6RwTgNaOYux39yx7hB3e FET/o+5vB5i3A9XWDEqsUualCOk6gxTzumiLMP1GbDQ9+6LOekeCvcQCOIXWug3AlP D6nvLVHTS0IJadn4FFX/GbvGR63mT/jj+VNRCG6b0DA1DZHMZh8lFc3v/K9PX4QOYa ALNAw4EYVBjPA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1uyuw1-000000079gN-05oW; Wed, 17 Sep 2025 16:23:09 +0000 Date: Wed, 17 Sep 2025 17:23:08 +0100 Message-ID: <86o6r9121f.wl-maz@kernel.org> From: Marc Zyngier To: Sascha Bischoff Cc: "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , nd , "oliver.upton@linux.dev" , Joey Gouly , Suzuki Poulose , "yuzenghui@huawei.com" , "will@kernel.org" , "tglx@linutronix.de" , "lpieralisi@kernel.org" , Timothy Hayes Subject: Re: [PATCH 1/5] KVM: arm64: Allow ICC_SRE_EL2 accesses on a GICv5 host In-Reply-To: <20250828105925.3865158-2-sascha.bischoff@arm.com> References: <20250828105925.3865158-1-sascha.bischoff@arm.com> <20250828105925.3865158-2-sascha.bischoff@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: Sascha.Bischoff@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, nd@arm.com, oliver.upton@linux.dev, Joey.Gouly@arm.com, Suzuki.Poulose@arm.com, yuzenghui@huawei.com, will@kernel.org, tglx@linutronix.de, lpieralisi@kernel.org, Timothy.Hayes@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 28 Aug 2025 11:59:42 +0100, Sascha Bischoff wrote: > > The bet0 release of the GICv5 specification didn't include the > ICC_SRE_EL2 register as part of FEAT_GCIE_LEGACY. This was an > oversight, and support for this register has been added as of the bet1 > release of the specification. > > Remove the guarding in the vGICv3 code that skipped the ICC_SRE_EL2 > accesses for a GICv5 host. As a result of this change, it now becomes > possible to use nested virtualisation on a GICv5 host when running > legacy GICv3-based VMs. > > Signed-off-by: Sascha Bischoff I just remembered my promise from almost 3 weeks ago, and just posted this: https://lore.kernel.org/r/20250917161935.1630908-1-maz@kernel.org which kills two birds with one stone. I'll take it as a prefix to this series. Thanks, M. -- Without deviation from the norm, progress is not possible.