Skip to content

Commit

Permalink
kernel version sync to openwrt-18.06
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed May 22, 2018
1 parent 94c038b commit 701cc08
Show file tree
Hide file tree
Showing 137 changed files with 826 additions and 1,501 deletions.
8 changes: 4 additions & 4 deletions feeds.conf.default
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#src-git packages https://git.openwrt.org/feed/packages.git^1b73f267eae2dedc18969b70ed7c5d9b02288bac
src-git packages https://github.com/openwrt/packages.git
src-git luci https://git.openwrt.org/project/luci.git^7d55be315d758b2a40494e732d7bdc300ee15c00
#src-git luci https://github.com/openwrt/luci.git
src-git routing https://git.openwrt.org/feed/routing.git^ba5d2fc76e1cee2cb656d955514c8aa526875a6a
src-git telephony https://git.openwrt.org/feed/telephony.git
#src-git luci https://git.openwrt.org/project/luci.git^7d55be315d758b2a40494e732d7bdc300ee15c00
src-git luci https://github.com/openwrt/luci.git;openwrt-18.06
src-git routing https://git.openwrt.org/feed/routing.git;openwrt-18.06
src-git telephony https://github.com/openwrt/telephony.git;openwrt-18.06
#src-git video https://github.com/openwrt/video.git
#src-git targets https://github.com/openwrt/targets.git
#src-git management https://github.com/openwrt-management/packages.git
Expand Down
8 changes: 4 additions & 4 deletions include/kernel-version.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ LINUX_RELEASE?=1

LINUX_VERSION-3.18 = .71
LINUX_VERSION-4.4 = .121
LINUX_VERSION-4.9 = .91
LINUX_VERSION-4.14 = .34
LINUX_VERSION-4.9 = .100
LINUX_VERSION-4.14 = .41

LINUX_KERNEL_HASH-3.18.71 = 5abc9778ad44ce02ed6c8ab52ece8a21c6d20d21f6ed8a19287b4a38a50c1240
LINUX_KERNEL_HASH-4.4.121 = 44a88268b5088dc326b30c9b9133ac35a9a200b636b7268d08f32abeae6ca729
LINUX_KERNEL_HASH-4.9.91 = 60caa752ec9fa1c426f6a2f37db3f268d0961b67a723b6443949112167b39832
LINUX_KERNEL_HASH-4.14.34 = 782b6c4c85275c382c820e1934d3e6003ef468f43cfc5e7c22bc07c331a12bb9
LINUX_KERNEL_HASH-4.9.100 = c5bb6f3a7113e05cbaf6e48b2b485dea4f7edae5e42b3fe81c963ba63413a77c
LINUX_KERNEL_HASH-4.14.41 = ccf1147a9b05c986728bc9fa1b407e029c23a16c9f915134dc3f6f8663d8ce6d

remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1)))))))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Signed-off-by: Christian Lamparter <[email protected]>

