mirror of https://github.com/hak5/openwrt.git
kernel: bump 4.4 to 4.4.103 for 17.01
Refreshed all patches. Removed upstream ramips patches: 0101-MIPS-ralink-Fix-MT7628-pinmux.patch 0102--MIPS-ralink-Fix-typo-in-mt7628-pinmux-function.patch Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>lede-17.01
parent
ed82c52a4a
commit
2b664499cd
|
@ -3,10 +3,10 @@
|
||||||
LINUX_RELEASE?=1
|
LINUX_RELEASE?=1
|
||||||
|
|
||||||
LINUX_VERSION-3.18 = .43
|
LINUX_VERSION-3.18 = .43
|
||||||
LINUX_VERSION-4.4 = .102
|
LINUX_VERSION-4.4 = .103
|
||||||
|
|
||||||
LINUX_KERNEL_HASH-3.18.43 = 1236e8123a6ce537d5029232560966feed054ae31776fe8481dd7d18cdd5492c
|
LINUX_KERNEL_HASH-3.18.43 = 1236e8123a6ce537d5029232560966feed054ae31776fe8481dd7d18cdd5492c
|
||||||
LINUX_KERNEL_HASH-4.4.102 = ede2c22a559e1d894161d53e1d634ee969380a159642aafc0c9c268daf8eaafe
|
LINUX_KERNEL_HASH-4.4.103 = 1d01d0785fdf52b3f3b9f7ad05b6cff6be034869935962478e19f265b022f904
|
||||||
|
|
||||||
ifdef KERNEL_PATCHVER
|
ifdef KERNEL_PATCHVER
|
||||||
LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER)))
|
LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER)))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/drivers/spi/Kconfig
|
--- a/drivers/spi/Kconfig
|
||||||
+++ b/drivers/spi/Kconfig
|
+++ b/drivers/spi/Kconfig
|
||||||
@@ -477,6 +477,12 @@ config SPI_QUP
|
@@ -478,6 +478,12 @@ config SPI_QUP
|
||||||
This driver can also be built as a module. If so, the module
|
This driver can also be built as a module. If so, the module
|
||||||
will be called spi_qup.
|
will be called spi_qup.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/drivers/spi/Kconfig
|
--- a/drivers/spi/Kconfig
|
||||||
+++ b/drivers/spi/Kconfig
|
+++ b/drivers/spi/Kconfig
|
||||||
@@ -713,6 +713,13 @@ config SPI_TLE62X0
|
@@ -714,6 +714,13 @@ config SPI_TLE62X0
|
||||||
sysfs interface, with each line presented as a kind of GPIO
|
sysfs interface, with each line presented as a kind of GPIO
|
||||||
exposing both switch control and diagnostic feedback.
|
exposing both switch control and diagnostic feedback.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/drivers/spi/Kconfig
|
--- a/drivers/spi/Kconfig
|
||||||
+++ b/drivers/spi/Kconfig
|
+++ b/drivers/spi/Kconfig
|
||||||
@@ -720,6 +720,11 @@ config SPI_RB4XX_CPLD
|
@@ -721,6 +721,11 @@ config SPI_RB4XX_CPLD
|
||||||
SPI driver for the Xilinx CPLD chip present on the
|
SPI driver for the Xilinx CPLD chip present on the
|
||||||
MikroTik RB4xx boards.
|
MikroTik RB4xx boards.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/drivers/pci/probe.c
|
--- a/drivers/pci/probe.c
|
||||||
+++ b/drivers/pci/probe.c
|
+++ b/drivers/pci/probe.c
|
||||||
@@ -1967,7 +1967,8 @@ static void pcie_write_mrrs(struct pci_d
|
@@ -1978,7 +1978,8 @@ static void pcie_write_mrrs(struct pci_d
|
||||||
/* In the "safe" case, do not configure the MRRS. There appear to be
|
/* In the "safe" case, do not configure the MRRS. There appear to be
|
||||||
* issues with setting MRRS to 0 on a number of devices.
|
* issues with setting MRRS to 0 on a number of devices.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -202,7 +202,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
||||||
net->ipv6.ip6_blk_hole_entry->dst.dev = dev;
|
net->ipv6.ip6_blk_hole_entry->dst.dev = dev;
|
||||||
net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev);
|
net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev);
|
||||||
#endif
|
#endif
|
||||||
@@ -3597,6 +3636,17 @@ static int __net_init ip6_route_net_init
|
@@ -3601,6 +3640,17 @@ static int __net_init ip6_route_net_init
|
||||||
net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops;
|
net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops;
|
||||||
dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst,
|
dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst,
|
||||||
ip6_template_metrics, true);
|
ip6_template_metrics, true);
|
||||||
|
@ -220,7 +220,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
net->ipv6.sysctl.flush_delay = 0;
|
net->ipv6.sysctl.flush_delay = 0;
|
||||||
@@ -3615,6 +3665,8 @@ out:
|
@@ -3619,6 +3669,8 @@ out:
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
|
@ -229,7 +229,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
||||||
out_ip6_prohibit_entry:
|
out_ip6_prohibit_entry:
|
||||||
kfree(net->ipv6.ip6_prohibit_entry);
|
kfree(net->ipv6.ip6_prohibit_entry);
|
||||||
out_ip6_null_entry:
|
out_ip6_null_entry:
|
||||||
@@ -3632,6 +3684,7 @@ static void __net_exit ip6_route_net_exi
|
@@ -3636,6 +3688,7 @@ static void __net_exit ip6_route_net_exi
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
kfree(net->ipv6.ip6_prohibit_entry);
|
kfree(net->ipv6.ip6_prohibit_entry);
|
||||||
kfree(net->ipv6.ip6_blk_hole_entry);
|
kfree(net->ipv6.ip6_blk_hole_entry);
|
||||||
|
@ -237,7 +237,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
||||||
#endif
|
#endif
|
||||||
dst_entries_destroy(&net->ipv6.ip6_dst_ops);
|
dst_entries_destroy(&net->ipv6.ip6_dst_ops);
|
||||||
}
|
}
|
||||||
@@ -3705,6 +3758,9 @@ void __init ip6_route_init_special_entri
|
@@ -3709,6 +3762,9 @@ void __init ip6_route_init_special_entri
|
||||||
init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
||||||
init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev;
|
init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev;
|
||||||
init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
+MODULE_LICENSE("GPL");
|
+MODULE_LICENSE("GPL");
|
||||||
--- a/kernel/sched/core.c
|
--- a/kernel/sched/core.c
|
||||||
+++ b/kernel/sched/core.c
|
+++ b/kernel/sched/core.c
|
||||||
@@ -2097,6 +2097,7 @@ int wake_up_state(struct task_struct *p,
|
@@ -2096,6 +2096,7 @@ int wake_up_state(struct task_struct *p,
|
||||||
{
|
{
|
||||||
return try_to_wake_up(p, state, 0);
|
return try_to_wake_up(p, state, 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
||||||
|
|
||||||
--- a/drivers/spi/Kconfig
|
--- a/drivers/spi/Kconfig
|
||||||
+++ b/drivers/spi/Kconfig
|
+++ b/drivers/spi/Kconfig
|
||||||
@@ -355,6 +355,13 @@ config SPI_MT65XX
|
@@ -356,6 +356,13 @@ config SPI_MT65XX
|
||||||
say Y or M here.If you are not sure, say N.
|
say Y or M here.If you are not sure, say N.
|
||||||
SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
|
SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ Acked-by: John Crispin <blogic@openwrt.org>
|
||||||
|
|
||||||
--- a/drivers/spi/Kconfig
|
--- a/drivers/spi/Kconfig
|
||||||
+++ b/drivers/spi/Kconfig
|
+++ b/drivers/spi/Kconfig
|
||||||
@@ -477,6 +477,12 @@ config SPI_QUP
|
@@ -478,6 +478,12 @@ config SPI_QUP
|
||||||
This driver can also be built as a module. If so, the module
|
This driver can also be built as a module. If so, the module
|
||||||
will be called spi_qup.
|
will be called spi_qup.
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||||
|
|
||||||
--- a/drivers/spi/Kconfig
|
--- a/drivers/spi/Kconfig
|
||||||
+++ b/drivers/spi/Kconfig
|
+++ b/drivers/spi/Kconfig
|
||||||
@@ -483,6 +483,12 @@ config SPI_RT2880
|
@@ -484,6 +484,12 @@ config SPI_RT2880
|
||||||
help
|
help
|
||||||
This selects a driver for the Ralink RT288x/RT305x SPI Controller.
|
This selects a driver for the Ralink RT288x/RT305x SPI Controller.
|
||||||
|
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
From 8ef4b43cd3794d63052d85898e42424fd3b14d24 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mathias Kresin <dev@kresin.me>
|
|
||||||
Date: Thu, 11 May 2017 08:11:14 +0200
|
|
||||||
Subject: [PATCH 1/2] MIPS: ralink: Fix MT7628 pinmux
|
|
||||||
|
|
||||||
According to the datasheet the REFCLK pin is shared with GPIO#37 and
|
|
||||||
the PERST pin is shared with GPIO#36.
|
|
||||||
|
|
||||||
Fixes: 53263a1c6852 ("MIPS: ralink: add mt7628an support")
|
|
||||||
Signed-off-by: Mathias Kresin <dev@kresin.me>
|
|
||||||
Acked-by: John Crispin <john@phrozen.org>
|
|
||||||
Cc: Ralf Baechle <ralf@linux-mips.org>
|
|
||||||
Cc: linux-mips@linux-mips.org
|
|
||||||
Cc: <stable@vger.kernel.org> # 3.19+
|
|
||||||
Patchwork: https://patchwork.linux-mips.org/patch/16046/
|
|
||||||
Signed-off-by: James Hogan <jhogan@kernel.org>
|
|
||||||
---
|
|
||||||
arch/mips/ralink/mt7620.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
--- a/arch/mips/ralink/mt7620.c
|
|
||||||
+++ b/arch/mips/ralink/mt7620.c
|
|
||||||
@@ -141,8 +141,8 @@ static struct rt2880_pmx_func i2c_grp_mt
|
|
||||||
FUNC("i2c", 0, 4, 2),
|
|
||||||
};
|
|
||||||
|
|
||||||
-static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("reclk", 0, 36, 1) };
|
|
||||||
-static struct rt2880_pmx_func perst_grp_mt7628[] = { FUNC("perst", 0, 37, 1) };
|
|
||||||
+static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("reclk", 0, 37, 1) };
|
|
||||||
+static struct rt2880_pmx_func perst_grp_mt7628[] = { FUNC("perst", 0, 36, 1) };
|
|
||||||
static struct rt2880_pmx_func wdt_grp_mt7628[] = { FUNC("wdt", 0, 38, 1) };
|
|
||||||
static struct rt2880_pmx_func spi_grp_mt7628[] = { FUNC("spi", 0, 7, 4) };
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
From 05a67cc258e75ac9758e6f13d26337b8be51162a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mathias Kresin <dev@kresin.me>
|
|
||||||
Date: Thu, 11 May 2017 08:11:15 +0200
|
|
||||||
Subject: [PATCH 2/2] MIPS: ralink: Fix typo in mt7628 pinmux function
|
|
||||||
|
|
||||||
There is a typo inside the pinmux setup code. The function is called
|
|
||||||
refclk and not reclk.
|
|
||||||
|
|
||||||
Fixes: 53263a1c6852 ("MIPS: ralink: add mt7628an support")
|
|
||||||
Signed-off-by: Mathias Kresin <dev@kresin.me>
|
|
||||||
Acked-by: John Crispin <john@phrozen.org>
|
|
||||||
Cc: Ralf Baechle <ralf@linux-mips.org>
|
|
||||||
Cc: linux-mips@linux-mips.org
|
|
||||||
Cc: <stable@vger.kernel.org> # 3.19+
|
|
||||||
Patchwork: https://patchwork.linux-mips.org/patch/16047/
|
|
||||||
Signed-off-by: James Hogan <jhogan@kernel.org>
|
|
||||||
---
|
|
||||||
arch/mips/ralink/mt7620.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/arch/mips/ralink/mt7620.c
|
|
||||||
+++ b/arch/mips/ralink/mt7620.c
|
|
||||||
@@ -141,7 +141,7 @@ static struct rt2880_pmx_func i2c_grp_mt
|
|
||||||
FUNC("i2c", 0, 4, 2),
|
|
||||||
};
|
|
||||||
|
|
||||||
-static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("reclk", 0, 37, 1) };
|
|
||||||
+static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("refclk", 0, 37, 1) };
|
|
||||||
static struct rt2880_pmx_func perst_grp_mt7628[] = { FUNC("perst", 0, 36, 1) };
|
|
||||||
static struct rt2880_pmx_func wdt_grp_mt7628[] = { FUNC("wdt", 0, 38, 1) };
|
|
||||||
static struct rt2880_pmx_func spi_grp_mt7628[] = { FUNC("spi", 0, 7, 4) };
|
|
Loading…
Reference in New Issue