public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] Add a new LED trigger for kernel panics (and use it)
Date: Tue, 29 Mar 2016 22:44:55 +0200	[thread overview]
Message-ID: <5392030.GWFj1RcGVs@wuerfel> (raw)
In-Reply-To: <1459283749-22451-1-git-send-email-ezequiel@vanguardiasur.com.ar>

On Tuesday 29 March 2016 17:35:46 Ezequiel Garcia wrote:
> This patchset adds a very simple kernel panic LED trigger,
> by hooking into panic_blink. I've tested this trigger on
> ARM Armada XP OpenBlocks AX3-4 machine.
> 
> The trigger is then used to replace the open-coded panic_blink
> usage in GTA02 board.
> 
> Note that I don't have a GTA02 board, so the last patch is only
> built tested.
> 
> Ezequiel Garcia (3):
>   leds: trigger: Introduce a kernel panic LED trigger
>   ARM: configs: Enable panic LED trigger on s3c2410
>   ARM: s3c24xx: Use the panic LED trigger for GTA02
> 
>  arch/arm/configs/s3c2410_defconfig   |  1 +
>  arch/arm/mach-s3c24xx/mach-gta02.c   | 35 ++++++++++++++++-------------------
>  drivers/leds/trigger/Kconfig         |  7 +++++++
>  drivers/leds/trigger/Makefile        |  1 +
>  drivers/leds/trigger/ledtrig-panic.c | 30 ++++++++++++++++++++++++++++++
>  5 files changed, 55 insertions(+), 19 deletions(-)
>  create mode 100644 drivers/leds/trigger/ledtrig-panic.c

Now we just need to port this 13-year old patch:

https://lwn.net/Articles/21857/

;-)

	Arnd

      parent reply	other threads:[~2016-03-29 20:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-29 20:35 [PATCH 0/3] Add a new LED trigger for kernel panics (and use it) Ezequiel Garcia
2016-03-29 20:35 ` [PATCH 1/3] leds: trigger: Introduce a kernel panic LED trigger Ezequiel Garcia
2016-03-30  9:29   ` Jacek Anaszewski
2016-03-30 19:11     ` Ezequiel Garcia
2016-03-31  7:04       ` Jacek Anaszewski
2016-03-31  7:28         ` Jacek Anaszewski
2016-03-31 12:56       ` Holger Schurig
2016-03-29 20:35 ` [PATCH 2/3] ARM: configs: Enable panic LED trigger on s3c2410 Ezequiel Garcia
2016-03-29 20:35 ` [PATCH 3/3] ARM: s3c24xx: Use the panic LED trigger for GTA02 Ezequiel Garcia
2016-03-29 20:44 ` Arnd Bergmann [this message]

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=5392030.GWFj1RcGVs@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.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