History

arm64: Mark the Applied Micro X-Gene SATA controller as DMA coherent

Since the default DMA ops for arm64 are non-coherent, mark the X-Gene controller explicitly as dma-coherent to avoid additional cache maintenance.

Catalin Marinas committed 12 years ago

Commit 7a8d1ec1 parent 6ecba8e2 files · +6 −0Browse files

Unified · Split

2 files
  1. Documentation/devicetree/bindings/ata/apm-xgene.txt +3 −0
  2. arch/arm64/boot/dts/apm-storm.dtsi +3 −0
Documentation/devicetree/bindings/ata/apm-xgene.txt+3−0
@@ -24,6 +24,7 @@ Required properties: · 23 unmodified lines
2424 * "sata-phy" for the SATA 6.0Gbps PHY
2525
2626 Optional properties:
27+- dma-coherent : Present if dma operations are coherent
2728 - status : Shall be "ok" if enabled or "disabled" if disabled.
2829 Default is "ok".
2930
@@ -55,6 +56,7 @@ Example: · 25 unmodified lines
5556 <0x0 0x1f22e000 0x0 0x1000>,
5657 <0x0 0x1f227000 0x0 0x1000>;
5758 interrupts = <0x0 0x87 0x4>;
59+ dma-coherent;
5860 status = "ok";
5961 clocks = <&sataclk 0>;
6062 phys = <&phy2 0>;
@@ -69,6 +71,7 @@ Example: · 8 unmodified lines
6971 <0x0 0x1f23e000 0x0 0x1000>,
7072 <0x0 0x1f237000 0x0 0x1000>;
7173 interrupts = <0x0 0x88 0x4>;
74+ dma-coherent;
7275 status = "ok";
7376 clocks = <&sataclk 0>;
7477 phys = <&phy3 0>;
arch/arm64/boot/dts/apm-storm.dtsi+3−0
@@ -307,6 +307,7 @@ · 306 unmodified lines
307307 <0x0 0x1f21e000 0x0 0x1000>,
308308 <0x0 0x1f217000 0x0 0x1000>;
309309 interrupts = <0x0 0x86 0x4>;
310+ dma-coherent;
310311 status = "disabled";
311312 clocks = <&sata01clk 0>;
312313 phys = <&phy1 0>;
@@ -321,6 +322,7 @@ · 8 unmodified lines
321322 <0x0 0x1f22e000 0x0 0x1000>,
322323 <0x0 0x1f227000 0x0 0x1000>;
323324 interrupts = <0x0 0x87 0x4>;
325+ dma-coherent;
324326 status = "ok";
325327 clocks = <&sata23clk 0>;
326328 phys = <&phy2 0>;
@@ -334,6 +336,7 @@ · 7 unmodified lines
334336 <0x0 0x1f23d000 0x0 0x1000>,
335337 <0x0 0x1f23e000 0x0 0x1000>;
336338 interrupts = <0x0 0x88 0x4>;
339+ dma-coherent;
337340 status = "ok";
338341 clocks = <&sata45clk 0>;
339342 phys = <&phy3 0>;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t