From: Mark Kettenis <kettenis@openbsd.org>
To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Cc: Mark Kettenis <kettenis@openbsd.org>,
andrew@lunn.ch, gregory.clement@bootlin.com,
jason@lakedaemon.net, sebastian.hesselbarth@gmail.com
Subject: [PATCH] arm64: dts: marvell: mark CP110 ahci as dma-coherent
Date: Sat, 31 Mar 2018 16:44:06 +0200 [thread overview]
Message-ID: <20180331144406.23030-1-kettenis@openbsd.org> (raw)
The hardware is clearly DMA coherent and not marking it as such leads
to cache coherency problems, at least with the OpenBSD kernel.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
---
arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
index a8af4136dbe7..7e9177ef7b7d 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
@@ -231,6 +231,7 @@
compatible = "marvell,armada-8k-ahci",
"generic-ahci";
reg = <0x540000 0x30000>;
+ dma-coherent;
interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&CP110_LABEL(clk) 1 15>;
status = "disabled";
--
2.16.2
next reply other threads:[~2018-03-31 14:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-31 14:44 Mark Kettenis [this message]
2018-04-06 9:37 ` [PATCH] arm64: dts: marvell: mark CP110 ahci as dma-coherent Gregory CLEMENT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180331144406.23030-1-kettenis@openbsd.org \
--to=kettenis@openbsd.org \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=gregory.clement@bootlin.com \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).