On Mon, 7 Jul 2025 at 16:44, Marc Zyngier <m...@kernel.org> wrote:
>
> On Mon, 07 Jul 2025 15:46:04 +0100,
> Peter Maydell <peter.mayd...@linaro.org> wrote:
> > Speaking of GIC ID registers, we never updated QEMU to
> > handle the GICv4.1 GICD_TYPER2 register, so we don't try
> > to send and sanity check that on migration at the moment.
>
> KVM only exposes a virtual GICv3 to the guest, even in the host can do
> GICv4.0+. The only nit is the "nASSGIcap" bit, which is always
> advertised to the guest when the host if v4.1-capable. We have a patch
> series in progress to address this and make it controllable.

Isn't that out-of-spec? If the GIC the guest sees is a GICv3
then GICD_TYPER2 should be RES0...

Anyway, I have some lightly tested QEMU patches that
migrate the GICD_TYPER2 value, which I'll send out in a moment.

-- PMM

Reply via email to