kernel: bump 5.4 to 5.4.150
[openwrt/openwrt.git] / target / linux / octeontx / patches-5.4 / 0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch
index f7bc97c0353746f5189134183dba8ad80bb2a00c..18b5f49073b869f7172bd6dff2cdd54e6a888ad5 100644 (file)
@@ -12,22 +12,20 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
  drivers/pci/quirks.c | 32 ++++++++++++++++++++++++++++++++
  1 file changed, 32 insertions(+)
 
-diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
-index 419dda6..40e2ddb 100644
 --- a/drivers/pci/quirks.c
 +++ b/drivers/pci/quirks.c
-@@ -26,6 +26,7 @@
+@@ -25,6 +25,7 @@
  #include <linux/ktime.h>
  #include <linux/mm.h>
  #include <linux/nvme.h>
 +#include <linux/of.h>
  #include <linux/platform_data/x86/apple.h>
  #include <linux/pm_runtime.h>
- #include <linux/switchtec.h>
-@@ -5216,3 +5217,34 @@ static void quirk_reset_lenovo_thinkpad_p50_nvgpu(struct pci_dev *pdev)
- DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_VENDOR_ID_NVIDIA, 0x13b1,
                            PCI_CLASS_DISPLAY_VGA, 8,
-                             quirk_reset_lenovo_thinkpad_p50_nvgpu);
+ #include <linux/suspend.h>
+@@ -5783,3 +5784,34 @@ static void apex_pci_fixup_class(struct
+ }
DECLARE_PCI_FIXUP_CLASS_HEADER(0x1ac1, 0x089a,
+                              PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class);
 +
 +#ifdef CONFIG_PCI_HOST_THUNDER_PEM
 +/*
@@ -59,6 +57,3 @@ index 419dda6..40e2ddb 100644
 +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_PLX, 0x8606, newport_pciesw_early_fixup);
 +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_PLX, 0x8604, newport_pciesw_early_fixup);
 +#endif /* CONFIG_PCI_HOST_THUNDER_PEM */
--- 
-2.7.4
-