Re: [PATCH rc] gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU

2025-03-19 Thread Thierry Reding
On Mon, Mar 10, 2025 at 12:34:35PM +, Diogo Ivo wrote: > > Hello again, > > On 2/4/25 7:18 PM, Jason Gunthorpe wrote: > > Previously with tegra-smmu, even with CONFIG_IOMMU_DMA, the default domain > > could have been left as NULL. The NULL domain is specially recognized by > > host1x_iommu_at

Re: [PATCH rc] gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU

2025-03-19 Thread Thierry Reding
On Tue, Feb 04, 2025 at 03:18:19PM -0400, Jason Gunthorpe wrote: > Previously with tegra-smmu, even with CONFIG_IOMMU_DMA, the default domain > could have been left as NULL. The NULL domain is specially recognized by > host1x_iommu_attach() as meaning it is not the DMA domain and > should be replac

Re: [PATCH rc] gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU

2025-03-15 Thread Diogo Ivo
Hello again, On 2/4/25 7:18 PM, Jason Gunthorpe wrote: Previously with tegra-smmu, even with CONFIG_IOMMU_DMA, the default domain could have been left as NULL. The NULL domain is specially recognized by host1x_iommu_attach() as meaning it is not the DMA domain and should be replaced with the s

Re: [PATCH rc] gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU

2025-02-13 Thread Diogo Ivo
Hi all, On 2/4/25 7:18 PM, Jason Gunthorpe wrote: Previously with tegra-smmu, even with CONFIG_IOMMU_DMA, the default domain could have been left as NULL. The NULL domain is specially recognized by host1x_iommu_attach() as meaning it is not the DMA domain and should be replaced with the special

[PATCH rc] gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU

2025-02-04 Thread Jason Gunthorpe
Previously with tegra-smmu, even with CONFIG_IOMMU_DMA, the default domain could have been left as NULL. The NULL domain is specially recognized by host1x_iommu_attach() as meaning it is not the DMA domain and should be replaced with the special shared domain. This happened prior to the below comm