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

2024-11-06 Thread Sughosh Ganu
On Wed, 6 Nov 2024 at 12:43, Janne Grunau wrote: > > On Wed, Nov 06, 2024 at 12:43:01AM +0530, Sughosh Ganu wrote: > > On Sun, 3 Nov 2024 at 23:06, Janne Grunau wrote: > > > > > > On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > > > > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis >

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

2024-11-05 Thread Janne Grunau
On Wed, Nov 06, 2024 at 12:43:01AM +0530, Sughosh Ganu wrote: > On Sun, 3 Nov 2024 at 23:06, Janne Grunau wrote: > > > > On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > > > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis > > > wrote: > > > > > > > > > From: Sughosh Ganu > > > > > Dat

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

2024-11-05 Thread Sughosh Ganu
On Sun, 3 Nov 2024 at 23:06, Janne Grunau wrote: > > On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis wrote: > > > > > > > From: Sughosh Ganu > > > > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > > > > > > > On Fri, 1 Nov 2024 at 15:47, Jann

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

2024-11-04 Thread Tom Rini
On Sun, Nov 03, 2024 at 10:56:00PM +0100, Mark Kettenis wrote: > > Date: Sun, 3 Nov 2024 18:36:33 +0100 > > From: Janne Grunau > > > > On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > > > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis > > > wrote: > > > > > > > > > From: Sughosh Ganu

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

2024-11-03 Thread Mark Kettenis
> Date: Sun, 3 Nov 2024 18:36:33 +0100 > From: Janne Grunau > > On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis wrote: > > > > > > > From: Sughosh Ganu > > > > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > > > > > > > On Fri, 1 Nov 2024 at

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

2024-11-03 Thread Janne Grunau
On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis wrote: > > > > > From: Sughosh Ganu > > > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > > > > > On Fri, 1 Nov 2024 at 15:47, Janne Grunau wrote: > > > > > > > > The changes in "Make LMB memory m

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

2024-11-03 Thread Sughosh Ganu
On Sat, 2 Nov 2024 at 16:00, Mark Kettenis wrote: > > > From: Sughosh Ganu > > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > > > On Fri, 1 Nov 2024 at 15:47, Janne Grunau wrote: > > > > > > The changes in "Make LMB memory map global and persistent" [1] break > > > mapping DMA memory in the USB xHCI d

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

2024-11-02 Thread Mark Kettenis
> From: Sughosh Ganu > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > On Fri, 1 Nov 2024 at 15:47, 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

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

2024-11-01 Thread Sughosh Ganu
On Fri, 1 Nov 2024 at 15:47, 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 physi

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

2024-11-01 Thread Janne Grunau
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 system