Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41732C433F5 for ; Thu, 23 Sep 2021 09:39:15 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7AB76121F for ; Thu, 23 Sep 2021 09:39:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E7AB76121F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mTLCD-0002nC-IK; Thu, 23 Sep 2021 05:39:13 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mTLC9-0002l3-MN for kernelnewbies@kernelnewbies.org; Thu, 23 Sep 2021 05:39:09 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 659A93201D41; Thu, 23 Sep 2021 05:39:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 23 Sep 2021 05:39:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm1; bh=w cYQ9vQjr1w2/oPCRRTCL/indDOVny2rhEY3Mg/iPnM=; b=CUHTIs3ipYeOC2XcJ QKHkbpIAzaJMx/1Ls5MvwtlfJCY2Cq+za6XGIZ3INdA3/aKzmYtcfEkO/WkaHuFT 5nhgPzeIzGkywZacwmYSiUPUW1r63Ua4KKHPzjU+/hlvhVn7yzzhIqpHK9k0rymq 0xmlmRk8SQRG1T6Xcpe8fjKLfJoNr5NGdQBjgk/RINhE60fIRdRuN3FtLIuU5+pE 8zGJLr1sK7g3xmq2kfdk994+fsF9gJGnM1okIo/Vx71fPWJOQHWDJKzMHd+HXLMx ZnUcTaJYqgyWF/JjboxJFGQfbPK8ibj1GNQleVdRvExO6+yXxWCpuJuOU3CrA3p+ 1U6yA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=wcYQ9vQjr1w2/oPCRRTCL/indDOVny2rhEY3Mg/iP nM=; b=UDXx/93+8J8FdTEgYqlZFAErgUfbGSsptRNHdSuvqXxECHCB7F1E7sJbN B3nAtHuLN6It+6wdZamkQfOAGHyvBgXOBdLtMzrc7PVuJeRYfKLxw4vNIOrfEJUX ylHXuudT0RmSKbepQyqM6VOFxlZ5qJtnX0dvN279wQGiwSEGu7x4i8CjNjIvcFhf vKhUe5WcGie8XGaUn1x2asc5YX3vVJc7e+AdPbUpicTF2CLrAUPi4WvujZ7FoYPF PHrvfGfO4Yv5c0wGXYqu4i2pYjd766K3lm+K201KyPq09ooR0/kxooRap7Ocfye1 h8+GH+hw31N5siSNPHUYcAzvv8MTg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeiledgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekrodttddtudenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepgeeigf dvkefgleduheelgeduvddvhffggeejueffgfevheduudejiefhjeevieefnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorg hhrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Sep 2021 05:39:07 -0400 (EDT) Date: Thu, 23 Sep 2021 11:39:05 +0200 From: Greg KH To: Ruben Safir Subject: Re: efivars Message-ID: References: <20210922062222.GA6060@www2.mrbrklyn.com> <968231e8-69f3-872b-7451-4439744b2d4f@mrbrklyn.com> <87zgs3lq81.fsf@miraculix.mork.no> <20210923091740.GC24848@www2.mrbrklyn.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210923091740.GC24848@www2.mrbrklyn.com> Cc: =?iso-8859-1?Q?Bj=F8rn?= Mork , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: kernelnewbies-bounces@kernelnewbies.org On Thu, Sep 23, 2021 at 05:17:41AM -0400, Ruben Safir wrote: > On Thu, Sep 23, 2021 at 09:13:02AM +0200, Bj=F8rn Mork wrote: > > Ruben Safir writes: > > = > > > OS's shouldn't need anything from a boot loader. > > = > > Why do you need a bootloader then? > = > To boot and that is it. It is a hardware specific ibinary boot chain that > finds the kernal on the hard drive and says - load that and run. > = > After that, it should serve no purpose. That is not how modern hardware works, sorry. If you wish to revisit this, please talk to the hardware designers. > > I'd suggest playing with embedded devices for a while. Their boot chain > > is usually much simpler than on PC hardware. There you can really get a > > feeling of how easy and decoupled stuff could have been. Load a kernel > > directly to some location in memory and just jump there. > > = > = > That is pretty much all you want. Firmware creep has gotten so = > unecesserily complex that UEFI has a virtual machine running in it. You mean ACPI? :) You do remember APM, right? > I don't need or want it to play a multiplayer networked version of = > freecell. I just need it to find the kernel and load it. You also need to know how to stop the machine, change power levels, detect some hardware changes, and so on. > > Then try to expand a bit by reading the kernel from some specific flash > > device, or even network. = > = > Hardware interupts work to announce hardware on the bus. The devices = > announce themselves on the system bus. What exactly do you mean by "system bus"? > > Or add a file system to > > the flash. Etc. Maybe you even want some way to configure the > > bootloader from the OS? > > = > = > This wasn't invented with UEFI. = > = > > Add all the features you take for granted on PC hardware. > > = > > I think you will find that the OS has to be aware of some of the stuff > > the bootloader does. And that many of the features depend on the OS > > communicating with the bootloader somehow. = > = > Why? The Kernel interacts with the hardware independently. = > The devices each have their own firmware and process data > according to an API and the Kernel either natively, or through loaded > modules, processes data from the devices. There is nothing here for a > boot loader to do. It ran its bit on the stack and it should be gone. > = > If you run a system in BIOS mode or even with just a BIOS, the Kernal = > can still do everything, including SATA and Thunderbolt, Firewire, > PCI-Express, SATA etc. > = > What can it do with UEFI that it can not do with BIOS? What do you think that BIOS is? It's the same thing that UEFI is, just that UEFI is the "newer version and standard of BIOS" that solved many many things that were wrong with the BIOS interface and specification. Again, remember APM? thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies