summaryrefslogtreecommitdiff
path: root/drivers/net/wwan/Kconfig
diff options
context:
space:
mode:
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>2022-11-07 10:35:02 +0300
committerDavid S. Miller <davem@davemloft.net>2022-11-09 17:00:25 +0300
commit035e3befc191347331dd2530c3686e05a8acfbb2 (patch)
tree8c6a49fbca80df77e02c7383f675e07bbe1ed223 /drivers/net/wwan/Kconfig
parentd38a648d2d6cc7bee11c6f533ff9426a00c2a74c (diff)
downloadlinux-035e3befc191347331dd2530c3686e05a8acfbb2.tar.xz
net: wwan: iosm: fix driver not working with INTEL_IOMMU disabled
With INTEL_IOMMU disable config or by forcing intel_iommu=off from grub some of the features of IOSM driver like browsing, flashing & coredump collection is not working. When driver calls DMA API - dma_map_single() for tx transfers. It is resulting in dma mapping error. Set the device DMA addressing capabilities using dma_set_mask() and remove the INTEL_IOMMU dependency in kconfig so that driver follows the platform config either INTEL_IOMMU enable or disable. Fixes: f7af616c632e ("net: iosm: infrastructure") Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/Kconfig')
-rw-r--r--drivers/net/wwan/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wwan/Kconfig b/drivers/net/wwan/Kconfig
index 3486ffe94ac4..ac4d73b5626f 100644
--- a/drivers/net/wwan/Kconfig
+++ b/drivers/net/wwan/Kconfig
@@ -94,7 +94,7 @@ config RPMSG_WWAN_CTRL
config IOSM
tristate "IOSM Driver for Intel M.2 WWAN Device"
- depends on INTEL_IOMMU
+ depends on PCI
select NET_DEVLINK
select RELAY if WWAN_DEBUGFS
help