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