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

From: Jens Glathe
Date: Mon Jun 03 2024 - 15:56:13 EST


Hi Robin,

oh that was fast. Will test, thanks!

with best regards

Jens

On 6/3/24 21:46, Robin Murphy wrote:
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@xxxxxxx/


Thanks,
Robin.