Received: from eggs.gnu.org ([2001:4830:134:3::10]:51788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVwPb-0007Id-UB for qemu-devel@nongnu.org; Tue, 24 Jan 2017 03:25:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVwPY-0001a2-PM for qemu-devel@nongnu.org; Tue, 24 Jan 2017 03:25:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49766) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVwPY-0001Zr-JQ for qemu-devel@nongnu.org; Tue, 24 Jan 2017 03:25:04 -0500 From: Markus Armbruster References: <1485206573-32452-1-git-send-email-atar4qemu@gmail.com> Date: Tue, 24 Jan 2017 09:25:01 +0100 In-Reply-To: <1485206573-32452-1-git-send-email-atar4qemu@gmail.com> (Artyom Tarasenko's message of "Mon, 23 Jan 2017 22:22:53 +0100") Message-ID: <87k29kx3tu.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 2/2] niagara: check if a serial port is available List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: qemu-devel@nongnu.org, mark.cave-ayland@ilande.co.uk Your series lacks threading: the patches don't carry In-Reply-To and References headers. The easiest way to fix that is sending them with git-send-email --thread. You should be able to omit --thread; it's the default unless configured otherwise. Artyom Tarasenko writes: > Reported-by:Markus Armbruster > Signed-off-by: Artyom Tarasenko > --- > hw/sparc64/niagara.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/hw/sparc64/niagara.c b/hw/sparc64/niagara.c > index e945b5a..a14724f 100644 > --- a/hw/sparc64/niagara.c > +++ b/hw/sparc64/niagara.c > @@ -154,9 +154,10 @@ static void niagara_init(MachineState *machine) > exit(1); > } > } > - serial_mm_init(sysmem, NIAGARA_UART_BASE, 0, NULL, 115200, > - serial_hds[0], DEVICE_BIG_ENDIAN); > - > + if (serial_hds[0]) { > + serial_mm_init(sysmem, NIAGARA_UART_BASE, 0, NULL, 115200, > + serial_hds[0], DEVICE_BIG_ENDIAN); > + } > empty_slot_init(NIAGARA_IOBBASE, NIAGARA_IOBSIZE); > sun4v_rtc_init(NIAGARA_RTC_BASE); > } Reviewed-by: Markus Armbruster