Skip to contentSkip to conversation

Patch "ARM: dts: mvebu: pl310-cache disable double-linefill" has been added to the 4.13-stable tree

PATCH [email protected] 1 participant 1 message Nov 5, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: dts: mvebu: pl310-cache disable double-linefill

to the 4.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-dts-mvebu-pl310-cache-disable-double-linefill.patch
and it can be found in the queue-4.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From cda80a82ac3e89309706c027ada6ab232be1d640 Mon Sep 17 00:00:00 2001

From: Yan Markman <[email protected]>
Date: Sun, 16 Oct 2016 00:22:32 +0300
Subject: ARM: dts: mvebu: pl310-cache disable double-linefill

From: Yan Markman <[email protected]>

commit cda80a82ac3e89309706c027ada6ab232be1d640 upstream.

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 c8f5a878e554 ("ARM: mvebu: use DT properties to fine-tune the L2 configuration")

[[email protected]: reformulate commit log, add Armada 375 and add Fixes tag]

---
 arch/arm/boot/dts/armada-375.dtsi |    4 ++--
 arch/arm/boot/dts/armada-38x.dtsi |    4 ++--
 arch/arm/boot/dts/armada-39x.dtsi |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/armada-375.dtsi +2 -2
@@ -178,9 +178,9 @@
 				reg = <0x8000 0x1000>;
 				cache-unified;
 				cache-level = <2>;
-				arm,double-linefill-incr = <1>;
+				arm,double-linefill-incr = <0>;
 				arm,double-linefill-wrap = <0>;
-				arm,double-linefill = <1>;
+				arm,double-linefill = <0>;
 				prefetch-data = <1>;
 			};
 
arch/arm/boot/dts/armada-38x.dtsi +2 -2
@@ -143,9 +143,9 @@
 				reg = <0x8000 0x1000>;
 				cache-unified;
 				cache-level = <2>;
-				arm,double-linefill-incr = <1>;
+				arm,double-linefill-incr = <0>;
 				arm,double-linefill-wrap = <0>;
-				arm,double-linefill = <1>;
+				arm,double-linefill = <0>;
 				prefetch-data = <1>;
 			};
 
arch/arm/boot/dts/armada-39x.dtsi +2 -2
@@ -111,9 +111,9 @@
 				reg = <0x8000 0x1000>;
 				cache-unified;
 				cache-level = <2>;
-				arm,double-linefill-incr = <1>;
+				arm,double-linefill-incr = <0>;
 				arm,double-linefill-wrap = <0>;
-				arm,double-linefill = <1>;
+				arm,double-linefill = <0>;
 				prefetch-data = <1>;
 			};
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.13/arm-dts-mvebu-pl310-cache-disable-double-linefill.patch