From patchwork Tue Oct 24 01:31:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kardashevskiy X-Patchwork-Id: 829749 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yLbNQ5syWz9s83 for ; Tue, 24 Oct 2017 12:32:06 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3yLbNQ29K5zDqkj for ; Tue, 24 Oct 2017 12:32:06 +1100 (AEDT) X-Original-To: slof@lists.ozlabs.org Delivered-To: slof@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=ozlabs.ru (client-ip=107.173.13.209; helo=ozlabs.ru; envelope-from=aik@ozlabs.ru; receiver=) Received: from ozlabs.ru (ozlabs.ru [107.173.13.209]) by lists.ozlabs.org (Postfix) with ESMTP id 3yLbNL26RyzDqZ3 for ; Tue, 24 Oct 2017 12:32:01 +1100 (AEDT) Received: from vpl1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id A3C0E3A60011; Mon, 23 Oct 2017 21:30:48 -0400 (EDT) From: Alexey Kardashevskiy To: slof@lists.ozlabs.org Date: Tue, 24 Oct 2017 12:31:47 +1100 Message-Id: <20171024013153.28200-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.11.0 Subject: [SLOF] [PATCH slof v6 0/6] fdt: Pass the resulting device tree to QEMU + related fixes X-BeenThere: slof@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: "Patches for https://github.com/aik/SLOF" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Greg Kurz MIME-Version: 1.0 Errors-To: slof-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "SLOF" This is my current queue for FDT and somewhat related patches. I have pushed out the revert and documentation patches. Please comment. Thanks. Alexey Kardashevskiy (6): tree: Rework set-chosen-cpu and store /chosen ihandle and phandle fdt: Fix version and add a word for FDT header size fdt: Pass the resulting device tree to QEMU board-qemu: Fix slof-build-id length rtas: Store RTAS address and entry in the device tree fdt: Implement "fdt-fetch" method for client interface lib/libhvcall/libhvcall.h | 3 +- board-js2x/slof/helper.fs | 2 +- board-qemu/slof/OF.fs | 2 + board-qemu/slof/fdt-fl.fs | 266 ++++++++++++++++++++++++++++++++++++++++++++++ board-qemu/slof/fdt.fs | 4 +- board-qemu/slof/helper.fs | 8 +- board-qemu/slof/rtas.fs | 13 +++ board-qemu/slof/tree.fs | 6 -- lib/libhvcall/hvcall.code | 5 + lib/libhvcall/hvcall.in | 1 + slof/fs/base.fs | 5 + slof/fs/client.fs | 16 +++ slof/fs/root.fs | 11 ++ 13 files changed, 325 insertions(+), 17 deletions(-) create mode 100644 board-qemu/slof/fdt-fl.fs Tested-by: Greg Kurz