Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1284060

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

From Andreas Werner <andreas.werner@men.de>
Newsgroups linux.kernel
Subject [v2 0/2] ata/libata-eh.c: introduce ATA_FLAG_NO_LOG_PAGE
Date 2015-12-04 18:20 +0100
Message-ID <qC2bw-5CT-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[v2 0/2] ata/libata-eh.c: introduce ATA_FLAG_NO_LOG_PAGE Andreas Werner <andreas.werner@men.de> - 2015-12-04 18:20 +0100
  [v2 2/2] ata/sata_fsl.c: add ATA_FLAG_NO_LOG_PAGE to blacklist the  controller for log page reads Andreas Werner <andreas.werner@men.de> - 2015-12-04 18:20 +0100
  Re: [v2 0/2] ata/libata-eh.c: introduce ATA_FLAG_NO_LOG_PAGE Tejun Heo <tj@kernel.org> - 2015-12-07 16:30 +0100
    Re: [v2 0/2] ata/libata-eh.c: introduce ATA_FLAG_NO_LOG_PAGE Andreas Werner <andreas.werner@men.de> - 2015-12-08 07:20 +0100

csiph-web