[PATCH 2/2] ARM: nomadik: get the cache running normally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There were earlier problems with the L210 cache on the Nomadik.
It turns out that to run the cache at full speed, you need to
set the "write allocate override" bit in the auxilary control
register. Now that this bit can be set from the device tree, we
can set down the latencies to 2 again.

Cc: stable@xxxxxxxxxxxxxxx
Fixes: a461a3ecfc7e ("ARM: nomadik: set latencies to 8 cycles")
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
 arch/arm/boot/dts/ste-nomadik-stn8815.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
index d0c743853318..50c256f0fd98 100644
--- a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
+++ b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
@@ -25,9 +25,10 @@
 		cache-sets = <512>;
 		cache-line-size = <32>;
 		/* At full speed latency must be >=2 */
-		arm,tag-latency = <8>;
-		arm,data-latency = <8 8>;
-		arm,dirty-latency = <8>;
+		arm,tag-latency = <2>;
+		arm,data-latency = <2 2>;
+		arm,dirty-latency = <2>;
+		arm,write-allocate-override;
 	};
 
 	mtu0: mtu@101e2000 {
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]