aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2023-03-05 18:42:49 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-05 18:47:12 +0100
commita7e05caaf3e215981dde82881259465c682df039 (patch)
tree50e2a18f528cf0e69101b6f70a3f1933f446671b /target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch
parent477ff0821a5e532adc0861d4093029967f5e1178 (diff)
downloadupstream-a7e05caaf3e215981dde82881259465c682df039.tar.gz
upstream-a7e05caaf3e215981dde82881259465c682df039.tar.bz2
upstream-a7e05caaf3e215981dde82881259465c682df039.zip
bcm47xx: Refresh patches
The kernel patches did not apply cleanly any more, refresh them automatically. Fixes: 26bc8f68767e ("generic: MIPS: Add barriers between dcache & icache flushes") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch')
-rw-r--r--target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch b/target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch
index 0c9a9d6490..eb4c0e6ac8 100644
--- a/target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch
+++ b/target/linux/bcm47xx/patches-5.10/159-cpu_fixes.patch
@@ -389,7 +389,7 @@
if (dc_lsize == 0)
r4k_blast_dcache = (void *)cache_noop;
else if (dc_lsize == 16)
-@@ -1818,6 +1830,17 @@ static void coherency_setup(void)
+@@ -1827,6 +1839,17 @@ static void coherency_setup(void)
* silly idea of putting something else there ...
*/
switch (current_cpu_type()) {
@@ -407,7 +407,7 @@
case CPU_R4000PC:
case CPU_R4000SC:
case CPU_R4000MC:
-@@ -1864,6 +1887,15 @@ void r4k_cache_init(void)
+@@ -1873,6 +1896,15 @@ void r4k_cache_init(void)
extern void build_copy_page(void);
struct cpuinfo_mips *c = &current_cpu_data;
@@ -423,7 +423,7 @@
probe_pcache();
probe_vcache();
setup_scache();
-@@ -1940,7 +1972,15 @@ void r4k_cache_init(void)
+@@ -1949,7 +1981,15 @@ void r4k_cache_init(void)
*/
local_r4k___flush_cache_all(NULL);