Skip to content

ata/libata-eh.c: introduce ATA_FLAG_NO_LOG_PAGE

Andreas Werner 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 Latest2 patches 2 repliesIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

fixed the build issue detected by the kbuild test robot

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libata-eh.c: Introduce new ata port flag for controller which lockup on read log pagedrivers/ata/libata-eh.c include/linux/libata.h+10 -00 replies
2/2ata/sata_fsl.c: add ATA_FLAG_NO_LOG_PAGE to blacklist the controller for log page readsdrivers/ata/sata_fsl.c+2 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [v2 0/2] ata/libata-eh.c: introduce ATA_FLAG_NO_LOG_PAGE

This patchset add a new ata port flag ATA_FLAG_NO_LOG_PAGE to be able to blacklist ports/controller which e.g. locks up on a log page read.

This flag is added to the sata_fsl driver which is the first affected one.

The lockup was detected on Freescale P1013/P1022, T4240 using a ATP mSATA.
The device failed during initialisation if the SATA device includes the devslp feature.

With this patchset, we blacklist the fsl sata controller and return a error on any attempt to read a log page. This allows us to access the mSATA.

Changes in v2:
fixed the build issue detected by the kbuild test robot

Andreas Werner (2):
libata-eh.c: Introduce new ata port flag for controller which lockup
on read log page
ata/sata_fsl.c: add ATA_FLAG_NO_LOG_PAGE to blacklist the controller
for log page reads

 drivers/ata/libata-eh.c | 9 +++++++++
 drivers/ata/sata_fsl.c  | 3 ++-
 include/linux/libata.h  | 1 +
 3 files changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.6.2