mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net: qrtr: Drop the MHI 'auto_queue' feature
@ 2025-12-18 16:51 Manivannan Sadhasivam via B4 Relay
  2025-12-18 16:51 ` [PATCH v2 1/2] net: qrtr: Drop the MHI auto_queue feature for IPCR DL channels Manivannan Sadhasivam via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Manivannan Sadhasivam via B4 Relay @ 2025-12-18 16:51 UTC (permalink / raw)
  To: Jeff Hugo, Carl Vanderlip, Oded Gabbay, Manivannan Sadhasivam,
	Jeff Johnson, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman, Greg Kroah-Hartman, Loic Poulain,
	Maxim Kochetkov
  Cc: linux-arm-msm, dri-devel, linux-kernel, mhi, linux-wireless,
	ath11k, ath12k, netdev, Bjorn Andersson, Johan Hovold, Chris Lew,
	Manivannan Sadhasivam, stable

Hi,

This series intends to fix the race between the MHI stack and the MHI client
drivers due to the MHI 'auto_queue' feature. As it turns out often, the best
way to fix an issue in a feature is to drop the feature itself and this series
does exactly that.

There is no real benefit in having the 'auto_queue' feature in the MHI stack,
other than saving a few lines of code in the client drivers. Since the QRTR is
the only client driver which makes use of this feature, this series reworks the
QRTR driver to manage the buffer on its own.

Testing
=======

Tested on Qcom X1E based Lenovo Thinkpad T14s laptop with WLAN device.

Merge Strategy
==============

Since this series modifies many subsystem drivers, I'd like to get acks from
relevant subsystem maintainers and take the series through MHI tree.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
---
Changes in v2:
- Used mhi_get_free_desc_count() to queue the buffers
- Collected tags
- Link to v1: https://lore.kernel.org/r/20251217-qrtr-fix-v1-0-f6142a3ec9d8@oss.qualcomm.com

---
Manivannan Sadhasivam (2):
      net: qrtr: Drop the MHI auto_queue feature for IPCR DL channels
      bus: mhi: host: Drop the auto_queue support

 drivers/accel/qaic/mhi_controller.c   | 44 -------------------
 drivers/bus/mhi/host/init.c           | 10 -----
 drivers/bus/mhi/host/internal.h       |  3 --
 drivers/bus/mhi/host/main.c           | 81 +----------------------------------
 drivers/bus/mhi/host/pci_generic.c    | 20 +--------
 drivers/net/wireless/ath/ath11k/mhi.c |  4 --
 drivers/net/wireless/ath/ath12k/mhi.c |  4 --
 include/linux/mhi.h                   | 14 ------
 net/qrtr/mhi.c                        | 69 ++++++++++++++++++++++++-----
 9 files changed, 62 insertions(+), 187 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251217-qrtr-fix-c058251d8d1a

Best regards,
-- 
Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-01-01 18:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-18 16:51 [PATCH v2 0/2] net: qrtr: Drop the MHI 'auto_queue' feature Manivannan Sadhasivam via B4 Relay
2025-12-18 16:51 ` [PATCH v2 1/2] net: qrtr: Drop the MHI auto_queue feature for IPCR DL channels Manivannan Sadhasivam via B4 Relay
2025-12-18 19:09   ` Loic Poulain
2025-12-19 10:47   ` Paolo Abeni
2025-12-29 20:20   ` Jeff Hugo
2026-01-01 18:53   ` Abel Vesa
2025-12-18 16:51 ` [PATCH v2 2/2] bus: mhi: host: Drop the auto_queue support Manivannan Sadhasivam via B4 Relay
2025-12-29 20:21   ` Jeff Hugo
2025-12-31 10:55 ` [PATCH v2 0/2] net: qrtr: Drop the MHI 'auto_queue' feature Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®