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 9E40AC433EF for ; Thu, 23 Sep 2021 10:12:10 +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 2C60460FC1 for ; Thu, 23 Sep 2021 10:12:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2C60460FC1 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 1mTLi5-00059l-3i for kernelnewbies@archiver.kernel.org; Thu, 23 Sep 2021 06:12:09 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mTLgN-0002px-5U for kernelnewbies@kernelnewbies.org; Thu, 23 Sep 2021 06:10:24 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id E294A32006F5; Thu, 23 Sep 2021 06:10:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 23 Sep 2021 06:10:22 -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:in-reply-to; s=fm1; bh=n3tleLpLwmir0QXm8nHyTU3PP+q Gmx2RKu7koaZ7SY0=; b=P7BLck0DAYTvADF/o1HyGvRuDbIaxPeVJGStfVhZmHC f46bI+N8CC1VEWI2FgAv3d5GBR5ZQxlpUmVSGjJvnj1PG2uUnDGh/Tw7WO48f82b C0JPsvjWTxjHepj2xPnZHFWdQuGu/t7kEUAsMNsXMzOfJnxRBeHmryfQhenAV3tT k6ibMwKyJSePS1479SJnEm515iUq/w+NRPnV+Cd4eT/CHbpRfNB/ieipIZHdJ/rk kr0dqNqMypQrOvVsKxjgycip4Qyxbcq993tdoiuuwEbokAoILiHMdd4oZHdkT5Lp W4gk/nwVXVkOaK5N0RconZ72YUd1LfXoTsao9tJZLqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=n3tleL pLwmir0QXm8nHyTU3PP+qGmx2RKu7koaZ7SY0=; b=nWdVUkkuHR4217Jf8hKa66 UTQ4DK2b0X61cYSDpML3gSmAT5IPli7pchr9yG+Py5CHD7iiR8X+401DRkTiuDxe tZOJAhMZbSBPGIL6XLXXCJTO2QdNCwXesEpHCjNx7S0A2M+mI6SjcvyG4bqzDLfD q+DxeqKl85DaG0oGac8KjEmFqx/6qcGf6daXdJiZqiFqhDTX589TnnO848rNGksX knEJKJDWor+QmuppdYfllZX4w0Xm1NhqOxz+2FI+R7GzBlXZraspTq1iP+d+qkdZ LOR3/BmF4Di/cNdz57OPuigB1rTEXcTra+cxwmWJZeYFW8eLAbkEuuxLNtxZ0nOw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeiledgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeevueehje fgfffgiedvudekvdektdelleelgefhleejieeugeegveeuuddukedvteenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhh drtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Sep 2021 06:10:21 -0400 (EDT) Date: Thu, 23 Sep 2021 12:10:18 +0200 From: Greg KH To: Ruben Safir Subject: Re: efivars Message-ID: References: <20210922062222.GA6060@www2.mrbrklyn.com> <20210922154742.GA12004@www2.mrbrklyn.com> <20210923095643.GA25695@www2.mrbrklyn.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210923095643.GA25695@www2.mrbrklyn.com> Cc: 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="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org 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