Skip to content

Commit a461a3e

Browse files
Linus Walleijolofj
authored andcommitted
ARM: nomadik: set latencies to 8 cycles
The Nomadik has sporadic crashes because of these latencies, setting them to max makes the platform work nicely, so use this values for now. These latencies were set to 2 since the Nomadik platform was merged, but I suspect they never took effect until the right size and associativity for the cache was specified in the device tree and that is why the crash comes now. Cc: stable@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 694341c commit a461a3e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm/boot/dts/ste-nomadik-stn8815.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
cache-sets = <512>;
2626
cache-line-size = <32>;
2727
/* At full speed latency must be >=2 */
28-
arm,tag-latency = <2>;
29-
arm,data-latency = <2 2>;
30-
arm,dirty-latency = <2>;
28+
arm,tag-latency = <8>;
29+
arm,data-latency = <8 8>;
30+
arm,dirty-latency = <8>;
3131
};
3232

3333
mtu0: mtu@101e2000 {

0 commit comments

Comments
 (0)