Govind Singh <govinds@xxxxxxxxxxxxxx> writes: > When an IOMMU device is available on the platform bus, allocate > an IOMMU domain and attach the wlan target to it. > WCN3990 target can then attach an DMA I/O virtual address > space to scan out of bound transactions. > > Signed-off-by: Govind Singh <govinds@xxxxxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath10k/snoc.c | 100 ++++++++++++++++++++++++++++++++- > drivers/net/wireless/ath/ath10k/snoc.h | 3 + > 2 files changed, 101 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c > index cd21b25..502263d 100644 > --- a/drivers/net/wireless/ath/ath10k/snoc.c > +++ b/drivers/net/wireless/ath/ath10k/snoc.c > @@ -26,6 +26,10 @@ > #include <linux/platform_device.h> > #include <linux/regulator/consumer.h> > #include <linux/clk.h> > +#include <asm/dma-iommu.h> > +#include <linux/iommu.h> > +#include <linux/dma-mapping.h> Kbuild bot reported a problem with arm64 but strangely I cannot find the full report. Anyway, this was the warning: drivers/net/wireless/ath/ath10k/snoc.c:29:10: fatal error: asm/dma-iommu.h: No such file or directory Any ideas? Adding also Arnd, the grand master of compilation problems :) Full patch here: https://patchwork.kernel.org/patch/10220719/ -- Kalle Valo