public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] VT: Add a boot option to disable cursor on boot
Date: Fri, 4 Sep 2009 17:15:07 +0100	[thread overview]
Message-ID: <20090904161507.GA24697@srcf.ucam.org> (raw)
In-Reply-To: <20090904180302.6561fabf@lxorguk.ukuu.org.uk>

On Fri, Sep 04, 2009 at 06:03:02PM +0100, Alan Cox wrote:

> Seems odd to me - why can't the splash screen app in initrd just issue
> the call to turn off the cursor - or is this splash screen coming from
> something else ?

The kernel unconditionally enables the cursor before any userspace has 
run, even if we've turned it off in the bootloader. That's the window 
I'm trying to close.

> - If the splash screen is kernel based then the splash screen module
>   needs to be able to ask the vt driver itself
> - If not then the user space can use ioctls like everyone else (see
>   setterm)

(see above)

> - It should be implemented without adding an extra condition to a pile of
>   ifs (or the condition mess at least become a single cursor_visible_p())

It doesn't add or alter any conditionals in its current form?

-- 
Matthew Garrett | mjg59@srcf.ucam.org

      reply	other threads:[~2009-09-04 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-04 15:48 [PATCH] VT: Add a boot option to disable cursor on boot Matthew Garrett
2009-09-04 17:03 ` Alan Cox
2009-09-04 16:15   ` Matthew Garrett [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=20090904161507.GA24697@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.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