On Tue, Nov 13, 2018 at 8:23 PM John Mitchell <sonwo...@gmail.com> wrote:
>
> On Tuesday, November 13, 2018 at 5:21:22 PM UTC+1, Radosław Szkodziński wrote:
> > On Tue, Nov 13, 2018 at 12:02 PM John Mitchell <snip> wrote:
> > >
> > > On Tuesday, November 13, 2018 at 5:01:06 AM UTC+1, Radosław Szkodziński 
> > > wrote:
> > > > On Thu, Nov 8, 2018 at 11:48 AM Marek Marczykowski-Górecki
> > > > <marmarek@<snip>> wrote:
> > > > >
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA256
> > > > >
> > > > > On Thu, Nov 08, 2018 at 01:52:37AM -0800, John Mitchell wrote:
> > > > > > On Thursday, November 8, 2018 at 10:24:13 AM UTC+1, Laszlo Zrubecz 
> > > > > > wrote:
> > > > > > <snip>
> > >
> > > Thank you for the informative reply.
> > >
> > > It appears the Vega reset bug is related to the VM presenting the card as 
> > > a legacy PCI device rather than a PCIe device.
> >
> > AMD has said that Vega needs PSP reset issued before disabling IOMMU
> > otherwise its internal bus will be all sorts of messed up and
> > unavailable.
> > Alternatively you can quirk this device to not be reset and put in D3
> > at all, then it will be reset by the driver on next guest boot, but
> > that has some security implications.
>
> I've discovered a way to reset the card inside of Windows during shutdown and 
> startup.  So I think I am good there.  I admit I haven't been able to test 
> this for myself.

If you happen to have the information on how to make Windows 10 1803
or preferably 1809 and AMD drivers 18.xx to reset the GPU, please
share, since that'd be faster for me than patching vfio-pci with PSP
reset code.

I've tried various approaches including ejecting the device and they
have all failed. (The device is clearly enabled - the power lights
show it.) The dmesg shows IOVA errors as the GPU is trying to access
old invalid mapping and IOMMU prevents this.
With 17.xx drivers everything just works as the driver resets the GPU
on next boot with the flashing power light...

-- 
Radosław Szkodziński

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-devel@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/CAAmECqTCd3p2Jc2VqyJa1Le6wVAp0X00ELBjdJjUfzjXn9N7KQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to