Re: [PATCH v2 0/3] scsi: ufs: Harden TX EQTR error handling paths

"Martin K. Petersen" <[email protected]>
Newsgroups org.kernel.vger.linux-scsi
Message-ID <[email protected]>
On Thu, 25 Jun 2026 05:13:02 -0700, Can Guo wrote:

> TX Equalization training currently has a few error-path gaps that can
> make the flow brittle and can leave variant/device cleanup incomplete.
> 
> This series hardens TX EQTR in three places:
> 
> 1. ufs-qcom: route SW FOM setup failures through the shared cleanup path
>    so temporary device TX EQ settings are restored and link recovery is
>    always attempted before exit.
> 2. core: treat RX_FOM DME read failures as best effort so TX EQTR can
>    continue, and force failed lanes to deterministic 0 FOM.
> 3. core: always run tx_eqtr POST_CHANGE notify once PRE_CHANGE succeeds,
>    even when TX EQTR fails, so variant cleanup is not skipped.
> 
> [...]

Applied to 7.3/scsi-queue, thanks!

[1/3] scsi: ufs: ufs-qcom: Restore TX Equalization settings on FOM failure
      https://git.kernel.org/mkp/scsi/c/890b10e76e6c
[2/3] scsi: ufs: core: Tolerate RX_FOM read failures in TX EQTR
      https://git.kernel.org/mkp/scsi/c/4bd0875b7e57
[3/3] scsi: ufs: core: Always run tx_eqtr POST_CHANGE notify
      https://git.kernel.org/mkp/scsi/c/f13faec1d4c1

-- 
Martin K. Petersen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.