From f8a14765b8b173c5712484eb97817ec43a1394f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Sun, 27 Sep 2015 06:53:12 +0000 Subject: [PATCH] brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These were initially commited in r9285. Signed-off-by: Rafał Miłecki SVN-Revision: 47058 --- .../brcm47xx/patches-4.1/300-fork_cacheflush.patch | 10 ++++++++++ .../linux/brcm47xx/patches-4.1/310-no_highpage.patch | 10 ++++++++++ 2 files changed, 20 insertions(+) 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 -- 2.25.1