* [PATCH -next] dmaengine: tegra: Fix build error without IOMMU_API
@ 2022-05-05 9:32 YueHaibing
2022-05-19 17:16 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2022-05-05 9:32 UTC (permalink / raw)
To: vkoul, rgumasta, pkunapuli, treding, digetx, akhilrajeev
Cc: dmaengine, linux-kernel, YueHaibing
drivers/dma/tegra186-gpc-dma.c: In function ‘tegra_dma_probe’:
drivers/dma/tegra186-gpc-dma.c:1364:24: error: ‘struct iommu_fwspec’ has no member named ‘ids’
stream_id = iommu_spec->ids[0] & 0xffff;
^~
Make TEGRA186_GPC_DMA depends on IOMMU_API to fix this.
Fixes: ee17028009d4 ("dmaengine: tegra: Add tegra gpcdma driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index cc1464e4acde..857b2174a4cb 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -632,6 +632,7 @@ config TXX9_DMAC
config TEGRA186_GPC_DMA
tristate "NVIDIA Tegra GPC DMA support"
depends on (ARCH_TEGRA || COMPILE_TEST) && ARCH_DMA_ADDR_T_64BIT
+ depends on IOMMU_API
select DMA_ENGINE
help
Support for the NVIDIA Tegra General Purpose Central DMA controller.
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] dmaengine: tegra: Fix build error without IOMMU_API
2022-05-05 9:32 [PATCH -next] dmaengine: tegra: Fix build error without IOMMU_API YueHaibing
@ 2022-05-19 17:16 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2022-05-19 17:16 UTC (permalink / raw)
To: YueHaibing
Cc: rgumasta, pkunapuli, treding, digetx, akhilrajeev, dmaengine,
linux-kernel
On 05-05-22, 17:32, YueHaibing wrote:
> drivers/dma/tegra186-gpc-dma.c: In function ‘tegra_dma_probe’:
> drivers/dma/tegra186-gpc-dma.c:1364:24: error: ‘struct iommu_fwspec’ has no member named ‘ids’
> stream_id = iommu_spec->ids[0] & 0xffff;
> ^~
>
> Make TEGRA186_GPC_DMA depends on IOMMU_API to fix this.
Applied, thanks
>
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-19 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 9:32 [PATCH -next] dmaengine: tegra: Fix build error without IOMMU_API YueHaibing
2022-05-19 17:16 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).