| 8a690c15 | 09-May-2023 |
M Chetan Kumar <[email protected]> |
net: wwan: iosm: clean up unused struct members
Below members are unused. - td_tag member defined in struct ipc_pipe. - adb_finish_timer & params defined in struct iosm_mux.
Remove it to avoid unex
net: wwan: iosm: clean up unused struct members
Below members are unused. - td_tag member defined in struct ipc_pipe. - adb_finish_timer & params defined in struct iosm_mux.
Remove it to avoid unexpected usage.
Signed-off-by: M Chetan Kumar <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/92ee483d79dfc871ed7408da8fec60b395ff3a9c.1683649868.git.m.chetan.kumar@linux.intel.com Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| c34ca4f3 | 24-Nov-2022 |
M Chetan Kumar <[email protected]> |
net: wwan: iosm: fix incorrect skb length
skb passed to network layer contains incorrect length.
In mux aggregation protocol, the datagram block received from device contains block signature, packe
net: wwan: iosm: fix incorrect skb length
skb passed to network layer contains incorrect length.
In mux aggregation protocol, the datagram block received from device contains block signature, packet & datagram header. The right skb len to be calculated by subracting datagram pad len from datagram length.
Whereas in mux lite protocol, the skb contains single datagram so skb len is calculated by subtracting the packet offset from datagram header.
Fixes: 1f52d7b62285 ("net: wwan: iosm: Enable M.2 7360 WWAN card support") Signed-off-by: M Chetan Kumar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
show more ...
|
| 2290a1d4 | 24-Nov-2022 |
M Chetan Kumar <[email protected]> |
net: wwan: iosm: fix crash in peek throughput test
Peek throughput UL test is resulting in crash. If the UL transfer block free list is exhaust, the peeked skb is freed. In the next transfer freed s
net: wwan: iosm: fix crash in peek throughput test
Peek throughput UL test is resulting in crash. If the UL transfer block free list is exhaust, the peeked skb is freed. In the next transfer freed skb is referred from UL list which results in crash.
Don't free the skb if UL transfer blocks are unavailable. The pending skb will be picked for transfer on UL transfer block available.
Fixes: 1f52d7b62285 ("net: wwan: iosm: Enable M.2 7360 WWAN card support") Signed-off-by: M Chetan Kumar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
show more ...
|
| 4a99e3c8 | 24-Nov-2022 |
M Chetan Kumar <[email protected]> |
net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type
Fix build error reported on armhf while preparing 6.1-rc5 for Debian.
iosm_ipc_protocol.c:244:36: error: passing argument 3 of 'dma
net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type
Fix build error reported on armhf while preparing 6.1-rc5 for Debian.
iosm_ipc_protocol.c:244:36: error: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type.
Change phy_ap_shm type from phys_addr_t to dma_addr_t.
Fixes: faed4c6f6f48 ("net: iosm: shared memory protocol") Reported-by: Bonaccorso Salvatore <[email protected]> Signed-off-by: M Chetan Kumar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
show more ...
|
| 02d2d2ea | 07-Nov-2022 |
M Chetan Kumar <[email protected]> |
net: wwan: iosm: fix invalid mux header type
Data stall seen during peak DL throughput test & packets are dropped by mux layer due to invalid header type in datagram.
During initlization Mux aggreg
net: wwan: iosm: fix invalid mux header type
Data stall seen during peak DL throughput test & packets are dropped by mux layer due to invalid header type in datagram.
During initlization Mux aggregration protocol is set to default UL/DL size and TD count of Mux lite protocol. This configuration mismatch between device and driver is resulting in data stall/packet drops.
Override the UL/DL size and TD count for Mux aggregation protocol.
Fixes: 1f52d7b62285 ("net: wwan: iosm: Enable M.2 7360 WWAN card support") Signed-off-by: M Chetan Kumar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
show more ...
|
| 035e3bef | 07-Nov-2022 |
M Chetan Kumar <[email protected]> |
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
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
show more ...
|