Received: from eggs.gnu.org ([2001:4830:134:3::10]:35882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr382-0002Tg-Cq for qemu-devel@nongnu.org; Wed, 19 Nov 2014 06:08:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr37x-000691-Fd for qemu-devel@nongnu.org; Wed, 19 Nov 2014 06:08:54 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:47761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr37x-00068X-9P for qemu-devel@nongnu.org; Wed, 19 Nov 2014 06:08:49 -0500 Received: by mail-wg0-f48.google.com with SMTP id y19so505570wgg.21 for ; Wed, 19 Nov 2014 03:08:48 -0800 (PST) Date: Wed, 19 Nov 2014 11:08:45 +0000 From: Leif Lindholm Message-ID: <20141119110845.GG22224@bivouac.eciton.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] hw/arm/virt: linux,stdout-path -> stdout-path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, ard.biesheuvel@linaro.org As of Linux 3.15, the generic "stdout-path" property described by ePAPR 1.1 is supported by the upstream kernel: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/of/base.c?id=676e1b2fcd9dbb47a59baac13d089621d22c68b8 ARM virt still sets the legacy linux,stdout-path. Given that this step was added to ARM virt ~ 3 months after 3.15 was released, could we simply replace it (patch below)? Failing that, could we set both for now? / Leif >From 25a51745c6243ff279684a3990c8c6aad25ed7b5 Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Wed, 19 Nov 2014 11:02:42 +0000 Subject: [RFC] hw/arm/virt: set stdout-path instead of linux,stdout-path ePAPR 1.1 defines the stdout-path property, making the os-specific linux,stdout-path property redundant. Change the DT setup for ARM virt to use the generic property - supported by Linux since 3.15. Signed-off-by: Leif Lindholm --- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 78f618d..314e55b 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -389,7 +389,7 @@ static void create_uart(const VirtBoardInfo *vbi, qemu_irq *pic) qemu_fdt_setprop(vbi->fdt, nodename, "clock-names", clocknames, sizeof(clocknames)); - qemu_fdt_setprop_string(vbi->fdt, "/chosen", "linux,stdout-path", nodename); + qemu_fdt_setprop_string(vbi->fdt, "/chosen", "stdout-path", nodename); g_free(nodename); } -- 1.7.10.4