Skip to content

ahci: fix boot/resume COMRESET failures

Brian Norris linux-ide lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 11 repliesIn review
  2. v13 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ahci: add AHCI_HFLAG_DELAY_ENGINE host flagdrivers/ata/ahci.h drivers/ata/libahci.c+8 -01 reply
2/3ahci: move AHCI_HFLAGS() macro to ahci.hdrivers/ata/ahci.c drivers/ata/ahci.h+3 -20 replies
3/3ahci_platform: add STRICT_AHCI platform typedrivers/ata/ahci_platform.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] ahci: fix boot/resume COMRESET failures

This series addresses regression problems with

commit 7faa33da9b7add01db9f1ad92c6a5d9145e940a7
ahci: start engine only during soft/hard resets

Because the fix provided by the above commit caused COMRESET failures and 10 second boot-time/resume-time hangs for certain DVD drives, we need to make the fix conditional to certain devices/platforms. Add a flag for this.

Brian

v2: change flag name to AHCI_HFLAG_DELAY_ENGINE, write more detailed
comments

v1: flag named AHCI_HFLAG_STRICT_SPEC

Brian Norris (3):
ahci: add AHCI_HFLAG_DELAY_ENGINE host flag
ahci: move AHCI_HFLAGS() macro to ahci.h
ahci_platform: add STRICT_AHCI platform type

 drivers/ata/ahci.c          |    2 --
 drivers/ata/ahci.h          |    6 ++++++
 drivers/ata/ahci_platform.c |   11 +++++++++++
 drivers/ata/libahci.c       |    5 +++++
 4 files changed, 22 insertions(+), 2 deletions(-)