Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4212436imm; Wed, 5 Sep 2018 12:32:28 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdabq8v3q3cJNPDl1OH390KFsrsVYGSUrnUzmAuqWEie1hDk+KgPPwuhWYFLg9Z3fRxN1xFe X-Received: by 2002:a62:1219:: with SMTP id a25-v6mr42120869pfj.104.1536175948119; Wed, 05 Sep 2018 12:32:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536175948; cv=none; d=google.com; s=arc-20160816; b=LKLbTpgA7OBM1fbm+OotqIejw4zdFDCyw9yynzDI4OW+ygGcskSlDCOamICyKTKk8B ZAS0DEYUrgj1jjICcPT42PiCyNe8uEVFd1Xf70nzDv6GDuuGYF9ZEQmV7BUt/3xEBRsM 7KbBoPC7RgfnSd879Y63qEQf0bYf/mpKFd9E/fwbq2/Rp+yXooeu/de+PSoSgouPiUoi dd3VLQaaT5ZCfooywBWj9Wi0PD6LZtUxId1AaAx4pYSiaLTSGnl6DO05RK8EPOirEY96 SNeNsuhULpGUOpujVTmQrlyafSPAbMDBKBjISyk/SLuOXSwdmgQHL8jf8oZbbSDVEwbd oKoQ== 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=Jh5d8IZRUSqO7xwY64g8LgHRPGG2ehaSE8aoN7ZIH8I=; b=VIsw4JzOzbCFuPdwP5zNUvQLkdx2aUFekbPxgd4tMl7kJdhk/seTmFt1jzWRoewuIB jDxi1EWUX/VKUrjdw1oKhE4KaFT/e99TKUU2e8FrXsGSql4JXujtwniJNcllFamMNIHm /4h629N1vNZ7R8/UeeXKiC0xThD5C65gXEwyhr1E/cyIKhx9mNHnd5E91yIUiLIoEQ/P fWwohGgM89XxGmRaQGKW2AslRwe1V3DI1/2E5dLBnasaHpb3NbOxcj6sM/XltgevmkU7 oJSemOH90/CKNwV8G9Rxb6BzQHmGZjQ1IfEbJShDx5WWR/FLBmKaQiuEFTQUQqvzLEjB wYuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I5+AQssG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10-v6si2866342pgi.416.2018.09.05.12.31.58; Wed, 05 Sep 2018 12:32:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I5+AQssG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727858AbeIFACI (ORCPT + 99 others); Wed, 5 Sep 2018 20:02:08 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33301 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727267AbeIFACI (ORCPT ); Wed, 5 Sep 2018 20:02:08 -0400 Received: by mail-wr1-f68.google.com with SMTP id v90-v6so8890962wrc.0 for ; Wed, 05 Sep 2018 12:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Jh5d8IZRUSqO7xwY64g8LgHRPGG2ehaSE8aoN7ZIH8I=; b=I5+AQssGLEaX9wCRBaeTdbl+j4HJRpmgQ9bStTmnPceoMw1d/3rWtjnWhbwUdbcplR 8ePmc/e9F8r71v+n06nYpMMKGiqRsjb/t2Owl4+lEhYP0t6Sk/njy4TSEIiFBJe2nLMD lesbueZIV65/hurCU4gC35qEPme0z6W6S92L8= 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=Jh5d8IZRUSqO7xwY64g8LgHRPGG2ehaSE8aoN7ZIH8I=; b=QycDoitOI+Lzmf1VXUxHeiHUiMKLSyEoMMgI9JDQPbjfz+TfhgflZvVR8/o4apExUO 1HI08N5ijeekB4Ymw3eDr3plChaNduLV4OZ/ppEIyLXKOQ6KUqVtvbkv3hyYI0EhbHIu 4+MsExXhgrBXiIbyYujFfjU7YSTWV3rMz9UFg5hPiB68BUwDU1hxgpxgZ83zz97Kjwe0 w11jhVj1kbBXDfWm96jCETc4hcbeA2Us5k23a0RUrGzrQAF4ykxnJCcMwfBrC3Z+acrt GUe0CFgwir9YWzRTp5GlsUN3Is1VpuDvCdctllAslMN/K03XiApbsxMHg4fR8sDgOuKy WdEA== X-Gm-Message-State: APzg51Dh9kLm+MIiyatx5fI/IX4Dwgeag+9F/uFndB6yoF0WMXhIfg/6 J8+VYQgWK6Ez54QJK6xdrdmMBg== X-Received: by 2002:adf:b112:: with SMTP id l18-v6mr28986883wra.101.1536175831131; Wed, 05 Sep 2018 12:30:31 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id d12-v6sm3847053wru.36.2018.09.05.12.30.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Sep 2018 12:30:29 -0700 (PDT) Date: Wed, 5 Sep 2018 20:30:28 +0100 From: Leif Lindholm To: Grant Likely Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, olof@lixom.net, scott.branden@broadcom.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, agraf@suse.de, Ard Biesheuvel , Jonathan Corbet Subject: Re: [PATCH] efi_stub: update documentation on dtb= parameter Message-ID: <20180905193028.4vhqtlwwgvqq6v26@bivouac.eciton.net> References: <20180905190750.4566-1-grant.likely@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180905190750.4566-1-grant.likely@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 05, 2018 at 08:07:50PM +0100, Grant Likely wrote: > The dtb= parameter is no longer the primary mechanism for providing a > devicetree to the kernel. Now either firmware or the boot selector (ex. > Grub) should provide the devicetree and dtb= should only be used for > debug or when using firmware that doesn't understand DT. > Update the EFI stub documentation to reflect the current usage. > > Signed-off-by: Grant Likely > Cc: Ard Biesheuvel > Cc: Jonathan Corbet Acked-by: Leif Lindholm > --- > Documentation/efi-stub.txt | 17 ++++++++++++++--- > 1 file changed, 14 insertions(+), 3 deletions(-) > > diff --git a/Documentation/efi-stub.txt b/Documentation/efi-stub.txt > index 41df801f9a50..833edb0d0bc4 100644 > --- a/Documentation/efi-stub.txt > +++ b/Documentation/efi-stub.txt > @@ -83,7 +83,18 @@ is passed to bzImage.efi. > The "dtb=" option > ----------------- > > -For the ARM and arm64 architectures, we also need to be able to provide a > -device tree to the kernel. This is done with the "dtb=" command line option, > -and is processed in the same manner as the "initrd=" option that is > +For the ARM and arm64 architectures, a device tree must be provided to > +the kernel. Normally firmware shall supply the device tree via the > +EFI CONFIGURATION TABLE. However, the "dtb=" command line option can > +be used to override the firmware supplied device tree, or to supply > +one when firmware is unable to. > + > +Please note: Firmware adds runtime configuration information to the > +device tree before booting the kernel. If dtb= is used to override > +the device tree, then any runtime data provided by firmware will be > +lost. The dtb= option should only be used either as a debug tool, or > +as a last resort when a device tree is not provided in the EFI > +CONFIGURATION TABLE. > + > +"dtb=" is processed in the same manner as the "initrd=" option that is > described above. > -- > 2.11.0 > > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.