Re: [PATCH 10/10] ACPI: IORT: Allow COMPILE_TEST of IORT

2023-11-28 Thread Moritz Fischer
tem MMU architecture versions 1 and 2. -- 2.42.0 Reviewed-by: Moritz Fischer Ok, now the previous patch makes sense :) Cheers, Moritz ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 09/10] ACPI: IORT: Cast from ULL to phys_addr_t

2023-11-28 Thread Moritz Fischer
On Tue, Nov 28, 2023 at 08:48:05PM -0400, Jason Gunthorpe wrote: gcc on i386 (when compile testing) warns: This is a weird test. The Makefile for drivers/acpi/arm64 is conditional on CONFIG_ARM64. How does this happen? 8->8 obj-$(CONFIG_ARM64) += arm64/ 8->8

Re: [PATCH 07/10] acpi: Do not return struct iommu_ops from acpi_iommu_configure_id()

2023-11-28 Thread Moritz Fischer
p_dma_ops(dev, 0, U64_MAX, attr == DEV_DMA_COHERENT); return 0; -- 2.42.0 Reviewed-by: Moritz Fischer Cheers, Moritz ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 04/10] iommu: Mark dev_iommu_get() with lockdep

2023-11-28 Thread Moritz Fischer
dev) { struct dev_iommu *param = dev->iommu; + lockdep_assert_held(_probe_device_lock); + if (param) return param; -- 2.42.0 Reviewed-by: Moritz Fischer Cheers, Moritz ___ linux-snps-arc mailing list

Re: [PATCH 03/10] iommu/of: Use -ENODEV consistently in of_iommu_configure()

2023-11-28 Thread Moritz Fischer
rr)); + return err; } static enum iommu_resv_type __maybe_unused -- 2.42.0 Reviewed-by: Moritz Fischer ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH v2 12/17] iommu: Make iommu_ops_from_fwnode() static

2023-11-16 Thread Moritz Fischer
On Wed, Nov 15, 2023 at 10:06:03AM -0400, Jason Gunthorpe wrote: > There are no external callers now. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Moritz Fischer > --- > drivers/iommu/iommu.c | 3 ++- > include/linux/iommu.h | 7 --- > 2 files changed, 2 inser

Re: [PATCH RFC 10/17] acpi: Do not use dev->iommu within acpi_iommu_configure()

2023-11-12 Thread Moritz Fischer
into iommu_probe_device_fwspec() which will load it into > dev->iommu under a lock. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Moritz Fischer > --- > drivers/acpi/arm64/iort.c | 39 - > drivers/acpi/scan.c | 89 +

Re: [PATCH RFC 01/17] iommu: Remove struct iommu_ops *iommu from arch_setup_dma_ops()

2023-11-12 Thread Moritz Fischer
eed to check it and remove the iommu parameter everywhere. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Moritz Fischer > --- > arch/arc/mm/dma.c | 2 +- > arch/arm/mm/dma-mapping-nommu.c | 2 +- > arch/arm/mm/dma-mapping.c | 10 +- > arc