Re: [PATCH 3/6] x86_64 UV: Use blinking LED for heartbeat display

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Machek <pavel@...>
Cc: Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Jack Steiner <steiner@...>, <linux-kernel@...>, H. Peter Anvin <hpa@...>, Thomas Gleixner <tglx@...>
Date: Tuesday, August 26, 2008 - 4:53 pm

Pavel Machek wrote:

From Documentation/leds-class.txt:


Future Development
==================

At the moment, a trigger can't be created specifically for a single LED.
There are a number of cases where a trigger might only be mappable to a
particular LED (ACPI?). The addition of triggers provided by the LED driver
should cover this option and be possible to add without breaking the
current interface.

--
The SGI system has a set of leds per cpu, and the goal is that the leds
display heartbeat and "idle-ness" information specific to that cpu.  At
first glance I don't see this capability in the LED subsystem.  Am I
missing something?

Additionally, the 8 leds are written as one byte with each led being
full on or full off.  It seems to be a big overhead to support the led
class  since I'd have to kluge together some means of sharing the current
led register value [we really don't want to have to read the current reg
value before updating a single led.]

But I will definitely look at the led_heartbeat_function more closely.

Any advice gladly welcomed!

Thanks!
Mike
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/6] x86_64 UV: Use blinking LED for heartbeat di..., Mike Travis, (Tue Aug 26, 4:53 pm)