Skip to content

Commit cda80a8

Browse files
yanmarkmangclement
authored andcommitted
ARM: dts: mvebu: pl310-cache disable double-linefill
Under heavy system stress mvebu SoC using Cortex A9 sporadically encountered instability issues. The "double linefill" feature of L2 cache was identified as causing dependency between read and write which lead to the deadlock. Especially, it was the cause of deadlock seen under heavy PCIe traffic, as this dependency violates PCIE overtaking rule. Fixes: c8f5a87 ("ARM: mvebu: use DT properties to fine-tune the L2 configuration") Cc: stable@vger.kernel.org Signed-off-by: Yan Markman <ymarkman@marvell.com> Signed-off-by: Igal Liberman <igall@marvell.com> Signed-off-by: Nadav Haklai <nadavh@marvell.com> [gregory.clement@free-electrons.com: reformulate commit log, add Armada 375 and add Fixes tag] Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
1 parent 2bbbd96 commit cda80a8

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

arch/arm/boot/dts/armada-375.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@
178178
reg = <0x8000 0x1000>;
179179
cache-unified;
180180
cache-level = <2>;
181-
arm,double-linefill-incr = <1>;
181+
arm,double-linefill-incr = <0>;
182182
arm,double-linefill-wrap = <0>;
183-
arm,double-linefill = <1>;
183+
arm,double-linefill = <0>;
184184
prefetch-data = <1>;
185185
};
186186

arch/arm/boot/dts/armada-38x.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@
143143
reg = <0x8000 0x1000>;
144144
cache-unified;
145145
cache-level = <2>;
146-
arm,double-linefill-incr = <1>;
146+
arm,double-linefill-incr = <0>;
147147
arm,double-linefill-wrap = <0>;
148-
arm,double-linefill = <1>;
148+
arm,double-linefill = <0>;
149149
prefetch-data = <1>;
150150
};
151151

arch/arm/boot/dts/armada-39x.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@
111111
reg = <0x8000 0x1000>;
112112
cache-unified;
113113
cache-level = <2>;
114-
arm,double-linefill-incr = <1>;
114+
arm,double-linefill-incr = <0>;
115115
arm,double-linefill-wrap = <0>;
116-
arm,double-linefill = <1>;
116+
arm,double-linefill = <0>;
117117
prefetch-data = <1>;
118118
};
119119

0 commit comments

Comments
 (0)