https://bugs.freedesktop.org/show_bug.cgi?id=108585
--- Comment #12 from Benjamin Herrenschmidt benh@kernel.crashing.org --- 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.
Do you have details of what specific PCIe config space write you use ? FLR ?