Bug 203957 - AGESA 0.0.7.2. based BIOS update broke IOMMU redirection
Summary: AGESA 0.0.7.2. based BIOS update broke IOMMU redirection
Status: NEW
Alias: None
Product: Virtualization
Classification: Unclassified
Component: kvm (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: virtualization_kvm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-23 00:22 UTC by anjan
Modified: 2019-06-23 00:23 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.1.12
Subsystem:
Regression: No
Bisected commit-id:


Attachments
pci patch that fixes pci passthrough for newer AMD Bios (1.77 KB, patch)
2019-06-23 00:22 UTC, anjan
Details | Diff

Description anjan 2019-06-23 00:22:56 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.