From 4a1b87aba448fae648bf17830379fde11060927b Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Thu, 17 Aug 2017 17:58:24 +0100 Subject: kernel: update 4.4 to 4.4.83 Refresh patches. Minor update 704-phy-no-genphy-soft-reset.patch which was partially accepted upstream. Compile-tested on ar71xx. Runtime-tested on ar71xx. Fixes the following vulnerabilities: - CVE-2017-7533 (4.4.80) - CVE-2017-1000111 (4.4.82) - CVE-2017-1000112 (4.4.82) Signed-off-by: Kevin Darbyshire-Bryant --- target/linux/ramips/patches-4.4/0034-NET-multi-phy-support.patch | 6 +++--- target/linux/ramips/patches-4.4/101-mt7621-timer.patch | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'target/linux/ramips/patches-4.4') diff --git a/target/linux/ramips/patches-4.4/0034-NET-multi-phy-support.patch b/target/linux/ramips/patches-4.4/0034-NET-multi-phy-support.patch index f49660a56e..bb55c120da 100644 --- a/target/linux/ramips/patches-4.4/0034-NET-multi-phy-support.patch +++ b/target/linux/ramips/patches-4.4/0034-NET-multi-phy-support.patch @@ -11,7 +11,7 @@ Signed-off-by: John Crispin --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c -@@ -890,7 +890,8 @@ void phy_state_machine(struct work_struc +@@ -893,7 +893,8 @@ void phy_state_machine(struct work_struc /* If the link is down, give up on negotiation for now */ if (!phydev->link) { phydev->state = PHY_NOLINK; @@ -21,7 +21,7 @@ Signed-off-by: John Crispin phydev->adjust_link(phydev->attached_dev); break; } -@@ -973,7 +974,8 @@ void phy_state_machine(struct work_struc +@@ -985,7 +986,8 @@ void phy_state_machine(struct work_struc netif_carrier_on(phydev->attached_dev); } else { phydev->state = PHY_NOLINK; @@ -31,7 +31,7 @@ Signed-off-by: John Crispin } phydev->adjust_link(phydev->attached_dev); -@@ -985,7 +987,8 @@ void phy_state_machine(struct work_struc +@@ -997,7 +999,8 @@ void phy_state_machine(struct work_struc case PHY_HALTED: if (phydev->link) { phydev->link = 0; diff --git a/target/linux/ramips/patches-4.4/101-mt7621-timer.patch b/target/linux/ramips/patches-4.4/101-mt7621-timer.patch index 02497bc1d2..630bb2c1cd 100644 --- a/target/linux/ramips/patches-4.4/101-mt7621-timer.patch +++ b/target/linux/ramips/patches-4.4/101-mt7621-timer.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ralink/mt7621.c +++ b/arch/mips/ralink/mt7621.c -@@ -18,6 +18,7 @@ +@@ -21,6 +21,7 @@ #include #include #include @@ -8,7 +8,7 @@ #include -@@ -179,6 +180,58 @@ bool plat_cpu_core_present(int core) +@@ -178,6 +179,58 @@ bool plat_cpu_core_present(int core) return true; } @@ -79,7 +79,7 @@ choice --- a/arch/mips/ralink/timer-gic.c +++ b/arch/mips/ralink/timer-gic.c -@@ -12,6 +12,7 @@ +@@ -3,6 +3,7 @@ #include #include #include @@ -87,7 +87,7 @@ #include "common.h" -@@ -19,6 +20,8 @@ void __init plat_time_init(void) +@@ -10,6 +11,8 @@ void __init plat_time_init(void) { ralink_of_remap(); -- cgit v1.2.3