From dcdf50956fb6f6f1b45117e6a8578db9fe22c7bb Mon Sep 17 00:00:00 2001 From: Koen Vandeputte Date: Wed, 20 Mar 2019 12:22:42 +0100 Subject: [PATCH] kernel: bump 4.9 to 4.9.164 Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte --- include/kernel-version.mk | 4 ++-- .../ar71xx/patches-4.9/910-unaligned_access_hacks.patch | 2 +- .../001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch | 6 +++--- ...t-phy-Call-bus-reset-after-releasing-PHYs-from-res.patch | 4 ++-- .../hack-4.9/710-phy-add-mdio_register_board_info.patch | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index cd40592f2f..ae3249effb 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -2,10 +2,10 @@ LINUX_RELEASE?=1 -LINUX_VERSION-4.9 = .163 +LINUX_VERSION-4.9 = .164 LINUX_VERSION-4.14 = .106 -LINUX_KERNEL_HASH-4.9.163 = c27cf9962c17b91275ab9e74b43c1269f726f79e7a85421be7c5c73d267eef91 +LINUX_KERNEL_HASH-4.9.164 = adf598758d3a5390100ea754ccd64668ccd5eebb3507d78e3588d13f3e73f8e7 LINUX_KERNEL_HASH-4.14.106 = a0e2af6add699d86cf15e1ee31ad408aa28dbab82f4462450eba51f90e7d2760 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) 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 2a30108ee8..87008b75f0 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 @@ -888,7 +888,7 @@ *sum = csum_fold(csum_partial(diff, sizeof(diff), --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c -@@ -1789,15 +1789,15 @@ static int vxlan_build_skb(struct sk_buf +@@ -1800,15 +1800,15 @@ static int vxlan_build_skb(struct sk_buf goto out_free; vxh = (struct vxlanhdr *) __skb_push(skb, sizeof(*vxh)); diff --git a/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch b/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch index a0d2d038cc..eb72f6a82c 100644 --- a/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch +++ b/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch @@ -87,7 +87,7 @@ Signed-off-by: David S. Miller if (NULL == bus || NULL == bus->name || NULL == bus->read || NULL == bus->write) -@@ -330,6 +334,35 @@ int __mdiobus_register(struct mii_bus *b +@@ -329,6 +333,35 @@ int __mdiobus_register(struct mii_bus *b if (bus->reset) bus->reset(bus); @@ -123,7 +123,7 @@ Signed-off-by: David S. Miller for (i = 0; i < PHY_MAX_ADDR; i++) { if ((bus->phy_mask & (1 << i)) == 0) { struct phy_device *phydev; -@@ -355,6 +388,13 @@ error: +@@ -354,6 +387,13 @@ error: mdiodev->device_remove(mdiodev); mdiodev->device_free(mdiodev); } @@ -137,7 +137,7 @@ Signed-off-by: David S. Miller device_del(&bus->dev); return err; } -@@ -376,6 +416,13 @@ void mdiobus_unregister(struct mii_bus * +@@ -375,6 +415,13 @@ void mdiobus_unregister(struct mii_bus * mdiodev->device_remove(mdiodev); mdiodev->device_free(mdiodev); } diff --git a/target/linux/brcm63xx/patches-4.9/001-4.12-08-net-phy-Call-bus-reset-after-releasing-PHYs-from-res.patch b/target/linux/brcm63xx/patches-4.9/001-4.12-08-net-phy-Call-bus-reset-after-releasing-PHYs-from-res.patch index c6eb74a110..182ad62bf8 100644 --- a/target/linux/brcm63xx/patches-4.9/001-4.12-08-net-phy-Call-bus-reset-after-releasing-PHYs-from-res.patch +++ b/target/linux/brcm63xx/patches-4.9/001-4.12-08-net-phy-Call-bus-reset-after-releasing-PHYs-from-res.patch @@ -21,7 +21,7 @@ Signed-off-by: David S. Miller --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c -@@ -331,9 +331,6 @@ int __mdiobus_register(struct mii_bus *b +@@ -330,9 +330,6 @@ int __mdiobus_register(struct mii_bus *b mutex_init(&bus->mdio_lock); @@ -31,7 +31,7 @@ Signed-off-by: David S. Miller /* de-assert bus level PHY GPIO resets */ if (bus->num_reset_gpios > 0) { bus->reset_gpiod = devm_kcalloc(&bus->dev, -@@ -363,6 +360,9 @@ int __mdiobus_register(struct mii_bus *b +@@ -362,6 +359,9 @@ int __mdiobus_register(struct mii_bus *b } } diff --git a/target/linux/generic/hack-4.9/710-phy-add-mdio_register_board_info.patch b/target/linux/generic/hack-4.9/710-phy-add-mdio_register_board_info.patch index 217cf4a486..844f747859 100644 --- a/target/linux/generic/hack-4.9/710-phy-add-mdio_register_board_info.patch +++ b/target/linux/generic/hack-4.9/710-phy-add-mdio_register_board_info.patch @@ -9,7 +9,7 @@ /** * mdiobus_alloc_size - allocate a mii_bus structure * @size: extra amount of memory to allocate for private storage. -@@ -401,6 +403,17 @@ void mdiobus_free(struct mii_bus *bus) +@@ -400,6 +402,17 @@ void mdiobus_free(struct mii_bus *bus) } EXPORT_SYMBOL(mdiobus_free); @@ -27,7 +27,7 @@ /** * mdiobus_scan - scan a bus for MDIO devices. * @bus: mii_bus to scan -@@ -416,6 +429,7 @@ EXPORT_SYMBOL(mdiobus_free); +@@ -415,6 +428,7 @@ EXPORT_SYMBOL(mdiobus_free); struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) { struct phy_device *phydev; @@ -35,7 +35,7 @@ int err; phydev = get_phy_device(bus, addr, false); -@@ -428,6 +442,12 @@ struct phy_device *mdiobus_scan(struct m +@@ -427,6 +441,12 @@ struct phy_device *mdiobus_scan(struct m */ of_mdiobus_link_mdiodev(bus, &phydev->mdio); -- 2.25.1