Thread (51 messages) 51 messages, 2 authors, 5h ago

Re: [PATCH v4 02/48] irqchip/gic-v5: Provide OF IRS config frame attrs to KVM

From: Marc Zyngier <maz@kernel.org>
Date: 2026-07-25 09:17:29
Also in: kvm, kvmarm

On Sat, 25 Jul 2026 10:06:42 +0100,
Marc Zyngier [off-list ref] wrote:
On Fri, 24 Jul 2026 11:48:56 +0100,
Sascha Bischoff [off-list ref] wrote:
quoted
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).

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.

Only OF (Device Tree) is supported with this change. ACPI is not.
From 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?
Bah, that was the followup patch. Ignore me.

	M.

-- 
Jazz isn't dead. It just smells funny.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help