[PATCH v3 0/4] Fix IOVA allocation in Apple dart iommu after global LMB mem map changes

Tom Rini trini at konsulko.com
Mon Nov 11 17:11:12 CET 2024


On Mon, 11 Nov 2024 07:56:30 +0100, Janne Grunau wrote:

> The changes in "Make LMB memory map global and persistent" [1] break
> mapping DMA memory in the USB xHCI driver when using the apple_dart
> iommu present on Apple silicon systems.
> 
> The IOVA space used by the u-boot driver (low 4GB) and physical memory
> do not overlap. The physical memory on this systems starts depending on
> the SoC either at 0x10_0000_0000 or 0x100_0000_0000. It make no sense to
> manage these distinct regions in a single LMB map. In addition every
> device has its own iommu and IO address space so sharing a single memory
> map between all iommu instances is not necessary.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list