]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: ls1043a: use a pseudo-bus to constrain usb and sata dma size
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 14 Sep 2022 21:47:01 +0000 (16:47 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:35:23 +0000 (16:35 +0800)
commitc570771a141575dd6e75642c0c584ea1903b9463
treed9d0fc2f1134eff4cd41fa2db441ca2b879f72f4
parentff8202801998be7e92bf920df86eced7456d4445
arm64: dts: ls1043a: use a pseudo-bus to constrain usb and sata dma size

Wrap the usb and sata controllers in an intermediate simple-bus and use
it to constrain the dma address size of these usb controllers to the 40
bits that they generate toward the interconnect.  This is required
because the SoC uses 48 bits address sizes and this mismatch would lead
to smmu context faults because the usb generates 40-bit addresses while
the smmu page tables are populated with 48-bit wide addresses.

Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi