Thread (18 messages) 18 messages, 5 authors, 2020-03-04

Re: dma_mask limited to 32-bits with OF platform device

From: Roger Quadros <hidden>
Date: 2020-02-18 08:28:47
Also in: lkml

Chrishtoph,

The branch works fine for SATA on DRA7 with CONFIG_LPAE once I
have the below DT fix.

Do you intend to send these fixes to -stable?

------------------------- arch/arm/boot/dts/dra7.dtsi -------------------------
index d78b684e7fca..853ecf3cfb37 100644
@@ -645,6 +645,8 @@
  		sata: sata@4a141100 {
  			compatible = "snps,dwc-ahci";
  			reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
+			#size-cells = <2>;
+			dma-ranges = <0x00000000 0x00000000 0x1 0x00000000>;
  			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
  			phys = <&sata_phy>;
  			phy-names = "sata-phy";

cheers,
-roger

On 17/02/2020 15:21, Christoph Hellwig wrote:
Roger,

can you try the branch below and check if that helps?

     git://git.infradead.org/users/hch/misc.git arm-dma-bus-limit

Gitweb:

     http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/arm-dma-bus-limit
-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help