diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2017-08-17 10:51:05 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2017-08-17 12:34:34 +0200 |
commit | 2d02a4f5bda4a5ff392286360ec7d1129bd77d25 (patch) | |
tree | c243a9231fd508b585c2711e8b691e8ca06d2988 /target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch | |
parent | d9564d79b8e91eed23c45afd2eb4a71a97c922eb (diff) | |
download | upstream-2d02a4f5bda4a5ff392286360ec7d1129bd77d25.tar.gz upstream-2d02a4f5bda4a5ff392286360ec7d1129bd77d25.tar.bz2 upstream-2d02a4f5bda4a5ff392286360ec7d1129bd77d25.zip |
kernel: update 4.9 to 4.9.44
Refresh patches.
Adapt 704-phy-no-genphy-soft-reset.patch.
Remove brcm2708/950-0005-mm-Remove-the-PFN-busy-warning.patch.
Compile-tested on brcm2708/bcm2708 and x86/64.
Runtime-tested on brcm2708/bcm2708 and x86/64.
Fixes the following vulnerabilities:
- CVE-2017-7533
- CVE-2017-1000111
- CVE-2017-1000112
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch')
-rw-r--r-- | target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch b/target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch index 33fbf34c4f..e2d8a32713 100644 --- a/target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch +++ b/target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch @@ -8,11 +8,9 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> include/linux/usb/hcd.h | 7 +++++++ 3 files changed, 40 insertions(+), 1 deletion(-) -Index: linux-4.9.40/drivers/usb/host/pci-quirks.c -=================================================================== ---- linux-4.9.40.orig/drivers/usb/host/pci-quirks.c -+++ linux-4.9.40/drivers/usb/host/pci-quirks.c -@@ -106,6 +106,8 @@ struct amd_chipset_type { +--- a/drivers/usb/host/pci-quirks.c ++++ b/drivers/usb/host/pci-quirks.c +@@ -107,6 +107,8 @@ struct amd_chipset_type { u8 rev; }; @@ -21,7 +19,7 @@ Index: linux-4.9.40/drivers/usb/host/pci-quirks.c static struct amd_chipset_info { struct pci_dev *nb_dev; struct pci_dev *smbus_dev; -@@ -503,6 +505,10 @@ void usb_amd_dev_put(void) +@@ -510,6 +512,10 @@ void usb_amd_dev_put(void) } EXPORT_SYMBOL_GPL(usb_amd_dev_put); @@ -32,7 +30,7 @@ Index: linux-4.9.40/drivers/usb/host/pci-quirks.c /* * Make sure the controller is completely inactive, unable to * generate interrupts or do DMA. -@@ -582,8 +588,17 @@ reset_needed: +@@ -589,8 +595,17 @@ reset_needed: uhci_reset_hc(pdev, base); return 1; } @@ -50,15 +48,13 @@ Index: linux-4.9.40/drivers/usb/host/pci-quirks.c static inline int io_type_enabled(struct pci_dev *pdev, unsigned int mask) { u16 cmd; -@@ -1150,3 +1165,4 @@ static void quirk_usb_early_handoff(stru +@@ -1157,3 +1172,4 @@ static void quirk_usb_early_handoff(stru } DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_SERIAL_USB, 8, quirk_usb_early_handoff); +#endif -Index: linux-4.9.40/drivers/usb/host/pci-quirks.h -=================================================================== ---- linux-4.9.40.orig/drivers/usb/host/pci-quirks.h -+++ linux-4.9.40/drivers/usb/host/pci-quirks.h +--- a/drivers/usb/host/pci-quirks.h ++++ b/drivers/usb/host/pci-quirks.h @@ -4,6 +4,9 @@ #ifdef CONFIG_PCI void uhci_reset_hc(struct pci_dev *pdev, unsigned long base); @@ -95,10 +91,8 @@ Index: linux-4.9.40/drivers/usb/host/pci-quirks.h #endif /* CONFIG_PCI */ #endif /* __LINUX_USB_PCI_QUIRKS_H */ -Index: linux-4.9.40/include/linux/usb/hcd.h -=================================================================== ---- linux-4.9.40.orig/include/linux/usb/hcd.h -+++ linux-4.9.40/include/linux/usb/hcd.h +--- a/include/linux/usb/hcd.h ++++ b/include/linux/usb/hcd.h @@ -461,7 +461,14 @@ extern int usb_hcd_pci_probe(struct pci_ extern void usb_hcd_pci_remove(struct pci_dev *dev); extern void usb_hcd_pci_shutdown(struct pci_dev *dev); |