From 22f899c6dd62c946db419a5195fd99c7a079bd9c Mon Sep 17 00:00:00 2001 From: Koen Vandeputte Date: Tue, 28 Aug 2018 16:09:37 +0200 Subject: kernel: bump 4.9 to 4.9.124 Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte --- .../linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch | 10 +++++----- .../024-8-tcp-tsq-move-tsq_flags-close-to-sk_wmem_alloc.patch | 2 +- .../backport-4.9/090-net-generalize-napi_complete_done.patch | 2 +- target/linux/generic/pending-4.9/630-packet_socket_type.patch | 6 +++--- .../patches-4.9/304-dts-layerscape-add-traverse-ls1043.patch | 2 +- .../layerscape/patches-4.9/702-pci-support-layerscape.patch | 2 +- .../layerscape/patches-4.9/808-guts-support-layerscape.patch | 2 +- .../layerscape/patches-4.9/817-usb-support-layerscape.patch | 2 +- target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch | 2 +- target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch | 2 +- target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) (limited to 'target/linux') diff --git a/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch index 6200203706..5c2a435c9f 100644 --- a/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch +++ b/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch @@ -621,7 +621,7 @@ #define IP6_MF 0x0001 #define IP6_OFFSET 0xFFF8 -@@ -450,8 +450,8 @@ static inline void __ipv6_addr_set_half( +@@ -443,8 +443,8 @@ static inline void __ipv6_addr_set_half( } #endif #endif @@ -632,7 +632,7 @@ } static inline void ipv6_addr_set(struct in6_addr *addr, -@@ -510,6 +510,8 @@ static inline bool ipv6_prefix_equal(con +@@ -503,6 +503,8 @@ static inline bool ipv6_prefix_equal(con const __be32 *a1 = addr1->s6_addr32; const __be32 *a2 = addr2->s6_addr32; unsigned int pdw, pbi; @@ -641,7 +641,7 @@ /* check complete u32 in prefix */ pdw = prefixlen >> 5; -@@ -518,7 +520,9 @@ static inline bool ipv6_prefix_equal(con +@@ -511,7 +513,9 @@ static inline bool ipv6_prefix_equal(con /* check incomplete u32 in prefix */ pbi = prefixlen & 0x1f; @@ -652,7 +652,7 @@ return false; return true; -@@ -662,13 +666,13 @@ static inline void ipv6_addr_set_v4mappe +@@ -655,13 +659,13 @@ static inline void ipv6_addr_set_v4mappe */ static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen) { @@ -668,7 +668,7 @@ if (xb) return i * 32 + 31 - __fls(ntohl(xb)); } -@@ -837,17 +841,18 @@ static inline int ip6_default_np_autolab +@@ -830,17 +834,18 @@ static inline int ip6_default_np_autolab static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass, __be32 flowlabel) { diff --git a/target/linux/generic/backport-4.9/024-8-tcp-tsq-move-tsq_flags-close-to-sk_wmem_alloc.patch b/target/linux/generic/backport-4.9/024-8-tcp-tsq-move-tsq_flags-close-to-sk_wmem_alloc.patch index 0a5b9ead9d..4a3f355b4d 100644 --- a/target/linux/generic/backport-4.9/024-8-tcp-tsq-move-tsq_flags-close-to-sk_wmem_alloc.patch +++ b/target/linux/generic/backport-4.9/024-8-tcp-tsq-move-tsq_flags-close-to-sk_wmem_alloc.patch @@ -134,7 +134,7 @@ Signed-off-by: David S. Miller if (tcp_small_queue_check(sk, skb, 0)) break; -@@ -3546,8 +3546,6 @@ void __tcp_send_ack(struct sock *sk, u32 +@@ -3542,8 +3542,6 @@ void __tcp_send_ack(struct sock *sk, u32 /* We do not want pure acks influencing TCP Small Queues or fq/pacing * too much. * SKB_TRUESIZE(max(1 .. 66, MAX_TCP_HEADER)) is unfortunately ~784 diff --git a/target/linux/generic/backport-4.9/090-net-generalize-napi_complete_done.patch b/target/linux/generic/backport-4.9/090-net-generalize-napi_complete_done.patch index 4a5a89013c..127707827e 100644 --- a/target/linux/generic/backport-4.9/090-net-generalize-napi_complete_done.patch +++ b/target/linux/generic/backport-4.9/090-net-generalize-napi_complete_done.patch @@ -388,7 +388,7 @@ Signed-off-by: David S. Miller BNX2_PCICFG_INT_ACK_CMD_INDEX_VALID | --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c -@@ -3230,7 +3230,7 @@ static int bnx2x_poll(struct napi_struct +@@ -3236,7 +3236,7 @@ static int bnx2x_poll(struct napi_struct * has been updated when NAPI was scheduled. */ if (IS_FCOE_FP(fp)) { diff --git a/target/linux/generic/pending-4.9/630-packet_socket_type.patch b/target/linux/generic/pending-4.9/630-packet_socket_type.patch index 08d730ac31..0bf9339d11 100644 --- a/target/linux/generic/pending-4.9/630-packet_socket_type.patch +++ b/target/linux/generic/pending-4.9/630-packet_socket_type.patch @@ -87,7 +87,7 @@ Signed-off-by: Felix Fietkau if (!net_eq(dev_net(dev), sock_net(sk))) goto drop; -@@ -3260,6 +3262,7 @@ static int packet_create(struct net *net +@@ -3262,6 +3264,7 @@ static int packet_create(struct net *net mutex_init(&po->pg_vec_lock); po->rollover = NULL; po->prot_hook.func = packet_rcv; @@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau if (sock->type == SOCK_PACKET) po->prot_hook.func = packet_rcv_spkt; -@@ -3873,6 +3876,16 @@ packet_setsockopt(struct socket *sock, i +@@ -3875,6 +3878,16 @@ packet_setsockopt(struct socket *sock, i po->xmit = val ? packet_direct_xmit : dev_queue_xmit; return 0; } @@ -112,7 +112,7 @@ Signed-off-by: Felix Fietkau default: return -ENOPROTOOPT; } -@@ -3925,6 +3938,13 @@ static int packet_getsockopt(struct sock +@@ -3927,6 +3940,13 @@ static int packet_getsockopt(struct sock case PACKET_VNET_HDR: val = po->has_vnet_hdr; break; diff --git a/target/linux/layerscape/patches-4.9/304-dts-layerscape-add-traverse-ls1043.patch b/target/linux/layerscape/patches-4.9/304-dts-layerscape-add-traverse-ls1043.patch index 8c8670904d..90ebc202af 100644 --- a/target/linux/layerscape/patches-4.9/304-dts-layerscape-add-traverse-ls1043.patch +++ b/target/linux/layerscape/patches-4.9/304-dts-layerscape-add-traverse-ls1043.patch @@ -59,7 +59,7 @@ Signed-off-by: Mathew McBride +++ b/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts @@ -251,3 +251,29 @@ &sata { - status = "disabled"; + status = "disabled"; }; + +/* Additions for Layerscape SDK (4.4/4.9) Kernel only diff --git a/target/linux/layerscape/patches-4.9/702-pci-support-layerscape.patch b/target/linux/layerscape/patches-4.9/702-pci-support-layerscape.patch index 724c6841f8..03c3fb7cb9 100644 --- a/target/linux/layerscape/patches-4.9/702-pci-support-layerscape.patch +++ b/target/linux/layerscape/patches-4.9/702-pci-support-layerscape.patch @@ -2074,7 +2074,7 @@ Signed-off-by: Yangbo Lu +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_FREESCALE, PCI_ANY_ID, quirk_fsl_no_msi); --- a/include/linux/pci.h +++ b/include/linux/pci.h -@@ -1823,6 +1823,7 @@ void pcibios_release_device(struct pci_d +@@ -1825,6 +1825,7 @@ void pcibios_release_device(struct pci_d void pcibios_penalize_isa_irq(int irq, int active); int pcibios_alloc_irq(struct pci_dev *dev); void pcibios_free_irq(struct pci_dev *dev); diff --git a/target/linux/layerscape/patches-4.9/808-guts-support-layerscape.patch b/target/linux/layerscape/patches-4.9/808-guts-support-layerscape.patch index 0999832a16..26412c5ebe 100644 --- a/target/linux/layerscape/patches-4.9/808-guts-support-layerscape.patch +++ b/target/linux/layerscape/patches-4.9/808-guts-support-layerscape.patch @@ -258,7 +258,7 @@ Signed-off-by: Yangbo Lu +module_exit(fsl_guts_exit); --- a/include/linux/fsl/guts.h +++ b/include/linux/fsl/guts.h -@@ -29,83 +29,112 @@ +@@ -30,83 +30,112 @@ * #ifdefs. */ struct ccsr_guts { diff --git a/target/linux/layerscape/patches-4.9/817-usb-support-layerscape.patch b/target/linux/layerscape/patches-4.9/817-usb-support-layerscape.patch index 5af0b088a8..7afef36e4b 100644 --- a/target/linux/layerscape/patches-4.9/817-usb-support-layerscape.patch +++ b/target/linux/layerscape/patches-4.9/817-usb-support-layerscape.patch @@ -1494,7 +1494,7 @@ Signed-off-by: Yangbo Lu while (ep_ring->dequeue != td->last_trb) --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c -@@ -1604,14 +1604,38 @@ int xhci_urb_dequeue(struct usb_hcd *hcd +@@ -1609,14 +1609,38 @@ int xhci_urb_dequeue(struct usb_hcd *hcd ret = -ENOMEM; goto done; } diff --git a/target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch b/target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch index 7549d4995a..22d62f0960 100644 --- a/target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch +++ b/target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch @@ -770,7 +770,7 @@ }; --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c -@@ -380,8 +380,8 @@ static int socfpga_dwmac_resume(struct d +@@ -390,8 +390,8 @@ static int socfpga_dwmac_resume(struct d * control register 0, and can be modified by the phy driver * framework. */ diff --git a/target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch b/target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch index cd3e52a212..2ce23e2eb5 100644 --- a/target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch +++ b/target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch @@ -597,7 +597,7 @@ { .compatible = "rockchip,rk3399-gmac", .data = &rk3399_ops }, --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c -@@ -341,7 +341,7 @@ static int socfpga_dwmac_probe(struct pl +@@ -351,7 +351,7 @@ static int socfpga_dwmac_probe(struct pl * mode. Create a copy of the core reset handle so it can be used by * the driver later. */ diff --git a/target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch b/target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch index d71821ad7c..abdc618e6b 100644 --- a/target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch +++ b/target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch @@ -47,7 +47,7 @@ struct mii_regs { --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c -@@ -269,7 +269,10 @@ static int socfpga_dwmac_set_phy_mode(st +@@ -270,7 +270,10 @@ static int socfpga_dwmac_set_phy_mode(st ctrl &= ~(SYSMGR_EMACGRP_CTRL_PHYSEL_MASK << reg_shift); ctrl |= val << reg_shift; -- cgit v1.2.3