From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Andy Ross <andy.ross@windriver.com>
Cc: Pavel Machek <pavel@ucw.cz>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Jiri Slaby <jslaby@suse.cz>, "Rafael J. Wysocki" <rjw@sisk.pl>,
Len Brown <len.brown@intel.com>,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH v2] vt: add init_hide parameter to suppress boot output
Date: Wed, 20 Feb 2013 17:12:42 -0800 [thread overview]
Message-ID: <20130221011242.GB4961@kroah.com> (raw)
In-Reply-To: <51254959.1020309@windriver.com>
On Wed, Feb 20, 2013 at 02:08:25PM -0800, Andy Ross wrote:
> On 02/20/2013 12:57 PM, Pavel Machek wrote:
> >I'm sure something creative can be done with fake init that shuts
> >the console up then execs previous init. No need to add more kernel
> >knobs, I'd say.
>
> Fair enough, but some last words:
>
> That's argument is the "it's about logging" hypothesis again. Even if
> it were possible to completely shut up console output (something
> that's awfully hard in the general case when running on PC hardware,
> and IMHO from a developer's perspective not even a good thing), that's
> not the whole problem. The framebuffer console initialization does a
> buffer clear and mode set, and that clobbers anything the bootloader
> might have left on the screen prematurely, before userspace is ready
> to throw up its own splash. Splash screens may be a silly
> requirement, but they're still a requirement.
Yes, they are a requirement in some situations, and if you look most
distros have already solved this issue for you, by not using a
framebuffer at all. Why not just do the same thing in your Android
system as you do have full control over the hardware and the boot
process.
> And the suspend console problem is likewise at work: ideally you'd
> like to know, for example, that the panel backlight is off before
> suspending. But what happens in practice is that the kernel does a VT
> switch to/from console 63 and the backlight wakes up (I'm not going to
> pretend I have this bit completely figured out, but the problem is/was
> real and this patch fixed it by suppressing the console visibility).
My systems don't drop down to the framebuffer when suspending, I think
you need to look at using a better distro :)
> Now, the point that an in-kernel console is "going away" and thus not
> worth augmenting with new APIs is valid. And this is a small patch
> that's unlikely to be difficult to maintain in a custom tree. And as
> we all agree there are other mechanisms that can be used here (even if
> AFAICT they don't completely solve the problem), and indeed I'd love
> to get surfaceflinger working with VT_ACTIVATE et. al. if I get a
> chance. So I'm not going to cry if this isn't worth mainline.
I don't see why this is even needed for surfaceflinger systems, as
again, you have full control over the hardware and system so you don't
even need a framebuffer console at all.
thanks,
greg k-h
next prev parent reply other threads:[~2013-02-21 1:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 15:53 Kirill A. Shutemov
2013-02-20 1:45 ` Greg Kroah-Hartman
2013-02-20 4:04 ` Andy Ross
2013-02-20 4:45 ` Greg Kroah-Hartman
2013-02-20 16:54 ` Andy Ross
2013-02-20 18:12 ` Greg Kroah-Hartman
2013-02-20 20:57 ` Pavel Machek
2013-02-20 22:08 ` Andy Ross
2013-02-20 22:18 ` Pavel Machek
2013-02-21 1:12 ` Greg Kroah-Hartman [this message]
2013-02-21 17:01 ` Andy Ross
2013-02-20 17:57 ` [PATCH v3] " Andy Ross
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=20130221011242.GB4961@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=andy.ross@windriver.com \
--cc=jslaby@suse.cz \
--cc=kirill.shutemov@linux.intel.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
/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
all inboxes | Powered by JetHome®