Patch "net: wwan: iosm: fixes 7560 modem crash" has been added to the 6.2-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: wwan: iosm: fixes 7560 modem crash

to the 6.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-wwan-iosm-fixes-7560-modem-crash.patch
and it can be found in the queue-6.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2a91d26e75f7ac473d38d3b705c2dfae09c00b55
Author: M Chetan Kumar <m.chetan.kumar@xxxxxxxxxxxxxxx>
Date:   Tue Mar 28 11:58:44 2023 +0530

    net: wwan: iosm: fixes 7560 modem crash
    
    [ Upstream commit 5f70bcbca469a087b54ad2d934185ed69a098576 ]
    
    ModemManger/Apps probing the wwan0xmmrpc0 port for 7560 Modem results in
    modem crash.
    
    7560 Modem FW uses the MBIM interface for control command communication
    whereas 7360 uses Intel RPC interface so disable wwan0xmmrpc0 port for
    7560.
    
    Fixes: d08b0f8f46e4 ("net: wwan: iosm: add rpc interface for xmm modems")
    Reported-and-tested-by: Martin <mwolf@xxxxxxxxxxxxxx>
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=217200
    Signed-off-by: M Chetan Kumar <m.chetan.kumar@xxxxxxxxxxxxxxx>
    Signed-off-by: Shane Parslow <shaneparslow808@xxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/wwan/iosm/iosm_ipc_imem.c b/drivers/net/wwan/iosm/iosm_ipc_imem.c
index 1e6a479766429..c066b0040a3fe 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_imem.c
+++ b/drivers/net/wwan/iosm/iosm_ipc_imem.c
@@ -587,6 +587,13 @@ static void ipc_imem_run_state_worker(struct work_struct *instance)
 	while (ctrl_chl_idx < IPC_MEM_MAX_CHANNELS) {
 		if (!ipc_chnl_cfg_get(&chnl_cfg_port, ctrl_chl_idx)) {
 			ipc_imem->ipc_port[ctrl_chl_idx] = NULL;
+
+			if (ipc_imem->pcie->pci->device == INTEL_CP_DEVICE_7560_ID &&
+			    chnl_cfg_port.wwan_port_type == WWAN_PORT_XMMRPC) {
+				ctrl_chl_idx++;
+				continue;
+			}
+
 			if (ipc_imem->pcie->pci->device == INTEL_CP_DEVICE_7360_ID &&
 			    chnl_cfg_port.wwan_port_type == WWAN_PORT_MBIM) {
 				ctrl_chl_idx++;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux