[Bug 108585] *ERROR* hw_init of IP block <gfx_v8_0> failed -22

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 31 15:13:27 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108585

--- Comment #14 from Alex Deucher <alexdeucher at gmail.com> ---
Created attachment 142303
  --> https://bugs.freedesktop.org/attachment.cgi?id=142303&action=edit
possible fix

(In reply to Benjamin Herrenschmidt from comment #12)
> We have no control on what firmware is loaded by the target distro so the
> right thing is going to reset the adapter.
> 
> We'll probably need to add something to the amdgpu shutdown() path to force
> an adapter reset.

Does the attached patch help?  I'd been hesitant to add reset to the shutdown
path because it adds latency to the regular shutdown path and users complain
when that slows down.

> 
> Do you have details of what specific PCIe config space write you use ? FLR ?

The reset sequence is asic specific.  older parts just happened to use PCI
config space to trigger a GPU reset via an AMD specific sequence.  Newer GPUs
reset via the PSP.  FLR is only available on SR-IOV capable skus so it's not a
general solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181031/1235f3b0/attachment.html>


More information about the dri-devel mailing list