From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOMDQ-0002ED-CS for qemu-devel@nongnu.org; Thu, 31 May 2018 07:58:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOMDP-0003H0-JG for qemu-devel@nongnu.org; Thu, 31 May 2018 07:58:00 -0400 Received: from mail-ot0-x244.google.com ([2607:f8b0:4003:c0f::244]:37178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOMDP-0003Gj-ER for qemu-devel@nongnu.org; Thu, 31 May 2018 07:57:59 -0400 Received: by mail-ot0-x244.google.com with SMTP id 101-v6so2488424oth.4 for ; Thu, 31 May 2018 04:57:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1512745328-5109-1-git-send-email-peter.maydell@linaro.org> <1512745328-5109-3-git-send-email-peter.maydell@linaro.org> <20171212144513.sutjfenbjh33fm5n@kamzik.brq.redhat.com> <20171212151605.v2eoestysaogzymm@kamzik.brq.redhat.com> From: Peter Maydell Date: Thu, 31 May 2018 12:57:38 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH 2/3] hw/arm/virt: Add another UART to the virt board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Jason A. Donenfeld" Cc: Andrew Jones , qemu-arm , QEMU Developers , Shannon Zhao On 31 May 2018 at 12:48, Jason A. Donenfeld wrote: > On Thu, May 31, 2018 at 10:32 AM, Peter Maydell > wrote: >> It stalled on the fact that adding the second UART breaks >> UEFI images (annoyingly, UEFI iterates through UARTs in >> the DTB in the opposite direction to Linux, so if you add >> a second UART then it picks that one to use rather than >> the first one, IIRC). So it would have to be an awkward >> thing with a new machine option to request the extra UART. > > Can you just add them in the opposite order for UEFI then? No, because that would break Linux guests. We don't know what guest software we're running (and indeed UEFI typically proceeds to boot Linux). thanks -- PMM