diff --git a/patches.suse/wifi-ath11k-remove-MHI-LOOPBACK-channels.patch b/patches.suse/wifi-ath11k-remove-MHI-LOOPBACK-channels.patch new file mode 100644 index 0000000..2e40360 --- /dev/null +++ b/patches.suse/wifi-ath11k-remove-MHI-LOOPBACK-channels.patch @@ -0,0 +1,103 @@ +From fbb2a14afe00a5691b43cd19c946472e59e16fc6 Mon Sep 17 00:00:00 2001 +From: Baochen Qiang +Date: Fri, 23 Feb 2024 17:20:33 +0200 +Subject: [PATCH] wifi: ath11k: remove MHI LOOPBACK channels +Patch-mainline: Queued in subsystem maintainer repository +Git-commit: fbb2a14afe00a5691b43cd19c946472e59e16fc6 +Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git +References: bsc#1207948 + +There is no driver to match these two channels, so +remove them. This fixes warnings from MHI subsystem during suspend: + +mhi mhi0_LOOPBACK: 1: Failed to reset channel, still resetting +mhi mhi0_LOOPBACK: 0: Failed to reset channel, still resetting + +Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 + +Signed-off-by: Kalle Valo +Signed-off-by: Baochen Qiang +Link: https://msgid.link/20240221024725.10057-3-quic_bqiang@quicinc.com +Acked-by: Takashi Iwai + +--- + drivers/net/wireless/ath/ath11k/mhi.c | 56 --------------------------- + 1 file changed, 56 deletions(-) + +diff --git a/drivers/net/wireless/ath/ath11k/mhi.c b/drivers/net/wireless/ath/ath11k/mhi.c +index b53659145fcf..3de7fa6f88d0 100644 +--- a/drivers/net/wireless/ath/ath11k/mhi.c ++++ b/drivers/net/wireless/ath/ath11k/mhi.c +@@ -21,34 +21,6 @@ + #define RDDM_DUMP_SIZE 0x420000 + + static struct mhi_channel_config ath11k_mhi_channels_qca6390[] = { +- { +- .num = 0, +- .name = "LOOPBACK", +- .num_elements = 32, +- .event_ring = 0, +- .dir = DMA_TO_DEVICE, +- .ee_mask = 0x4, +- .pollcfg = 0, +- .doorbell = MHI_DB_BRST_DISABLE, +- .lpm_notify = false, +- .offload_channel = false, +- .doorbell_mode_switch = false, +- .auto_queue = false, +- }, +- { +- .num = 1, +- .name = "LOOPBACK", +- .num_elements = 32, +- .event_ring = 0, +- .dir = DMA_FROM_DEVICE, +- .ee_mask = 0x4, +- .pollcfg = 0, +- .doorbell = MHI_DB_BRST_DISABLE, +- .lpm_notify = false, +- .offload_channel = false, +- .doorbell_mode_switch = false, +- .auto_queue = false, +- }, + { + .num = 20, + .name = "IPCR", +@@ -114,34 +86,6 @@ static struct mhi_controller_config ath11k_mhi_config_qca6390 = { + }; + + static struct mhi_channel_config ath11k_mhi_channels_qcn9074[] = { +- { +- .num = 0, +- .name = "LOOPBACK", +- .num_elements = 32, +- .event_ring = 1, +- .dir = DMA_TO_DEVICE, +- .ee_mask = 0x14, +- .pollcfg = 0, +- .doorbell = MHI_DB_BRST_DISABLE, +- .lpm_notify = false, +- .offload_channel = false, +- .doorbell_mode_switch = false, +- .auto_queue = false, +- }, +- { +- .num = 1, +- .name = "LOOPBACK", +- .num_elements = 32, +- .event_ring = 1, +- .dir = DMA_FROM_DEVICE, +- .ee_mask = 0x14, +- .pollcfg = 0, +- .doorbell = MHI_DB_BRST_DISABLE, +- .lpm_notify = false, +- .offload_channel = false, +- .doorbell_mode_switch = false, +- .auto_queue = false, +- }, + { + .num = 20, + .name = "IPCR", +-- +2.35.3 + diff --git a/series.conf b/series.conf index 1164208..c529d62 100644 --- a/series.conf +++ b/series.conf @@ -191,6 +191,7 @@ patches.suse/iwlwifi-cfg-Add-missing-MODULE_FIRMWARE-for-pnvm.patch patches.suse/wifi-ath11k-rearrange-IRQ-enable-disable-in-reset-pa.patch + patches.suse/wifi-ath11k-remove-MHI-LOOPBACK-channels.patch ######################################################## # USB