[PATCH v4 5/7] iommu/dma: Make limit checks self-contained

Robin Murphy robin.murphy at arm.com
Mon Jun 3 12:46:48 PDT 2024


Hi Jens,

On 2024-06-03 8:37 pm, Jens Glathe wrote:
> Hi Robin,
> 
> an observation from 6.10-rc1: On sc8280xp (Lenovo X13s, Windows Dev Kit
> 2023), when booted to EL2 with the arm-smmuv3 under control of Linux, it
> fails to set up DMA transfers to nvme. My box boots from nvme, so I only
> got a black screen. @craftyguy booted from USB, and got this:

Indeed, I see there's a dma-ranges property with a base of 0 in that DT, 
so all manner of hilarity may ensue. The fix is here, just waiting to be 
picked up:

https://lore.kernel.org/linux-iommu/159193e80b6a7701c61b32d6119ac68989d457bd.1716997607.git.robin.murphy@arm.com/

Thanks,
Robin.



More information about the linux-arm-kernel mailing list