Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4794579pxu; Wed, 21 Oct 2020 05:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/KrXLzMcHXm/FR4EdGr85Oc3NCAToaEbw8uxsttn6PoXmd16U9QB6Qq9igJbpoYYfWBbw X-Received: by 2002:a17:906:b24c:: with SMTP id ce12mr2820886ejb.386.1603284144838; Wed, 21 Oct 2020 05:42:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603284144; cv=none; d=google.com; s=arc-20160816; b=XCz2MWsxItczlpDm2YsKMktZRMe6eluNIbBn+vhGoWleenBpqoqECR3/0udGEUrLvV Z9s9fXEkOG68W4tfPxPYtHvsEC0hZxHmIUm/DY4/ULktxg5oK36r/A2LZVG8jJENKUL9 tViVKTfoWPvOSwCqmvYkxyiDjiiLZVjLKKAcnAUHcb+JsMHSeMGLc8+p21AowuriAzsf jqOlfY9il/PG86AkK7/l1VzU1ZPetUFZnsjXyCeb1nSxIg5WiN7ZXZoD9HFXezMx8LKJ zh7sYkGqLK6mRUq43SLvjIwrzyyEM7bNZIBOZZgzfUEIZJPNKplf8kg4dHK3ESLjw28w v56g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=CMrAHGDqrJOk+hGQ46PUDYP7akaud7WXPkY2qSnBya0=; b=hMPAyT5l4if0ULdMnM+nMXMG+9jbpbEU1oj2A4N7Ez8iwxmosL56GefqeFLs9cOPrO 4ex7oVrv34koKjcCtH0YwFkiPGg/qqvuqvDd7xbmog0nZ49N2vBDan5MBDdWsjZgOiz9 i51qbRSDbXWQ065a4fauoywfYgIrIr/Q7QWGUQak1VVro06qFkVlSMpTtvyWUAF95cXG VYzxxh5efEx6PS4CMPk4aZAnXZMmeo5BQeWtN84phDnxe0pZzTU4cFjVg453UNvsksur i2g6XbHrLq9o1ixELNXyvI89DYCLu1VIM96h0cS+KTVFkl4gLTcRgjKLR4BBFS5LtDYL sKkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yIfZmq8t; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si1236427ejv.583.2020.10.21.05.42.01; Wed, 21 Oct 2020 05:42:24 -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=@kernel.org header.s=default header.b=yIfZmq8t; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394986AbgJUGp1 (ORCPT + 99 others); Wed, 21 Oct 2020 02:45:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:38434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394966AbgJUGp1 (ORCPT ); Wed, 21 Oct 2020 02:45:27 -0400 Received: from coco.lan (ip5f5ad5a8.dynamic.kabel-deutschland.de [95.90.213.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8B8222075B; Wed, 21 Oct 2020 06:45:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603262726; bh=Wyw5We1ji398r6jEKsyOv1d233CBQmez+NyANTjly/w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=yIfZmq8tDOVAVBY0McNrJzGl5Swv/H/EpWWIBkmQCxhCiH+eVKyXKJITzMWcvTRlt SmbXzzl3/YB4iZjdBJJj4+VO6ZOmzpbh1EfiQSS6N4VjPgEog4Pf0qQpWpKGc0NLA4 OJsKcl8Z86Ihu0x+0Kjf/jw7WNL/2KnPTV0d5f9Y= Date: Wed, 21 Oct 2020 08:45:18 +0200 From: Mauro Carvalho Chehab To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Frank Rowand , Geert Uytterhoeven , Michael Ellerman , Thomas Bogendoerfer , Jonathan Corbet , Paul Mackerras , Yoshinori Sato , Rich Felker , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mips@vger.kernel.org, linux-doc@vger.kernel.org, linux-sh@vger.kernel.org, Benjamin Herrenschmidt Subject: Re: [PATCH 2/2] dt: Remove booting-without-of.rst Message-ID: <20201021084518.1eab6481@coco.lan> In-Reply-To: <20201008142420.2083861-2-robh@kernel.org> References: <20201008142420.2083861-1-robh@kernel.org> <20201008142420.2083861-2-robh@kernel.org> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Em Thu, 8 Oct 2020 09:24:20 -0500 Rob Herring escreveu: > booting-without-of.rstt is an ancient document that first outlined > Flattened DeviceTree on PowerPC initially. The DT world has evolved a > lot in the 15 years since and booting-without-of.rst is pretty stale. > The name of the document itself is confusing if you don't understand the > evolution from real 'OpenFirmware'. Most of what booting-without-of.rst > contains is now in the DT specification (which evolved out of the > ePAPR). The few things that weren't documented in the DT specification > are now. > > All that remains is the boot entry details, so let's move these to arch > specific documents. The exception is arm which already has the same > details documented. Removing this document caused a warning at Documentation/arm/booting.rst: $ ./scripts/documentation-file-ref-check Documentation/arm/booting.rst: Documentation/devicetree/booting-without-of.rst as it mentions that the DTB format is described on booting-without-of.rst: 4b. Setup the device tree ------------------------- The boot loader must load a device tree image (dtb) into system ram at a 64bit aligned address and initialize it with the boot data. The dtb format is documented in Documentation/devicetree/booting-without-of.rst. The kernel will look for the dtb magic value of 0xd00dfeed at the dtb physical address to determine if a dtb has been passed instead of a tagged list. So, I guess that such part of the document needs to be moved to booting.rst. Thanks, Mauro