linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] RFC: ARM: Ensure backtraces console printing in sleep mode
Date: Tue, 5 Jun 2012 10:35:56 +0100	[thread overview]
Message-ID: <20120605093556.GG8262@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1338881321-10728-1-git-send-email-linus.walleij@stericsson.com>

On Tue, Jun 05, 2012 at 09:28:41AM +0200, Linus Walleij wrote:
> From: Aurelien Gerault <aurelien.gerault-nonst@stericsson.com>
> 
> Ensuring that oops & panic messages/backtraces will be printed
> in console, even if in sleep mode (i.e. when the console is
> locked).
> 
> So, unlock the console before printing.

I don't think this is a good idea - it totally changes the locking, and
probably causes the console lock to become unbalanced, which could be a
problem if the oops was non-fatal to the kernel.

x86 also doesn't play this game either, and we really shouldn't have
different semantics here.

      reply	other threads:[~2012-06-05  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05  7:28 [PATCH] RFC: ARM: Ensure backtraces console printing in sleep mode Linus Walleij
2012-06-05  9:35 ` Russell King - ARM Linux [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=20120605093556.GG8262@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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;
as well as URLs for NNTP newsgroup(s).