From: Gary King Date: Wed, 15 Sep 2010 16:42:36 +0000 (-0700) Subject: [ARM] tegra: change SMP startup to use read-allocate cache X-Git-Tag: firefly_0821_release~9833^2~163^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8419248010c866bb8894340c6d2d08d016f54ed2;p=firefly-linux-kernel-4.4.55.git [ARM] tegra: change SMP startup to use read-allocate cache mirror the change to v7 common startup in the tegra-specific LP2 and hotplug statup routines Change-Id: I0552eba951dbfc168e37e59b41394d31fab30256 Signed-off-by: Gary King --- diff --git a/arch/arm/mach-tegra/cortex-a9.S b/arch/arm/mach-tegra/cortex-a9.S index 7434366aa461..893544956832 100644 --- a/arch/arm/mach-tegra/cortex-a9.S +++ b/arch/arm/mach-tegra/cortex-a9.S @@ -666,7 +666,11 @@ ENTRY(__return_to_virtual) mcr p15, 0, r0, c3, c0, 0 @ domain access register mov32 r0, 0xff0a81a8 +#ifdef CONFIG_SMP + mov32 r1, 0xc0e0c0e0 +#else mov32 r1, 0x40e040e0 +#endif mcr p15, 0, r0, c10, c2, 0 @ PRRR mcr p15, 0, r1, c10, c2, 1 @ NMRR mrc p15, 0, r0, c1, c0, 0