linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Joerg Dorchain <joerg@dorchain.net>
To: Nico Schottelius <nico-linux-ppc@schottelius.org>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH] Heartbeat LED for iBook
Date: Thu, 27 Jan 2005 17:36:06 +0100	[thread overview]
Message-ID: <20050127163606.GN14866@Redstar.dorchain.net> (raw)
In-Reply-To: <20050126113554.GD19633@schottelius.org>

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

On Wed, Jan 26, 2005 at 12:35:54PM +0100, Nico Schottelius wrote:
> Joerg Dorchain [Tue, Jan 18, 2005 at 10:42:16AM +0100]:
> > [heartbeat blink patch]
> 
> Well, wouldn't it make much more sense to write a
> /dev/frontled to access it via userspace? 

Well, only some hardware supports something that can be used as a HB
LED, so IMHO yet another (misc-) device node is not completely
justified.

Then again, the current implemenation was more or less directly copied
from arch/m68k and the pmac IDE driver, my only "own" contribution was
taking the different HZ value into account, and this only in the
simplest possible way.

The original idea behing the m68k HB was to see wether the machine has
crashed so far that even interrupts weren't working any more, which is
sometime very hard to distiguish from very high load (>20). Obiously,
this is best done in kernel space. The load-dependeant blinking
frequency just made it perfect for its original purpose ;-)

I still consider it more a development aid than a real user feature.

Bye,

Joerg

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-01-27 16:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-18  9:42 [PATCH] Heartbeat LED for iBook Joerg Dorchain
2005-01-26 11:35 ` Nico Schottelius
2005-01-26 13:42   ` Benjamin Herrenschmidt
2005-02-08  7:54     ` Nico Schottelius
2005-02-14 13:14       ` Segher Boessenkool
2005-02-18 11:13         ` Nico Schottelius
2005-02-18 12:11           ` Segher Boessenkool
2005-02-18 12:20             ` Nico Schottelius
2005-02-18 13:00               ` Segher Boessenkool
2005-02-18 17:58                 ` Brad Boyer
2005-02-18 18:10                   ` Segher Boessenkool
2005-02-19 19:17                     ` Brad Boyer
2005-01-27 16:36   ` Joerg Dorchain [this message]
2005-02-18 14:57     ` ibook-led (finished) (was: [PATCH] Heartbeat LED for iBook) Nico Schottelius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050127163606.GN14866@Redstar.dorchain.net \
    --to=joerg@dorchain.net \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=nico-linux-ppc@schottelius.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).