Comment 43 for bug 1810239

Revision history for this message
In , lk (lk-linux-kernel-bugs) wrote :

(In reply to Andrew Cooks from comment #22)
> Created attachment 109981 [details]
> Patch with quirk for incorrect PCI requester IDs
>

I'm trying to enable the iommu on a gigabyte z87x-ud5h board and a VIA firewire controller and a Marvell 88SE9230 SATA controller is misbehaving. I'll add a couple of entries to your lists when I'm done testing.

I've found one thing that looks a bit strange in your patch. The pci_requester() function is using the devfn member to break the for loop. Take a close look at the last entry for "Mellanox 26428" in the pci_dev_dma_source_map. The devfn members value will break the loop. That entry, and any entry later appended to the list, will not be evaluated.