Skip to content

Fix MEI command timeout issue following warm reboot

Wentong Wu lkml stable 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 6 repliesIn review
  2. v35 patches 3 repliesSuperseded
  3. v25 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches6 repliesSuperseded

Changes in v4 from the cover letter

- remove Fixes: in the commit message of comment spelling fix
- re-write the commit message of change "Enhance SPI transfer of IVSC ROM"
to easy to understand

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mei: vsc: Enhance IVSC chipset stability during warm rebootdrivers/misc/mei/vsc-tp.c+14 -01 reply
2/5mei: vsc: Prevent timeout error with added delay post-firmware downloaddrivers/misc/mei/platform-vsc.c+2 -21 reply
3/5mei: vsc: Utilize the appropriate byte order swap functiondrivers/misc/mei/vsc-tp.c+1 -11 reply
4/5mei: vsc: Enhance SPI transfer of IVSC ROMdrivers/misc/mei/vsc-tp.c+1 -12 replies
5/5mei: vsc: Fix spelling errordrivers/misc/mei/vsc-fw-loader.c+1 -11 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJason ChenSakari AilusTomas Winker
1/5T-b A-b
2/5T-b A-b
3/5T-b A-b
4/5T-b A-b A-b
5/5T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/5] Fix MEI command timeout issue following warm reboot

While enabling the IVSC on certain recent commercial products, the chipset may occasionally enter an unknown state following a warm reboot. This issue can cause the firmware to fail in responding to the MEI command from the host, despite the firmware being re-downloaded. To resolve this, the current patch set incorporates reset logic during system shutdown to ensure that the IVSC chipset remains in a valid state after a warm reboot.

Furthermore, after the firmware download is complete, the firmware requires some time to become operational. To enhance this, additional sleep time has been introduced before the initial read operation to prevent a confusing timeout error in vsc_tp_xfer().

Additionally, this patch set includes several enhancements as well:
1) utilizing the appropriate byte order swap function for data received from the ROM;
2) correcting a spelling error in a comment;
3) constructing the SPI transfer command as per the specific request.

---
v3 -> v4:
- remove Fixes: in the commit message of comment spelling fix
- re-write the commit message of change "Enhance SPI transfer of IVSC ROM"
to easy to understand

v2 -> v3:
- switch code from ibuf ? tp->rx_buf : ibuf to ibuf ? tp->rx_buf : NULL

v1 -> v2:
- remove cc spelling fix to stable
- remove the reset toggling enhancement

Wentong Wu (5):
mei: vsc: Enhance IVSC chipset stability during warm reboot
mei: vsc: Prevent timeout error with added delay post-firmware
download
mei: vsc: Utilize the appropriate byte order swap function
mei: vsc: Enhance SPI transfer of IVSC ROM
mei: vsc: Fix spelling error

 drivers/misc/mei/platform-vsc.c  |  4 ++--
 drivers/misc/mei/vsc-fw-loader.c |  2 +-
 drivers/misc/mei/vsc-tp.c        | 18 ++++++++++++++++--
 3 files changed, 19 insertions(+), 5 deletions(-)
Signature · 1 line
2.34.1