[PATCH 4/5] ARM: mvebu: Enable SCU Speculative linefills to L2 for Armada 375/38x

Gregory CLEMENT gregory.clement at free-electrons.com
Thu Jun 26 15:43:27 PDT 2014


From: Nadav Haklai <nadavh at marvell.com>

For Armada 375 and Armada 38x SoCs, enable the SCU Speculative
linefills.

This feature may improve overall system performance.

[Gregory: modify the title of the patch and no more copy the defintion
of the bit here]

[Gregory: use the new function scu_spec_linefills_enable instead of
implementing SCU specific feature at board level]

Signed-off-by: Nadav Haklai <nadavh at marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
---
 arch/arm/mach-mvebu/board-v7.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c
index 8bb742fdf5ca..a24ea105e709 100644
--- a/arch/arm/mach-mvebu/board-v7.c
+++ b/arch/arm/mach-mvebu/board-v7.c
@@ -45,6 +45,7 @@ static void __init mvebu_scu_enable(void)
 		of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu");
 	if (np) {
 		scu_base = of_iomap(np, 0);
+		scu_spec_linefills_enable(scu_base, true);
 		scu_enable(scu_base);
 		of_node_put(np);
 	}
-- 
1.8.1.2




More information about the linux-arm-kernel mailing list