Re: [PATCH] scsi: ufs: qcom: Reprogram ESI after a host controller reset

From: Martin K. Petersen (Oracle)

Date: Sun Nov 08 2026 - 22:56:29 EST


On Fri, 23 Oct 2026 01:50:06 +0900, Joonhoe Kim wrote:

> ufs_qcom_config_esi() returns early once the ESI interrupts are set up.
> ufshcd_config_mcq() also calls it after every host controller reset,
> which clears the ESI base address, the vector mask and ESI enable. After
> the error handler has reset the controller, the completions then arrive
> only on the legacy interrupt while mcq_esi_enabled stays set.
>
> Allocate the MSIs and request their interrupts only once, but program
> the ESI registers on every call. The MSI message is not cached for
> platform MSIs, so keep the one written at allocation.
>
> [...]

Applied to 7.4/scsi-fixes, thanks!

[1/1] scsi: ufs: qcom: Reprogram ESI after a host controller reset
https://git.kernel.org/mkp/scsi/c/b3da73f09499

--
Martin K. Petersen