linux-stable/drivers/net/wwan
M Chetan Kumar 035e3befc1 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: f7af616c63 ("net: iosm: infrastructure")
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-11-09 14:00:25 +00:00
..
iosm net: wwan: iosm: fix driver not working with INTEL_IOMMU disabled 2022-11-09 14:00:25 +00:00
t7xx net: wwan: t7xx: Fix return type of t7xx_ccmni_start_xmit 2022-09-19 18:28:50 -07:00
Kconfig net: wwan: iosm: fix driver not working with INTEL_IOMMU disabled 2022-11-09 14:00:25 +00:00
Makefile net: wwan: t7xx: Add core components 2022-05-09 10:51:59 +01:00
mhi_wwan_ctrl.c net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port 2022-09-20 16:07:12 -07:00
mhi_wwan_mbim.c net: wwan: mhi: fix memory leak in mhi_mbim_dellink 2022-11-07 09:38:04 +00:00
qcom_bam_dmux.c net: wwan: qcom_bam_dmux: fix wrong pointer passed to IS_ERR() 2022-03-22 09:36:46 +01:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c termios: get rid of non-UAPI asm/termios.h 2022-09-09 10:44:35 +02:00
wwan_hwsim.c wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new() 2022-10-19 17:25:10 -07:00