aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-06-09 15:59:41 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-06-15 19:20:56 +0200
commitb03826d8aaa659e2581dcff3f96280a8b4683422 (patch)
treed40e8591992ca1b17fd6cd7f4cc2a69eca58fa9d /target/linux/generic/patches-4.4
parent21f44e338976f54812a8f917e6648d8167a26936 (diff)
downloadupstream-b03826d8aaa659e2581dcff3f96280a8b4683422.tar.gz
upstream-b03826d8aaa659e2581dcff3f96280a8b4683422.tar.bz2
upstream-b03826d8aaa659e2581dcff3f96280a8b4683422.zip
kernel: bump kernel 4.4 to version 4.4.137
The new option CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE was added, in this commit: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.4.y&id=ffe4bf3eb3cfa10f9ef295c08c21f4fe3bb07e21 Handle it by setting it to the opposite value CONFIG_CC_OPTIMIZE_FOR_SIZE is set to. Tested on lantiq Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/patches-4.4')
-rw-r--r--target/linux/generic/patches-4.4/078-0003-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch6
-rw-r--r--target/linux/generic/patches-4.4/203-kallsyms_uncompressed.patch2
-rw-r--r--target/linux/generic/patches-4.4/204-module_strip.patch2
-rw-r--r--target/linux/generic/patches-4.4/995-mangle_bootargs.patch2
4 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic/patches-4.4/078-0003-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch b/target/linux/generic/patches-4.4/078-0003-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch
index b5c528140d..6a1cbbdeaa 100644
--- a/target/linux/generic/patches-4.4/078-0003-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch
+++ b/target/linux/generic/patches-4.4/078-0003-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch
@@ -265,9 +265,9 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
{
--- a/drivers/net/phy/bcm-phy-lib.h
+++ b/drivers/net/phy/bcm-phy-lib.h
-@@ -19,6 +19,9 @@
- int bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val);
- int bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
+@@ -26,6 +26,9 @@ static inline int bcm_phy_write_exp_sel(
+ return bcm_phy_write_exp(phydev, reg | MII_BCM54XX_EXP_SEL_ER, val);
+ }
+int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val);
+int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum);
diff --git a/target/linux/generic/patches-4.4/203-kallsyms_uncompressed.patch b/target/linux/generic/patches-4.4/203-kallsyms_uncompressed.patch
index cf8a447bbc..d3a5aa7606 100644
--- a/target/linux/generic/patches-4.4/203-kallsyms_uncompressed.patch
+++ b/target/linux/generic/patches-4.4/203-kallsyms_uncompressed.patch
@@ -51,7 +51,7 @@
} else if (argc != 1)
--- a/init/Kconfig
+++ b/init/Kconfig
-@@ -1345,6 +1345,17 @@ config SYSCTL_ARCH_UNALIGN_ALLOW
+@@ -1358,6 +1358,17 @@ config SYSCTL_ARCH_UNALIGN_ALLOW
the unaligned access emulation.
see arch/parisc/kernel/unaligned.c for reference
diff --git a/target/linux/generic/patches-4.4/204-module_strip.patch b/target/linux/generic/patches-4.4/204-module_strip.patch
index a661f98c65..09c62e29ac 100644
--- a/target/linux/generic/patches-4.4/204-module_strip.patch
+++ b/target/linux/generic/patches-4.4/204-module_strip.patch
@@ -89,7 +89,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/init/Kconfig
+++ b/init/Kconfig
-@@ -2033,6 +2033,13 @@ config MODULE_COMPRESS_XZ
+@@ -2046,6 +2046,13 @@ config MODULE_COMPRESS_XZ
endchoice
diff --git a/target/linux/generic/patches-4.4/995-mangle_bootargs.patch b/target/linux/generic/patches-4.4/995-mangle_bootargs.patch
index 821370350e..55863882bf 100644
--- a/target/linux/generic/patches-4.4/995-mangle_bootargs.patch
+++ b/target/linux/generic/patches-4.4/995-mangle_bootargs.patch
@@ -40,7 +40,7 @@
setup_per_cpu_areas();
--- a/init/Kconfig
+++ b/init/Kconfig
-@@ -1655,6 +1655,15 @@ config EMBEDDED
+@@ -1668,6 +1668,15 @@ config EMBEDDED
an embedded system so certain expert options are available
for configuration.