So I recently built a new computer:
R5 1600
asrock ab350m pro4
32 gb ram
gtx1070 on cpu lanes (guest)
rx580 on chipset lanes (host)
OS: antergos
I built this computer to use for gpu passthrough. I recently finished going through the arch omvf guide on their wiki and have have a fully operational windows vm with my 1070 passed through. However while setting this up I ran into a strange issue.
After adding the required modules to mkinitcpio.conf and regenerating the initramfs I started getting what I have to assume are display driver crashes(all displays go to sleep with the system still on and dropping to a tty does nothing). They were happening at startup almost every time and seemingly randomly. I soon after discovered that the same thing would happen if I called lspci, and that if I called amd_iommu=off in the kernel params then it would boot cleanly and I could call lspci to my hearts content.
I recently realized that the crash at startup is likely only happening if hardware changes occur that would cause lspci to run to detect the devices. But I’m still completely stumped as to the root cause or how to properly fix this.