From 2d02a4f5bda4a5ff392286360ec7d1129bd77d25 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 17 Aug 2017 10:51:05 +0200 Subject: kernel: update 4.9 to 4.9.44 Refresh patches. Adapt 704-phy-no-genphy-soft-reset.patch. Remove brcm2708/950-0005-mm-Remove-the-PFN-busy-warning.patch. Compile-tested on brcm2708/bcm2708 and x86/64. Runtime-tested on brcm2708/bcm2708 and x86/64. Fixes the following vulnerabilities: - CVE-2017-7533 - CVE-2017-1000111 - CVE-2017-1000112 Signed-off-by: Stijn Tintel --- ...734-net-phy-at803x-allow-to-configure-via-pdata.patch | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'target/linux/generic/pending-4.9/734-net-phy-at803x-allow-to-configure-via-pdata.patch') diff --git a/target/linux/generic/pending-4.9/734-net-phy-at803x-allow-to-configure-via-pdata.patch b/target/linux/generic/pending-4.9/734-net-phy-at803x-allow-to-configure-via-pdata.patch index e996d95093..69b21be951 100644 --- a/target/linux/generic/pending-4.9/734-net-phy-at803x-allow-to-configure-via-pdata.patch +++ b/target/linux/generic/pending-4.9/734-net-phy-at803x-allow-to-configure-via-pdata.patch @@ -11,8 +11,6 @@ Signed-off-by: Gabor Juhos 2 files changed, 67 insertions(+) create mode 100644 include/linux/platform_data/phy-at803x.h -diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c -index c0f45dde60aa..4a55130dcb1c 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -12,12 +12,14 @@ @@ -50,7 +48,7 @@ index c0f45dde60aa..4a55130dcb1c 100644 }; struct at803x_context { -@@ -276,8 +284,16 @@ static int at803x_probe(struct phy_device *phydev) +@@ -276,8 +284,16 @@ does_not_require_reset_workaround: return 0; } @@ -67,7 +65,7 @@ index c0f45dde60aa..4a55130dcb1c 100644 int ret; ret = genphy_config_init(phydev); -@@ -298,6 +314,26 @@ static int at803x_config_init(struct phy_device *phydev) +@@ -298,6 +314,26 @@ static int at803x_config_init(struct phy return ret; } @@ -94,7 +92,7 @@ index c0f45dde60aa..4a55130dcb1c 100644 return 0; } -@@ -335,6 +371,8 @@ static int at803x_config_intr(struct phy_device *phydev) +@@ -335,6 +371,8 @@ static int at803x_config_intr(struct phy static void at803x_link_change_notify(struct phy_device *phydev) { struct at803x_priv *priv = phydev->priv; @@ -103,7 +101,7 @@ index c0f45dde60aa..4a55130dcb1c 100644 /* * Conduct a hardware reset for AT8030/2 every time a link loss is -@@ -363,6 +401,24 @@ static void at803x_link_change_notify(struct phy_device *phydev) +@@ -363,6 +401,24 @@ static void at803x_link_change_notify(st } else { priv->phy_reset = false; } @@ -128,9 +126,6 @@ index c0f45dde60aa..4a55130dcb1c 100644 } static int at803x_aneg_done(struct phy_device *phydev) -diff --git a/include/linux/platform_data/phy-at803x.h b/include/linux/platform_data/phy-at803x.h -new file mode 100644 -index 000000000000..a5df74b4f38d --- /dev/null +++ b/include/linux/platform_data/phy-at803x.h @@ -0,0 +1,11 @@ @@ -145,6 +140,3 @@ index 000000000000..a5df74b4f38d +}; + +#endif /* _PHY_AT803X_PDATA_H */ --- -2.11.0 - -- cgit v1.2.3