https://bugzilla.kernel.org/show_bug.cgi?id=203957 Bug ID: 203957 Summary: AGESA 0.0.7.2. based BIOS update broke IOMMU redirection Product: Virtualization Version: unspecified Kernel Version: 5.1.12 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: anjan@xxxxxxx Regression: No Created attachment 283395 --> https://bugzilla.kernel.org/attachment.cgi?id=283395&action=edit 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. -- You are receiving this mail because: You are watching the assignee of the bug.