From patchwork Mon Aug 5 13:29:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 11076887 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5E64C1399 for ; Mon, 5 Aug 2019 13:31:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DF74288C6 for ; Mon, 5 Aug 2019 13:31:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 423492890E; Mon, 5 Aug 2019 13:31:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E89E5288C6 for ; Mon, 5 Aug 2019 13:31:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hud3s-0004gO-SE; Mon, 05 Aug 2019 13:30:04 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hud3r-0004SQ-LE for xen-devel@lists.xenproject.org; Mon, 05 Aug 2019 13:30:03 +0000 X-Inumbo-ID: 202e516a-b785-11e9-962b-3fb4080497cd Received: from foss.arm.com (unknown [217.140.110.172]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id 202e516a-b785-11e9-962b-3fb4080497cd; Mon, 05 Aug 2019 13:30:01 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A7E14337; Mon, 5 Aug 2019 06:30:00 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 389863F706; Mon, 5 Aug 2019 06:29:59 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Mon, 5 Aug 2019 14:29:51 +0100 Message-Id: <20190805132955.1630-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH v2 0/4] xen/console: Bug fixes and doc improvement X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , Volodymyr Babchuk MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi all, This series contains a bunch of bug fixes for the hypercall CONSOLEIO_write and some documentation. Cheers, Julien Grall (4): xen/console: Don't treat NUL character as the end of the buffer xen/console: Rework HYPERCALL_console_io interface xen/public: Document HYPERCALL_console_io() xen/console: Simplify domU console handling in guest_console_write xen/arch/arm/early_printk.c | 5 ++- xen/common/gdbstub.c | 6 +-- xen/drivers/char/console.c | 83 +++++++++++++++++++++------------------ xen/drivers/char/consoled.c | 7 +--- xen/drivers/char/serial.c | 7 ++-- xen/drivers/char/xen_pv_console.c | 10 ++--- xen/drivers/video/lfb.c | 14 ++++--- xen/drivers/video/lfb.h | 4 +- xen/drivers/video/vga.c | 14 +++---- xen/include/public/xen.h | 24 ++++++++++- xen/include/xen/console.h | 2 +- xen/include/xen/early_printk.h | 2 +- xen/include/xen/hypercall.h | 4 +- xen/include/xen/pv_console.h | 4 +- xen/include/xen/serial.h | 4 +- xen/include/xen/video.h | 4 +- 16 files changed, 111 insertions(+), 83 deletions(-)