#include "xhci.h"
#include "xhci-trace.h"
@@ -241,6 +243,458 @@ static void xhci_pme_acpi_rtd3_enable(st
@@ -244,6 +246,458 @@ static void xhci_pme_acpi_rtd3_enable(st
static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
#endif /* CONFIG_ACPI */

Expand Down Expand Up @@ -503,7 +503,7 @@ Signed-off-by: Christian Lamparter <[email protected]>
/* called during probe() after chip reset completes */
static int xhci_pci_setup(struct usb_hcd *hcd)
{
@@ -276,6 +730,22 @@ static int xhci_pci_probe(struct pci_dev
@@ -279,6 +733,22 @@ static int xhci_pci_probe(struct pci_dev
struct hc_driver *driver;
struct usb_hcd *hcd;

Expand All @@ -526,7 +526,7 @@ Signed-off-by: Christian Lamparter <[email protected]>
driver = (struct hc_driver *)id->driver_data;

/* For some HW implementation, a XHCI reset is just not enough... */
@@ -340,6 +810,16 @@ static void xhci_pci_remove(struct pci_d
@@ -343,6 +813,16 @@ static void xhci_pci_remove(struct pci_d
{
struct xhci_hcd *xhci;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ produce a noisy warning.

--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -199,7 +199,7 @@ static void xhci_pci_quirks(struct devic
@@ -202,7 +202,7 @@ static void xhci_pci_quirks(struct devic
xhci->quirks |= XHCI_TRUST_TX_LENGTH;
if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
pdev->device == 0x0015)
Expand Down
4 changes: 2 additions & 2 deletions target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define AR7_IRQ_UART0 15
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -160,7 +160,7 @@ config AR7
@@ -161,7 +161,7 @@ config AR7
select HAVE_CLK
help
Support for the Texas Instruments AR7 System-on-a-Chip
Expand All @@ -46,7 +46,7 @@

config ATH25
bool "Atheros AR231x/AR531x SoC support"
@@ -1004,6 +1004,7 @@ config MIPS_PARAVIRT
@@ -1005,6 +1005,7 @@ config MIPS_PARAVIRT
endchoice

source "arch/mips/alchemy/Kconfig"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -1630,8 +1630,8 @@ static int __xipram do_write_oneword(str
@@ -1631,8 +1631,8 @@ static int __xipram do_write_oneword(str
break;
}

Expand All @@ -11,7 +11,7 @@

/* Latency issues. Drop the lock, wait a while and retry */
UDELAY(map, chip, adr, 1);
@@ -1647,6 +1647,8 @@ static int __xipram do_write_oneword(str
@@ -1648,6 +1648,8 @@ static int __xipram do_write_oneword(str

ret = -EIO;
}
Expand All @@ -20,15 +20,15 @@
xip_enable(map, chip, adr);
op_done:
if (mode == FL_OTP_WRITE)
@@ -2225,7 +2227,6 @@ static int cfi_amdstd_panic_write(struct
@@ -2226,7 +2228,6 @@ static int cfi_amdstd_panic_write(struct
return 0;
}

-
/*
* Handle devices with one erase region, that only implement
* the chip erase command.
@@ -2289,8 +2290,8 @@ static int __xipram do_erase_chip(struct
@@ -2291,8 +2292,8 @@ static int __xipram do_erase_chip(struct
chip->erase_suspended = 0;
}

Expand All @@ -39,15 +39,15 @@

if (time_after(jiffies, timeo)) {
printk(KERN_WARNING "MTD %s(): software timeout\n",
@@ -2310,6 +2311,7 @@ static int __xipram do_erase_chip(struct
@@ -2312,6 +2313,7 @@ static int __xipram do_erase_chip(struct
ret = -EIO;
}

+ op_done:
chip->state = FL_READY;
xip_enable(map, chip, adr);
DISABLE_VPP(map);
@@ -2378,9 +2380,9 @@ static int __xipram do_erase_oneblock(st
@@ -2381,9 +2383,9 @@ static int __xipram do_erase_oneblock(st
chip->erase_suspended = 0;
}

Expand All @@ -59,7 +59,7 @@
}

if (time_after(jiffies, timeo)) {
@@ -2402,6 +2404,7 @@ static int __xipram do_erase_oneblock(st
@@ -2405,6 +2407,7 @@ static int __xipram do_erase_oneblock(st
ret = -EIO;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@

/* Atmel chips don't use the same PRI format as AMD chips */
static void fixup_convert_atmel_pri(struct mtd_info *mtd)
@@ -1789,6 +1793,7 @@ static int cfi_amdstd_write_words(struct
@@ -1790,6 +1794,7 @@ static int cfi_amdstd_write_words(struct
/*
* FIXME: interleaved mode not tested, and probably not supported!
*/
+#if !FORCE_WORD_WRITE
static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
unsigned long adr, const u_char *buf,
int len)
@@ -1917,7 +1922,6 @@ static int __xipram do_write_buffer(stru
@@ -1918,7 +1923,6 @@ static int __xipram do_write_buffer(stru
return ret;
}

-
static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len,
size_t *retlen, const u_char *buf)
{
@@ -1992,6 +1996,7 @@ static int cfi_amdstd_write_buffers(stru
@@ -1993,6 +1997,7 @@ static int cfi_amdstd_write_buffers(stru

return 0;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -534,6 +534,12 @@ config SPI_QUP
@@ -533,6 +533,12 @@ config SPI_QUP
This driver can also be built as a module. If so, the module
will be called spi_qup.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -762,6 +762,13 @@ config SPI_TLE62X0
@@ -761,6 +761,13 @@ config SPI_TLE62X0
sysfs interface, with each line presented as a kind of GPIO
exposing both switch control and diagnostic feedback.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -769,6 +769,11 @@ config SPI_RB4XX_CPLD
@@ -768,6 +768,11 @@ config SPI_RB4XX_CPLD
SPI driver for the Xilinx CPLD chip present on the
MikroTik RB4xx boards.

Expand Down
2 changes: 1 addition & 1 deletion target/linux/ar71xx/patches-4.9/500-MIPS-fw-myloader.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1149,6 +1149,9 @@ config MIPS_MSC
@@ -1150,6 +1150,9 @@ config MIPS_MSC
config MIPS_NILE4
bool

Expand Down
2 changes: 1 addition & 1 deletion target/linux/ar71xx/patches-4.9/604-MIPS-ath79-no-of.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -195,7 +195,6 @@ config ATH79
@@ -196,7 +196,6 @@ config ATH79
select SYS_SUPPORTS_BIG_ENDIAN
select SYS_SUPPORTS_MIPS16
select SYS_SUPPORTS_ZBOOT_UART_PROM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
case IPV6_2292HOPOPTS:
--- a/net/ipv6/ip6_gre.c
+++ b/net/ipv6/ip6_gre.c
@@ -395,7 +395,7 @@ static void ip6gre_err(struct sk_buff *s
@@ -397,7 +397,7 @@ static void ip6gre_err(struct sk_buff *s
return;
ipv6h = (const struct ipv6hdr *)skb->data;
greh = (const struct gre_base_hdr *)(skb->data + offset);
Expand Down Expand Up @@ -795,7 +795,7 @@

--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -3892,14 +3892,16 @@ static bool tcp_parse_aligned_timestamp(
@@ -3894,14 +3894,16 @@ static bool tcp_parse_aligned_timestamp(
{
const __be32 *ptr = (const __be32 *)(th + 1);

Expand Down
6 changes: 3 additions & 3 deletions target/linux/ar71xx/patches-4.9/930-chipidea-pullup.patch
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{
ci_hdrc_gadget_destroy(ci);
ci_hdrc_host_destroy(ci);
- if (ci->is_otg)
- if (ci->is_otg && ci->roles[CI_ROLE_GADGET])
+ if (!ci->dp_always_pullup && ci->roles[CI_ROLE_GADGET])
ci_hdrc_otg_destroy(ci);
}
Expand All @@ -37,8 +37,8 @@
ret = hw_device_init(ci, base);
if (ret < 0) {
dev_err(dev, "can't initialize hardware\n");
@@ -955,7 +958,7 @@ static int ci_hdrc_probe(struct platform
goto deinit_phy;
@@ -963,7 +966,7 @@ static int ci_hdrc_probe(struct platform
goto deinit_gadget;
}

- if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ath25/patches-4.9/107-ar5312_gpio.patch
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
+subsys_initcall(ar5312_gpio_init);
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -167,6 +167,7 @@ config ATH25
@@ -168,6 +168,7 @@ config ATH25
select CEVT_R4K
select CSRC_R4K
select DMA_NONCOHERENT
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ath25/patches-4.9/130-watchdog.patch
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
+MODULE_ALIAS("platform:" DRIVER_NAME);
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1554,6 +1554,13 @@ config PIC32_DMT
@@ -1555,6 +1555,13 @@ config PIC32_DMT
To compile this driver as a loadable module, choose M here.
The module will be called pic32-dmt.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ Signed-off-by: John Crispin <[email protected]>
drivers/tty/serial/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 3682fd3e960c..c92bd969bbf9 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1469,7 +1469,7 @@ config SERIAL_XILINX_PS_UART_CONSOLE
@@ -1463,7 +1463,7 @@ config SERIAL_XILINX_PS_UART_CONSOLE

config SERIAL_AR933X
tristate "AR933X serial port support"
Expand All @@ -21,6 +19,3 @@ index 3682fd3e960c..c92bd969bbf9 100644
select SERIAL_CORE
help
If you have an Atheros AR933X SOC based board and want to use the
--
2.11.0

Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ Signed-off-by: John Crispin <[email protected]>
drivers/watchdog/ath79_wdt.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c
index e2209bf5fa8a..c2fc6c3d0092 100644
--- a/drivers/watchdog/ath79_wdt.c
+++ b/drivers/watchdog/ath79_wdt.c
@@ -115,10 +115,14 @@ static inline void ath79_wdt_disable(void)
@@ -115,10 +115,14 @@ static inline void ath79_wdt_disable(voi

static int ath79_wdt_set_timeout(int val)
{
Expand All @@ -32,6 +30,3 @@ index e2209bf5fa8a..c2fc6c3d0092 100644
ath79_wdt_keepalive();

return 0;
--
2.11.0

Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ Signed-off-by: John Crispin <[email protected]>
3 files changed, 149 insertions(+)
create mode 100644 drivers/leds/leds-reset.c

Index: linux-4.14.32/drivers/leds/Kconfig
===================================================================
--- linux-4.14.32.orig/drivers/leds/Kconfig
+++ linux-4.14.32/drivers/leds/Kconfig
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -696,6 +696,17 @@ config LEDS_NIC78BX
To compile this driver as a module, choose M here: the module
will be called leds-nic78bx.
Expand All @@ -33,10 +31,8 @@ Index: linux-4.14.32/drivers/leds/Kconfig
comment "LED Triggers"
source "drivers/leds/trigger/Kconfig"

Index: linux-4.14.32/drivers/leds/leds-reset.c
===================================================================
--- /dev/null
+++ linux-4.14.32/drivers/leds/leds-reset.c
+++ b/drivers/leds/leds-reset.c
@@ -0,0 +1,137 @@
+/*
+ * Copyright (C) 2018 John Crispin <[email protected]>
Expand Down Expand Up @@ -175,10 +171,8 @@ Index: linux-4.14.32/drivers/leds/leds-reset.c
+MODULE_DESCRIPTION("reset controller LED driver");
+MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:leds-reset");
Index: linux-4.14.32/drivers/leds/Makefile
===================================================================
--- linux-4.14.32.orig/drivers/leds/Makefile
+++ linux-4.14.32/drivers/leds/Makefile
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -73,6 +73,7 @@ obj-$(CONFIG_LEDS_PM8058) += leds-pm805
obj-$(CONFIG_LEDS_MLXCPLD) += leds-mlxcpld.o
obj-$(CONFIG_LEDS_NIC78BX) += leds-nic78bx.o
Expand Down
20 changes: 6 additions & 14 deletions target/linux/ath79/patches-4.14/0004-phy-add-ath79-usb-phys.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ Signed-off-by: John Crispin <[email protected]>
create mode 100644 drivers/phy/phy-ar7100-usb.c
create mode 100644 drivers/phy/phy-ar7200-usb.c

Index: linux-4.14.37/drivers/phy/Kconfig
===================================================================
--- linux-4.14.37.orig/drivers/phy/Kconfig
+++ linux-4.14.37/drivers/phy/Kconfig
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -15,6 +15,22 @@ config GENERIC_PHY
phy users can obtain reference to the PHY. All the users of this
framework should select this config.
Expand All @@ -40,10 +38,8 @@ Index: linux-4.14.37/drivers/phy/Kconfig
config PHY_LPC18XX_USB_OTG
tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
Index: linux-4.14.37/drivers/phy/Makefile
===================================================================
--- linux-4.14.37.orig/drivers/phy/Makefile
+++ linux-4.14.37/drivers/phy/Makefile
--- a/drivers/phy/Makefile
+++ b/drivers/phy/Makefile
@@ -4,6 +4,8 @@
#

Expand All @@ -53,10 +49,8 @@ Index: linux-4.14.37/drivers/phy/Makefile
obj-$(CONFIG_PHY_LPC18XX_USB_OTG) += phy-lpc18xx-usb-otg.o
obj-$(CONFIG_PHY_XGENE) += phy-xgene.o
obj-$(CONFIG_PHY_PISTACHIO_USB) += phy-pistachio-usb.o
Index: linux-4.14.37/drivers/phy/phy-ar7100-usb.c
===================================================================
--- /dev/null
+++ linux-4.14.37/drivers/phy/phy-ar7100-usb.c
+++ b/drivers/phy/phy-ar7100-usb.c
@@ -0,0 +1,140 @@
+/*
+ * Copyright (C) 2018 John Crispin <[email protected]>
Expand Down Expand Up @@ -198,10 +192,8 @@ Index: linux-4.14.37/drivers/phy/phy-ar7100-usb.c
+MODULE_DESCRIPTION("ATH79 USB PHY driver");
+MODULE_AUTHOR("Alban Bedel <[email protected]>");
+MODULE_LICENSE("GPL");
Index: linux-4.14.37/drivers/phy/phy-ar7200-usb.c
===================================================================
--- /dev/null
+++ linux-4.14.37/drivers/phy/phy-ar7200-usb.c
+++ b/drivers/phy/phy-ar7200-usb.c
@@ -0,0 +1,123 @@
+/*
+ * Copyright (C) 2015 Alban Bedel <[email protected]>
Expand Down
Loading

0 comments on commit 701cc08

Please sign in to comment.