From: 黄涛 Date: Sun, 7 Oct 2012 10:17:33 +0000 (+0800) Subject: rk30: scu enable speculative linefills X-Git-Tag: firefly_0821_release~8488 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5adf4d05e63eeb146a8b53c562637586dd39838a;p=firefly-linux-kernel-4.4.55.git rk30: scu enable speculative linefills --- diff --git a/arch/arm/mach-rk30/platsmp.c b/arch/arm/mach-rk30/platsmp.c index 6c3ff7a051df..d44c80d4eeda 100755 --- a/arch/arm/mach-rk30/platsmp.c +++ b/arch/arm/mach-rk30/platsmp.c @@ -20,6 +20,7 @@ #define SCU_CTRL 0x00 #define SCU_STANDBY_EN (1 << 5) +#define SCU_SPECULATIVE_LINEFILLS_EN (1 << 3) #ifdef CONFIG_FIQ static void gic_raise_softirq_non_secure(const struct cpumask *mask, unsigned int irq) @@ -130,7 +131,7 @@ void __init platform_smp_prepare_cpus(unsigned int max_cpus) set_cpu_present(i, true); #endif - writel_relaxed(readl_relaxed(RK30_SCU_BASE + SCU_CTRL) | SCU_STANDBY_EN, RK30_SCU_BASE + SCU_CTRL); + writel_relaxed(readl_relaxed(RK30_SCU_BASE + SCU_CTRL) | SCU_STANDBY_EN | SCU_SPECULATIVE_LINEFILLS_EN, RK30_SCU_BASE + SCU_CTRL); scu_enable(RK30_SCU_BASE); }