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 7306BC531C9 for ; Sat, 25 Jul 2026 09:05:33 +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-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Subject:Cc:To:From: Message-ID:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/ZTWXbadlr43YLSlfrFSiwBYpiEvCpyY8jaHgKQxgEM=; b=e2yIr59Q1Yxuh56Ecvp6kpcu46 13Iz7RECpxg0UH9rn9xnQsbQhF9Qnp2LnWvHB142x1snpQ7u4zDiT3ocNpwsRd7SCROBv7y4tOUQW hWLfKKeiGFU2Zk+n6p1MH0u9ovZ+AojqEmsbShLrmGK4ngNgCUYx7nRSqQ1jpeR9nxuhZoZbCuSzG O4TEzNbbYfq6JpwwKE2vVV1/PS9/SqPFgaTNxuXEqyHZUysGuVfX5PUTT876hqzK6YfO8JJbfXA5O pTJhTAQAxxDW0mTCVESkChh2gbKF6o443RhT4et7Wy/HbmvUPrcn82aqqWxStaifWuckra3zqogIt wqBYts8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wnYJx-00000000C57-1Q0E; Sat, 25 Jul 2026 09:05:25 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wnYJv-00000000C4x-1VLr for linux-arm-kernel@lists.infradead.org; Sat, 25 Jul 2026 09:05:23 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 7E769433EB; Sat, 25 Jul 2026 09:05:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61BB71F000E9; Sat, 25 Jul 2026 09:05:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784970321; bh=/ZTWXbadlr43YLSlfrFSiwBYpiEvCpyY8jaHgKQxgEM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=TGlIJicWh376tX6fmEEgr/sa76Sp31gib1yctmYNnJlWc6OdhO9bAGcgXTBDLB2u/ MYxlDhy35SPZ4mYOswhTmCBcwg7PdgWxPykD2M9NOrg0nBd3/FUBKSkmwJQO3jqdIz M6PZ0mCjBrS+Pgt+PxZ6LoBm9FLgrPIX2rvd4wxYH+zdcVXAOhyoqbdX6yLJ61WMzB UPq05VEfrugTMo6Hy+VLw85byjvym6iZPuj1bPzrG7ca2IKUn+F79QaiurFI5jm+VB ApfQrbuwtBIO7h7L3pHkTg20manKE0dsCKN85dQZiA1pBVBkLyYzcsuYS8nxnW2Kn1 eB6UbMorMvSwQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=lobster-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 1wnYJr-00000008iRl-0d2l; Sat, 25 Jul 2026 09:05:19 +0000 Date: Sat, 25 Jul 2026 10:06:42 +0100 Message-ID: <877bmjqvz1.wl-maz@kernel.org> From: Marc Zyngier To: Sascha Bischoff , Lorenzo Pieralisi Cc: "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.linux.dev" , "kvm@vger.kernel.org" , nd , "oliver.upton@linux.dev" , Joey Gouly , Suzuki Poulose , "yuzenghui@huawei.com" , "peter.maydell@linaro.org" , Timothy Hayes , "fuad.tabba@linux.dev" Subject: Re: [PATCH v4 02/48] irqchip/gic-v5: Provide OF IRS config frame attrs to KVM In-Reply-To: <20260724104819.1296803-3-sascha.bischoff@arm.com> References: <20260724104819.1296803-1-sascha.bischoff@arm.com> <20260724104819.1296803-3-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 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: Sascha.Bischoff@arm.com, lpieralisi@kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, nd@arm.com, oliver.upton@linux.dev, Joey.Gouly@arm.com, Suzuki.Poulose@arm.com, yuzenghui@huawei.com, peter.maydell@linaro.org, Timothy.Hayes@arm.com, fuad.tabba@linux.dev 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 Fri, 24 Jul 2026 11:48:56 +0100, Sascha Bischoff wrote: >=20 > KVM needs to interact with the host IRS in order to, for example, make > VMs or VPEs valid. There are two potential approaches here. Either the > host irqchip driver can provide an interface, or KVM can interact > directly with the host IRS. The latter of these two is chosen as the > set of MMIO registers that KVM needs to interact with is orthogonal to > the set used by the host irqchip driver (with the exception of some of > the read-only IRS_IDRx registers). >=20 > Pass KVM a pointer to an IRS config frame - the config frame belonging > to ANY IRS is fine as long as one IRS's config frame is used > consistently - in struct gic_kvm_info. Additionally, include a flag > telling KVM whether the IRS is coherent or non-coherent in order to > make sure that KVM can do the correct cache state management, if > required. >=20 > Only OF (Device Tree) is supported with this change. ACPI is not. =46rom what I can see, the ACPI support has completely ignored the KVM setup. This would need to be addressed quickly. Lorenzo, what's the status of ACPI support? M. --=20 Jazz isn't dead. It just smells funny.