Re: [PATCH v2] scsi: ufs: core: Avoid possible memory reclaim deadlock in TX EQTR context
From: Martin K. Petersen
Date: Sun Jul 12 2026 - 14:03:58 EST
Can,
> TX EQTR may run while devfreq gear scaling has quiesced the UFS
> tagset. In that context, functions ufshcd_tx_eqtr(),
> __ufshcd_tx_eqtr() and ufs_qcom_get_rx_fom() allocate memory with
> GFP_KERNEL. If direct reclaim is triggered, reclaim/writeback can
> depend on I/O to UFS device. Because the queue is quiesced, this can
> cause deadlock.
Applied to 7.3/scsi-staging, thanks!
--
Martin K. Petersen