linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH,v2][0/2] sata_mv: harddisk activity led no longer responsive on QNAP TS-109
@ 2009-03-11  7:13 Frans Pop
  2009-03-11  7:15 ` [PATCH,v2][1/2] sata-mv: enable HDD led blinking when NCQ is active for GenIIe Frans Pop
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Frans Pop @ 2009-03-11  7:13 UTC (permalink / raw)
  To: linux-arm
  Cc: Mark Lord, linux-ide, Saeed Bishara, Nicolas Pitre,
	Lennert Buytenhek

On Tuesday 10 March 2009, Mark Lord wrote:
> So if you want to rework the first patch so that the blink fix
> works for all GEN_IIE chips, then I'll test it here with a few
> different drives from different vendors and see how the LEDs behave.

Here's version 2 of the patches.

Changes:
- make the quirk valid for all GenIIe chips and not only for SoC
- use a flag to indicate a particular chip needs the quirk
- use a hardware op to enable/disable blink mode

Open issues:
- as I've worked without any specs and only have SoC to test on, please
  check that mv_iie_enable_led_blink is correct for all GenIIe chips
- if mv_iie_enable_led_blink is also valid for GenII chips, the
  first patch can be simplified a bit (no need for mv6xxx_iie_ops)

To test:
* load module with ncq_blink_led=0 (default)
  - check if NCQ is enabled (/sys/block/sda/device/queue_depth > 1)
    if not -> chip does not support NCQ and is thus not affected?
  - cause some disk activity; if led stays on without blinking, the
    chip needs the quirk
  - disable NCQ (echo 1 >/sys/block/sda/device/queue_depth)
  - cause some disk activity; led blinking should be very responsive
    (pre-2.6.26 behavior on my QNAP TS-109)
* load module with ncq_blink_led=1
  - check if NCQ is enabled (/sys/block/sda/device/queue_depth > 1)
  - cause some disk activity; led should now blink in a lazy frequency
    (quirk enabled)
  - disable NCQ (echo 1 >/sys/block/sda/device/queue_depth)
  - cause some disk activity; led blinking should be very responsive
    again (pre-2.6.26 behavior)
  - re-enable NCQ (echo 31 >/sys/block/sda/device/queue_depth)
  - cause some disk activity; led blinking should be lazy again

Cheers,
FJP

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-03-15 10:18 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  7:13 [PATCH,v2][0/2] sata_mv: harddisk activity led no longer responsive on QNAP TS-109 Frans Pop
2009-03-11  7:15 ` [PATCH,v2][1/2] sata-mv: enable HDD led blinking when NCQ is active for GenIIe Frans Pop
2009-03-11 12:47   ` Mark Lord
2009-03-11 13:08     ` Frans Pop
2009-03-11 14:15       ` Mark Lord
2009-03-12 11:40         ` Frans Pop
2009-03-12 14:14           ` Mark Lord
2009-03-12 14:15             ` Mark Lord
2009-03-12 14:26               ` Mark Lord
2009-03-13  8:07                 ` Frans Pop
2009-03-13 13:04                   ` Mark Lord
2009-03-13 18:19                     ` Frans Pop
2009-03-13 19:09                       ` Mark Lord
2009-03-14 11:57                       ` Frans Pop
2009-03-14 14:53                         ` Mark Lord
2009-03-15 10:18                           ` Frans Pop
2009-03-12 14:27             ` Frans Pop
2009-03-12 14:31               ` Mark Lord
2009-03-11  7:17 ` [PATCH,v2][2/2] sata-mv: add module parameter msq_blink_led to enable quirk " Frans Pop
2009-03-11 12:33 ` [PATCH,v2][0/2] sata_mv: harddisk activity led no longer responsive on QNAP TS-109 Mark Lord
2009-03-11 12:58   ` Mark Lord
2009-03-11 13:01   ` Frans Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).