Re: [vfio-users] Ryzen/X370 Chipset and IOMMU Groups

2017-08-10 Thread Friedrich Oslage
Well, it finally happened: ASUS added ACS support in the BIOS. Don't know if they did if because of the ticket or because they felt it was the right thing to do but with BIOS version 1403 my Crosshair VI Hero doesn't require the ACS patch anymore. The 'ACS Enable' option is located under Advanced/A

Re: [vfio-users] Ryzen/X370 Chipset and IOMMU Groups

2017-03-23 Thread Friedrich Oslage
I can confirm the ACS patch works. Both of my cards are now in separate iommu groups and running a Windows 10 VM with the Geforce passed through works just fine. AVIC also works. My BIOS doesn't have any options related to it, passing kvm_amd.avic=1 is enough to enable it. dmesg: https://paste.poun

Re: [vfio-users] R9 290 Passthrough not working on Linux

2017-02-26 Thread Friedrich Oslage
Don't know if that's the cause for the amdgpu driver to fail but in your libvirt xml you are splitting the multifunction device into two separate devices. For the primary device you have: source: virtual: And for the audio subdevice you have: source: virtual: Which should reside on the same

Re: [vfio-users] Crossfire - has anyone tried it?

2017-02-12 Thread Friedrich Oslage
Crossfire requires a mainboard chipset which supports crossfire. Qemu can emulate a 440fx or q35 chipset, neither of them are listed in AMD's compatibility chart [1]. AMD stopped using bridging ports a few years ago and switched to XDMA for GPU intercommunication. That means all communication is d

Re: [vfio-users] cpu usage in guest != cpu usage in host, even with exclusive pinning

2016-01-19 Thread Friedrich Oslage
le of debugging the kernel, therefore bisecting was my only hope... Regards, Friedrich On 01/17/2016 10:29 AM, Friedrich Oslage wrote: > Hi, > > my host system is linux-4.4.0 with qemu-2.5.0 and a 4-core i7. Linux is > booted with isolcpus=1-3,5-7 to reserve 3 cores + threads for the >

[vfio-users] cpu usage in guest != cpu usage in host, even with exclusive pinning

2016-01-17 Thread Friedrich Oslage
Hi, my host system is linux-4.4.0 with qemu-2.5.0 and a 4-core i7. Linux is booted with isolcpus=1-3,5-7 to reserve 3 cores + threads for the Windows 10 VM. The VM's 3 cores(2 threads each) are pinned to the respective physical core/thread. The iothread is pinned to 1-3,5-7. When i start a simple