]> git.ipfire.org Git - thirdparty/qemu.git/commit
intel_iommu: Allow both Status Write and Interrupt Flag in QI wait
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 14 Jul 2025 08:00:47 +0000 (09:00 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Aug 2025 14:23:50 +0000 (10:23 -0400)
commite8145dcd311b58921f3a45121792cbfab38fd2f6
treeba8b897e086d44b662abee69bbf7b5a3ccf68788
parentcd16f08ad4bda8191e4de986d17184c9da5466cd
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>
Message-Id: <0122cbabc0adcc3cf878f5fd7834d8f258c7a2f2.camel@infradead.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/intel_iommu.c