https://forum.level1techs.com/t/vega-10-and-12-reset-application/145666
-
-
Save numinit/1bbabff521e0451e5470d740e0eb82fd to your computer and use it in GitHub Desktop.
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c | |
index 44c4ae1abd00..27840129e4b0 100644 | |
--- a/drivers/pci/quirks.c | |
+++ b/drivers/pci/quirks.c | |
@@ -3433,6 +3433,14 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0034, quirk_no_bus_reset); | |
*/ | |
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_CAVIUM, 0xa100, quirk_no_bus_reset); | |
+/* | |
+ * Radeon RX Vega and Navi devices break on bus reset. Oi... | |
+ * This is *not a real workaround* - disabling bus reset | |
+ * for your GPU may have unintended consequences. | |
+ */ | |
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, 0x687f, quirk_no_bus_reset); | |
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, 0xaaf8, quirk_no_bus_reset); | |
+ | |
static void quirk_no_pm_reset(struct pci_dev *dev) | |
{ | |
/* |
Thats a Navi GPU, not Vega. See:
https://forum.level1techs.com/t/navi-reset-kernel-patch/147547/47
OH! i see now
@gnif just wanted to thank you for your hard work, you saved my brand new threadripper build. really can't thank you enough. new patreon incoming.
has there been any progress made on an upstream fix for this?
Thanks mate.
any progress made on an upstream fix for this
Not yet, things slowed down across the holiday break, contacts have gone quiet for now ;)
In the interim work is progressing on Looking Glass :)
Which file should you patch? How do I apply the patch?
Which file should you patch? How do I apply the patch?
first you must download the source code of the linux kernel. the patch is applied in the root directory of the linux kernel source, before compiling. please google how to apply patches to the linux kernel using your distro of choice. this thread should be for information pertinent to the patch, not generic questions about the linux kernel itself.
Could this be applied with kpatch/live patching?
so i did what you said, i downloaded the kernel and patched it, i installed the kernel, and when i run your script to test if it worked it gives me this