Created attachment 283395 [details] pci patch that fixes pci passthrough for newer AMD Bios Hello, I am using a "AMD Ryzen 7 1700" on a "GA-AX370-Gaming 5". I recently updated to the latest BIOS from an older BIOS. Updating my bios broke PCI passthrough. Everytime I would try to start my virtual machine from virt-manager, I would get "Unknown PCI header type '127'" and my virtual machines would refuse to boot. It seems this is a common issue: 1. https://forum.manjaro.org/t/solved-agesa-0-0-7-2-based-bios-update-broke-iommu-redirection/88909 2. https://www.reddit.com/r/Amd/comments/bh3qqz/agesa_0072_pci_quirk/ However, following the solution in thread 1, I was able to fix pci passthrough. I simply applied this patch: https://clbin.com/VCiYJ to kernel 5.1.12 and it fixed PCI passthrough. This patch is also attached to this bug as a mirror. It would be great if this patch could get merged into upstream. Please let me know if I can provide any further information or assist in any way to make this happen. Thank you.