ARM: exynos: clear prefetch bits in default l2c_aux_val
authorGuillaume Tucker <guillaume.tucker@collabora.com>
Mon, 10 Aug 2020 12:22:08 +0000 (13:22 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sat, 31 Oct 2020 11:48:55 +0000 (12:48 +0100)
Clear the L310_AUX_CTRL_DATA_PREFETCH and L310_AUX_CTRL_INSTR_PREFETCH
bits in the l2c_aux_val defaults for Exynos since they can now be set
using the standard l2c2x0 devicetree bindings.

Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Link: https://lore.kernel.org/r/e44b5226f3ad1551459830c678ed183762d8e458.1597061474.git.guillaume.tucker@collabora.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-exynos/exynos.c

index 700763e..a99d8eb 100644 (file)
@@ -206,8 +206,8 @@ static void __init exynos_dt_fixup(void)
 }
 
 DT_MACHINE_START(EXYNOS_DT, "Samsung Exynos (Flattened Device Tree)")
-       .l2c_aux_val    = 0x38400000,
-       .l2c_aux_mask   = 0xc60fffff,
+       .l2c_aux_val    = 0x08400000,
+       .l2c_aux_mask   = 0xf60fffff,
        .smp            = smp_ops(exynos_smp_ops),
        .map_io         = exynos_init_io,
        .init_early     = exynos_firmware_init,