From: Rafał Miłecki Date: Sun, 27 Sep 2015 06:53:12 +0000 (+0000) Subject: brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f8a14765b8b173c5712484eb97817ec43a1394f2;p=openwrt%2Fstaging%2Fkaloz.git brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch These were initially commited in r9285. Signed-off-by: Rafał Miłecki SVN-Revision: 47058 --- diff --git a/target/linux/brcm47xx/patches-4.1/300-fork_cacheflush.patch b/target/linux/brcm47xx/patches-4.1/300-fork_cacheflush.patch index 0f79debc6b..daa2c1adf0 100644 --- a/target/linux/brcm47xx/patches-4.1/300-fork_cacheflush.patch +++ b/target/linux/brcm47xx/patches-4.1/300-fork_cacheflush.patch @@ -1,3 +1,13 @@ +From: Wolfram Joost +Subject: [PATCH] fork_cacheflush + +On ASUS WL-500gP there are many unexpected "Segmentation fault"s that +seem to be caused by a kernel. They can be avoided by: +1) Disabling highpage +2) Using flush_cache_mm in flush_cache_dup_mm + +For details see OpenWrt ticket #2035 https://dev.openwrt.org/ticket/2035 +--- --- a/arch/mips/include/asm/cacheflush.h +++ b/arch/mips/include/asm/cacheflush.h @@ -46,7 +46,7 @@ diff --git a/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch b/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch index 5598aaedac..91b6ab5994 100644 --- a/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch +++ b/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch @@ -1,3 +1,13 @@ +From: Jeff Hansen +Subject: [PATCH] no highpage + +On ASUS WL-500gP there are many unexpected "Segmentation fault"s that +seem to be caused by a kernel. They can be avoided by: +1) Disabling highpage +2) Using flush_cache_mm in flush_cache_dup_mm + +For details see OpenWrt ticket #2035 https://dev.openwrt.org/ticket/2035 +--- --- a/arch/mips/include/asm/page.h +++ b/arch/mips/include/asm/page.h @@ -71,6 +71,7 @@ static inline unsigned int page_size_ftl