All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Ruben Safir <ruben@mrbrklyn.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: efivars
Date: Thu, 23 Sep 2021 12:10:18 +0200	[thread overview]
Message-ID: <YUxSikH5DhYdTL8c@kroah.com> (raw)
In-Reply-To: <20210923095643.GA25695@www2.mrbrklyn.com>

On Thu, Sep 23, 2021 at 05:56:43AM -0400, Ruben Safir wrote:
> On Wed, Sep 22, 2021 at 06:07:49PM +0200, Greg KH wrote:
> > If you don't like this, wonderful, use a system based on a different
> > type of bootloader.  But in the end, they end up all having to do the
> > same thing somehow :)
> > 
> > > All I want the boot loader to do is fine the kernel and run it.
> > 
> > Your bootloader also has to do a lot more things (initialize hardware,
> > provide information to the OS as to what hardware is present, do
> > system-level things like suspend/resume, etc.)
> > 
> 
> Why does it need the bootloader to do any of that.  It just needs to
> bring up enough hardware to find the kernel and read it... STDIO, STDOUT
> and the hard drive, assuming it is not a network boot.  The hardware's
> firmware has to initialize so minimal subset of hardware, but that has 
> nothing to do specifically with UEFI.

Define "minimal" please.  What about your RAM?  Your north/south bridge
and the i/o controllers there?  Your processor init sequence?  Find the
boot disk to start with?  How do you tell the bootloader _where_ the
boot disk is?

> Since when does the OS not control all the hardware on the system?

For x86 systems, since i486 days.  Again, remember APM?

> What you seem to be saying is that the UEFI shell is running
> simutanously to the OS, and controls hardware.

No, not at all, the "shell" is not running, but parts of it are running
and are called by the OS to do things.  Sometimes those things wake up
the OS and tell it to do things.

> That is all news to me.
> It doesn't happen in BIOS mode or systems that are still BIOS, dieing
> breed that that is.

Yes, it happened in much worse ways in the "old style BIOS" modes and
systems.  Now it is documented and unified and works much better than
ever before.

Yes, it is more "complex" than before, but you are using a much more
complex system than you used to have as well.

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2021-09-23 10:12 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22  6:22 efivars Ruben Safir
2021-09-22  6:35 ` efivars Greg KH
2021-09-22 15:47   ` efivars Ruben Safir
2021-09-22 16:07     ` efivars Greg KH
2021-09-23  4:01       ` efivars Ruben Safir
2021-09-23  9:56       ` efivars Ruben Safir
2021-09-23 10:10         ` Greg KH [this message]
2021-09-23 10:28         ` efivars FMDF
2021-09-23 12:34           ` efivars Ruben Safir
2021-09-23 12:40           ` efivars Ruben Safir
2021-09-23 12:44           ` efivars Ruben Safir
2021-09-22 15:58   ` efivars Ruben Safir
2021-09-22 16:11     ` efivars Greg KH
2021-09-22 17:04     ` efivars Valdis Klētnieks
2021-09-23  1:51       ` efivars Ruben Safir
2021-09-23  2:02       ` efivars Ruben Safir
2021-09-23  2:10         ` efivars Dave Stevens
2021-09-23  5:41         ` efivars Greg KH
2021-09-23  2:07       ` efivars Ruben Safir
2021-09-23  7:32         ` efivars Bjørn Mork
2021-09-23  8:41           ` efivars Ruben Safir
2021-09-23  8:57             ` efivars Greg KH
2021-09-23  8:12         ` efivars Valdis Klētnieks
2021-09-23  8:32           ` efivars Ruben Safir
2021-09-23  7:13     ` efivars Bjørn Mork
2021-09-23  9:17       ` efivars Ruben Safir
2021-09-23  9:39         ` efivars Greg KH
     [not found] ` <CAPj211tgoRDDsZA_1ZM-kWRiHM9r2MQVi5b-mQenpP8pQmfvXg@mail.gmail.com>
2021-09-22 15:56   ` efivars Ruben Safir
2021-09-23  7:11 ` efivars FMDF
2021-09-23  7:22   ` efivars FMDF
2021-09-23  7:27     ` efivars FMDF
2021-09-23 12:24       ` efivars Ruben Safir
2021-09-23 12:36         ` efivars Greg KH
2021-09-23  9:38   ` efivars Ruben Safir
2021-09-23  9:56     ` efivars Greg KH

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=YUxSikH5DhYdTL8c@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=ruben@mrbrklyn.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.