]> www.infradead.org Git - users/dwmw2/qemu.git/commit
intel_iommu: Allow both Status Write and Interrupt Flag in QI wait vt-d
authorDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 10 Jul 2025 10:40:36 +0000 (11:40 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 14 Jul 2025 07:51:59 +0000 (08:51 +0100)
commit09c07a15c73b77ea8955a6a68d8f21cf0d21e42b
treeca135f9160c4a17639a05119dd7154676e49335d
parentdf6fe2abf2e990f767ce755d426bc439c7bba336
intel_iommu: Allow both Status Write and Interrupt Flag in QI wait

FreeBSD does both, and this appears to be perfectly valid. The VT-d
spec even talks about the ordering (the status write should be done
first, unsurprisingly).

We certainly shouldn't assert() and abort QEMU if the guest asks for
both.

Fixes: ed7b8fbcfb88 ("intel-iommu: add supports for queued invalidation interface")
Closes: https://gitlab.com/qemu-project/qemu/-/issues/3028
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/intel_iommu.c