diff options
author | Robert Marko <robimarko@gmail.com> | 2018-12-17 10:39:09 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2018-12-27 14:06:38 +0100 |
commit | 8b7abea2f6e9dc1a37fd671c696376f16bcea95c (patch) | |
tree | 8c00af1b401f1f306bbcce7c83fb1474de096180 /target/linux/ipq40xx/patches-4.19/713-essedma-alloc-skb-ip-align.patch | |
parent | 96b69c2e9a81277617274c251e2fc16a0554d0a9 (diff) | |
download | upstream-8b7abea2f6e9dc1a37fd671c696376f16bcea95c.tar.gz upstream-8b7abea2f6e9dc1a37fd671c696376f16bcea95c.tar.bz2 upstream-8b7abea2f6e9dc1a37fd671c696376f16bcea95c.zip |
ipq40xx: Add patches for 4.19
This adds the necessary patches for 4.19 kernel.
Upstreamed patches were dropped, backported upstreamed patches
from 4.20.
Drop Winbond ID patch since that NAND IC was upstreamed to use
SPI-NAND framework and support for it was backported from 4.20.
Rework ESSEDMA patches to compile under 4.19 due to timer changes,
Clément Péron did the hard work and his changes were taken from the
initial 4.19 PR.
MR33 changes had to be manually refreshed to apply.
Refresh other patches to apply.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Remove
Diffstat (limited to 'target/linux/ipq40xx/patches-4.19/713-essedma-alloc-skb-ip-align.patch')
-rw-r--r-- | target/linux/ipq40xx/patches-4.19/713-essedma-alloc-skb-ip-align.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/patches-4.19/713-essedma-alloc-skb-ip-align.patch b/target/linux/ipq40xx/patches-4.19/713-essedma-alloc-skb-ip-align.patch new file mode 100644 index 0000000000..8c70fceb01 --- /dev/null +++ b/target/linux/ipq40xx/patches-4.19/713-essedma-alloc-skb-ip-align.patch @@ -0,0 +1,21 @@ +From 17681f0bb474d0d227f07369144149d1555d8bce Mon Sep 17 00:00:00 2001 +From: Chen Minqiang <ptpt52@gmail.com> +Date: Sun, 17 Jun 2018 04:14:13 +0800 +Subject: [PATCH] essedma: alloc skb ip align + +Signed-off-by: Chen Minqiang <ptpt52@gmail.com> +--- + drivers/net/ethernet/qualcomm/essedma/edma.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/net/ethernet/qualcomm/essedma/edma.c ++++ b/drivers/net/ethernet/qualcomm/essedma/edma.c +@@ -201,7 +201,7 @@ static int edma_alloc_rx_buf(struct edma + skb = sw_desc->skb; + } else { + /* alloc skb */ +- skb = netdev_alloc_skb(edma_netdev[0], length); ++ skb = netdev_alloc_skb_ip_align(edma_netdev[0], length); + if (!skb) { + /* Better luck next round */ + break; |