mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] bus: mhi: ep: Fix state_lock protection issues
@ 2026-02-03  6:55 Sumit Kumar
  2026-02-03  6:55 ` [PATCH 1/2] bus: mhi: ep: Fix potential deadlock in mhi_ep_reset_worker() Sumit Kumar
  2026-02-03  6:55 ` [PATCH 2/2] bus: mhi: ep: Add missing state_lock protection for mhi_state accesses Sumit Kumar
  0 siblings, 2 replies; 5+ messages in thread
From: Sumit Kumar @ 2026-02-03  6:55 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Alex Elder, Greg Kroah-Hartman
  Cc: mhi, linux-arm-msm, linux-kernel, Veerabhadrarao Badiganti,
	Subramanian Ananthanarayanan, Akhil Vinod, Sumit Kumar

This series fixes a deadlock in mhi_ep_reset_worker() where state_lock is
acquired twice, and adds missing lock protection for mhi_state accesses
in mhi_ep_handle_syserr() and mhi_ep_power_up() to prevent race conditions
and state machine corruption.

Signed-off-by: Sumit Kumar <sumit.kumar@oss.qualcomm.com>
---
Sumit Kumar (2):
      bus: mhi: ep: Fix potential deadlock in mhi_ep_reset_worker()
      bus: mhi: ep: Add missing state_lock protection for mhi_state accesses

 drivers/bus/mhi/ep/main.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
base-commit: 6fa9041b7177f6771817b95e83f6df17b147c8c6
change-id: 20251113-reset_worker_deadlock-0223907f7c9d

Best regards,
-- 
Sumit Kumar <sumit.kumar@oss.qualcomm.com>


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

end of thread, other threads:[~2026-03-02  9:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-03  6:55 [PATCH 0/2] bus: mhi: ep: Fix state_lock protection issues Sumit Kumar
2026-02-03  6:55 ` [PATCH 1/2] bus: mhi: ep: Fix potential deadlock in mhi_ep_reset_worker() Sumit Kumar
2026-03-02  9:01   ` Manivannan Sadhasivam
2026-02-03  6:55 ` [PATCH 2/2] bus: mhi: ep: Add missing state_lock protection for mhi_state accesses Sumit Kumar
2026-03-02  9:33   ` 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®