[Bug 288122] msi_map: unsupported destination APIC ID 257

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Jul 2025 22:41:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288122

--- Comment #8 from dwmw2@infradead.org ---
I appreciate I'm looking at three different scenarios here:
 • AMD IOMMU
 • VT-d IOMMU
 • 15-bit APIC ID enlightenment

To start with, I'll settle for finding *any* way of getting FreeBSD to boot and
target interrupts at all vCPUs (ideally including I/O APIC and HPET interrupts
which are all just the same MSIs under the hood).

I'm really looking for a way to do so *without* having to have the VMM support
DMA translation though. So that's ideally the 15-bit enlightenment, or VT-d
with `-device intel-iommu,dma-translation=off,intremap=on`.

There is no way for the AMD IOMMU to advertise that it can do interrupt
remapping but not DMA translation. But thankfully no need to do so either. Just
as you can use an AMD CPU with an Intel NIC, you can use and AMD CPU with an
Intel IOMMU and that works just fine in QEMU (and other guest operating systems
like Linux). Haven't quite worked out how to get that working in FreeBSD yet...

-- 
You are receiving this mail because:
You are the assignee for the bug.