Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3065010ybt; Mon, 22 Jun 2020 14:07:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJNhImZfoirffuUKLbQBgfIEb7HOjrL8w7zGcKaBaADY113M9Bbh+Dbx+zeDWwhWuLfMN1 X-Received: by 2002:a17:906:685a:: with SMTP id a26mr8537282ejs.48.1592860025504; Mon, 22 Jun 2020 14:07:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592860025; cv=none; d=google.com; s=arc-20160816; b=QfPJ9JGuGlHyA4NtSYtDVGmGBunRBhUulp5LTO0qvovhYbWtReEEFm4WbLRH0qWQxn URkZQ0Gd1/oFf7xlwQcBu5149ymKYZwfSa0FxCiYeH5m9njtY/mIjQD0hKdgXTJHGQuh n23HjzceM9SmwiknvK84Gq/uJXxs8fbAr1b3wp0BmKNv0x2muAu3dnXYd6UlGOaXKBQ9 5r4sCOeoetJz3R1gfvynd7pNTNaJn3ItXJKxQeK2w3gZ89GXoZrYP1IYZ4Bx66ENANgZ nwrJM/F2qyzJ+s+pYI2YRUItr7SNrMBQNOgFwUCVZ0HXYNu20tlYh6S7NaOi7t+/tICN ahDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/vOKxV6y/efpAYjruCvKnWf3QtEjGeNBbml5tfntNuo=; b=DJy/uSQo0Fd3ABYZxi4AeP0mIMVMUdvpYCaUz78MASmXmiyvgk1MAGGS6snees2w/s j5qanvOim16GRMpk2Ve1KydG7UdN0NbLP8dNN5KYyvWFN+JK3wA6vQY1irJybQsiYcXF I9jfbbgtnJrV0N+JngQR3uHqYYhJpsTdW3GVJ695G1FcLRIW/e66iV0OzNxyF6NECXDF A26y5QzNpMcd1spWuSk7C+zAyGxUkYa7PlHONZLNM07uxTh56F4F3PMZbVVnECMh3/Th EUnZrPjLERSekTrlR34metEyk2jmTr95QQAeAjFQ1SN5dhc5cHsDP/KtG7o8hFgRu5jN criA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b="n/qE7cWO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r28si1862629edw.518.2020.06.22.14.06.42; Mon, 22 Jun 2020 14:07:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b="n/qE7cWO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730477AbgFVVBv (ORCPT + 99 others); Mon, 22 Jun 2020 17:01:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728378AbgFVVBu (ORCPT ); Mon, 22 Jun 2020 17:01:50 -0400 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 349E7C061573 for ; Mon, 22 Jun 2020 14:01:49 -0700 (PDT) Received: by mail-qv1-xf43.google.com with SMTP id fc4so8687965qvb.1 for ; Mon, 22 Jun 2020 14:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/vOKxV6y/efpAYjruCvKnWf3QtEjGeNBbml5tfntNuo=; b=n/qE7cWOYE+ZljhVhmE5P7IWa3iZotxOpCdjCXFpENbNVcDfNpDW3X5Prpr/oQiPCg 2XYKrwISyA1cSNT7dfxzZl1f//qI9Z42nQt2Ft0O0kKPV/zZ+E1PYpjOJhnsd/olQfjV qJeNcDr3q1m1Xm8PHJ5esaHrWjM5cmrRFUeXU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/vOKxV6y/efpAYjruCvKnWf3QtEjGeNBbml5tfntNuo=; b=XjPppPl8yBFeoep97NaiL8km5k7YYOJ+D7cNrU1Hy/krJ1dfIUuCEIwuC7kAvfTUIQ koeb3v5hMrQ6I/zxnmuCWSgQzha6+M2LMvKv5/8ULJNbJt6tbC0H7wwueypdfFtbngmT uf0RmvZQVTFOOlqd+zg31cmrG4FcT1SmED3BdjRNvaFRdTcIEFH8xPLNzDv69yEI5xrD N6BGjhnabFHsK2nRl4O5ZZcKnYdQrblIwW9yj0u1fXNFojMUl6RVV9UsRZPnVHTJWpgA swbHcn9YI+MQq95PAVrEs3wfECIkfgx2qsZAAX8oJ+qFafEoduNGWbN3taU5T/HqwS/+ 8XtA== X-Gm-Message-State: AOAM532ySMPzrwPl6l8Lgcvxs5Q3pbtrbWev1YC1pcpOYIYz8yTg7994 5GzvuXwty8HJ4GZ9pZd1CTBARg== X-Received: by 2002:a0c:bd88:: with SMTP id n8mr5733018qvg.194.1592859708411; Mon, 22 Jun 2020 14:01:48 -0700 (PDT) Received: from bill-the-cat (2606-a000-1401-8080-e5dd-5747-7916-11ff.inf6.spectrum.com. [2606:a000:1401:8080:e5dd:5747:7916:11ff]) by smtp.gmail.com with ESMTPSA id i3sm14484388qkf.39.2020.06.22.14.01.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jun 2020 14:01:47 -0700 (PDT) Date: Mon, 22 Jun 2020 17:01:45 -0400 From: Tom Rini To: ron minnich Cc: lkml - Kernel Mailing List , Andrew Morton , Borislav Petkov , Dominik Brodowski , "H . Peter Anvin" Subject: Re: [PATCH] initrd: Remove erroneous comment Message-ID: <20200622210145.GM27801@bill-the-cat> References: <20200619143056.24538-1-trini@konsulko.com> <20200622204034.GL27801@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W9OqCIgVwV7zeaDP" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --W9OqCIgVwV7zeaDP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 22, 2020 at 01:56:24PM -0700, ron minnich wrote: > So, let me first add, the comment can be removed as needed. Comments > offered only for clarification. Noted, thanks. > On Mon, Jun 22, 2020 at 1:40 PM Tom Rini wrote: >=20 > > But what do you mean UEFI "consumes" initrd=3D ? >=20 > What I mean is, there are bootloaders that will, if they see initrd=3D > in the command line, remove it: the kernel will never see it. I'm picky here because, well, there's a whole lot of moving parts in the pre-kernel world. In a strict sense, "UEFI" doesn't do anything with the kernel but based on hpa's comments I assume that at least the in-kernel UEFI stub does what Documentation/x86/booting.rst suggests to do and consumes initrd=3D/file just like "initrd /file" in extlinux.conf, etc do. And since the EFI stub is cross-platform, it's worth noting this too. > > I guess looking at > > Documentation/x86/boot.rst is where treating initrd=3D as a file that > > should be handled and ramdisk_image / ramdisk_size set came from. I do > > wonder what happens in the case of ARM/ARM64 + UEFI without device tree. >=20 > it is possible that the initrd=3D argument will not be seen by the > kernel. That's my understanding. Will this be a problem if so? It > would be for me :-) >=20 > > And it doesn't provide any sort of link / context to the > > boot loader specification project or similar that explains the cases > > when a non-filename "initrd=3D" would reasonably (or unreasonably but > > happens in reality) be removed. >=20 > But it unreasonably happens as I learned the hard way :-) >=20 > Anyway, thanks Tom, I have no objections to whatever you all feel is > best to do with that comment. It was a failed attempt on my part to > explain the state of things :-) Booting up the kernel is quite the "fun" area indeed. --=20 Tom --W9OqCIgVwV7zeaDP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAl7xHDIACgkQFHw5/5Y0 tyykrwwAsipqFRwbV8H3aKv+J9PHEPFRTFClvSda5kTfojpnqbRqpOVQSoHiDYTs R35RMZZ8DjYl45u0qbmPPEWEw1zP+zxjBosWuZn9/82fMg9QgRg+H6Z8D0VZPfmv fGSheF8bMhIhEpEJc8yTMW41cEUmm4rotSlULa0eThB7DK8CHxnemQsTvRTv8VJo 5N/djHA0MLmjFclUhlOZ0hFfGSS6MtxBLFZjho8iA5nHbYdQsNj3UxuQ/7AdJiyI +h0+M/nWEc55vDWL8cJX2Q3o39OFx0ev6iHdUQDHG0RCHSRKY4D+/lIXfxjEQQb5 CtVRIFNeT8cpMghICMcLMPi+ntT3Oel/DbpLovSf5D9SGY1KmWq09tjmuIs98kRT qNZzc0ehLMBPX0ZpXmyJ5BwtAnO5JfSnuN1I00ufElz7rADa6GH27f15o1QWXv/V EfM/ueDIEA0nhu1sJY+hAyBX0O1YfFFlDbAGjVjBtSRUDp0LFjMT7Zr+w8Xh7qYq BEUubv5G =kliK -----END PGP SIGNATURE----- --W9OqCIgVwV7zeaDP--