l30013671 / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
e336be
From patchwork Fri May 11 02:27:51 2018
e336be
Content-Type: text/plain; charset="utf-8"
e336be
MIME-Version: 1.0
e336be
Content-Transfer-Encoding: 7bit
e336be
Subject: [2/2] arm64: dts: allwinner: a64: Enable A64 timer workaround
e336be
From: Samuel Holland <samuel@sholland.org>
e336be
X-Patchwork-Id: 10392889
e336be
Message-Id: <20180511022751.9096-3-samuel@sholland.org>
e336be
To: Maxime Ripard <maxime.ripard@bootlin.com>, Chen-Yu Tsai <wens@csie.org>, 
e336be
 Catalin Marinas <catalin.marinas@arm.com>,
e336be
 Will Deacon <will.deacon@arm.com>,
e336be
 Daniel Lezcano <daniel.lezcano@linaro.org>,
e336be
 Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <marc.zyngier@arm.com>
e336be
Cc: linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org,
e336be
 linux-arm-kernel@lists.infradead.org, Samuel Holland <samuel@sholland.org>
e336be
Date: Thu, 10 May 2018 21:27:51 -0500
e336be
e336be
As instability in the architectural timer has been observed on multiple
e336be
devices using this SoC, inluding the Pine64 and the Orange Pi Win,
e336be
enable the workaround in the SoC's device tree.
e336be
e336be
Signed-off-by: Samuel Holland <samuel@sholland.org>
e336be
---
e336be
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
e336be
 1 file changed, 1 insertion(+)
e336be
e336be
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
e336be
index 1b2ef28c42bd..5202b76e9684 100644
e336be
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
e336be
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
e336be
@@ -152,6 +152,7 @@
e336be
 
e336be
 	timer {
e336be
 		compatible = "arm,armv8-timer";
e336be
+		allwinner,sun50i-a64-unstable-timer;
e336be
 		interrupts = 
e336be
 			(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
e336be