From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7iut-0003Fl-7K for qemu-devel@nongnu.org; Thu, 26 Oct 2017 10:13:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7iun-0005hn-JU for qemu-devel@nongnu.org; Thu, 26 Oct 2017 10:13:51 -0400 MIME-Version: 1.0 In-Reply-To: <20171026133445.kemzfgvpbmtcogsl@kamzik.brq.redhat.com> References: <20171023122719.17199-1-Jason@zx2c4.com> <10e16ca3-175b-9f34-65e7-031b883b7201@amsat.org> <20171026133445.kemzfgvpbmtcogsl@kamzik.brq.redhat.com> From: "Jason A. Donenfeld" Date: Thu, 26 Oct 2017 16:13:33 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [Qemu-arm] [PATCH] hw/arm/virt: support 4 serial ports List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrew Jones Cc: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , QEMU Trivial , Peter Maydell , qemu-arm , QEMU Developers On Thu, Oct 26, 2017 at 3:34 PM, Andrew Jones wrote: > You could make the PL011 user instantiate-able and make the necessary > changes to use the dynamic FDT node generation framework (sysbus-fdt), > and then you'd be able to add as many additional UARTs as you like to > mach-virt's platform bus. I played around with that idea once, and have > some patches rotting somewhere that could maybe be dug back up. The problem with this approach is that then different architectures need different fancy options, which makes things a hassle. With the old guarantee of each machine providing four serial ports, you could just do -serial 1 -serial 2 and not have to worry about it. Much nicer. Making FDT dynamic also sounds complicated. Could we just do the simple patch of adding four pl011s in there?