From: rmilecki Date: Sun, 27 Sep 2015 06:53:12 +0000 (+0000) Subject: brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=9f8f482693b5c55435cce6993a0c1aafa8251abe;p=openwrt.git brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch These were initially commited in r9285. Signed-off-by: Rafał Miłecki git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47058 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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