Re: Regression: scsi: ufs: core: Avoid IRQ thread wakeup during active UIC command

From: Bart Van Assche

Date: Wed Mar 18 2026 - 13:51:49 EST


On 3/17/26 10:17 AM, Tj wrote:
#regzbot ^introduced: 6475cfb81fc4f6175b6d15d1c205a5168dc10b46

I've had to revert this commit because it breaks UFS on Samsung Book2
W737 sdm850. Below is transcribed from a blurry video so apologies if it
is not exact:

| BUG: Invalid wait context |
ufshcd-qcom 1d84000.ufshc: uic cmd 0x1 with arg3 0x0 completion timeout
7.0.0-rc3-next-202603110sdm845 #103 Not tainted
-----------------------------
ufshcd-qcom 1d84000.ufshc: dme-get: attr-id 0x41 failed 0 retries
swapper/0/0 is trying to lock:
ffff000087ba4048 (shost->host_lock)(....)-(3:3). at: ufshcd_sl_intr+0x3dc/0x7a0

Thanks for having reported this. Is this perhaps the same issue as what
has been reported by Marek in
https://lore.kernel.org/linux-scsi/1f88b91c-59e6-4347-84c2-50b7cf106c47@xxxxxxxxxxx/?

I propose to revert commit 6475cfb81fc4 ("scsi: ufs: core: Avoid IRQ
thread wakeup during active UIC command") if a fix is not found before
the end of this week.

Bart.