From patchwork Sat Apr 20 15:59:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10910373 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 5A854922 for ; Sat, 20 Apr 2019 16:05:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4633A212D5 for ; Sat, 20 Apr 2019 16:05:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3401D2861D; Sat, 20 Apr 2019 16:05:00 +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.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B15FC262F2 for ; Sat, 20 Apr 2019 16:04:59 +0000 (UTC) Received: from localhost ([127.0.0.1]:42906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHsU6-0001Fe-7v for patchwork-qemu-devel@patchwork.kernel.org; Sat, 20 Apr 2019 12:04:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHsPL-0005wJ-1c for qemu-devel@nongnu.org; Sat, 20 Apr 2019 12:00:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHsPK-0008HT-0I for qemu-devel@nongnu.org; Sat, 20 Apr 2019 12:00:02 -0400 Received: from m12-11.163.com ([220.181.12.11]:33734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHsPI-0008Dq-Pw for qemu-devel@nongnu.org; Sat, 20 Apr 2019 12:00:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=DcI6JI89oSVCJAuEvq z6lO0d2j1rp0h0wnn4rqv00Mg=; b=E7mK0t+Pu2w936b+04btC1eduTmXOfPo0i 9E4k5PbuvtFDeO3Tl1G7RkGmYhwcKNHM6ARcPzZSqluGBjQb2MJ5Ze5ReQGbhlmU FaVo+AY96p91O7KH2y2KLOM22kDfb2ulihZi20LrWAkbIws2mxsiG9vItHkuDiIH i1XIBC41Q= Received: from localhost.localdomain (unknown [183.159.69.175]) by smtp7 (Coremail) with SMTP id C8CowACX_I34QbtcELxpBQ--.29437S2; Sat, 20 Apr 2019 23:59:53 +0800 (CST) From: Li Qiang To: jslaby@suse.cz, pbonzini@redhat.com Date: Sat, 20 Apr 2019 08:59:46 -0700 Message-Id: <20190420155949.130968-1-liq3ea@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: C8CowACX_I34QbtcELxpBQ--.29437S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4RKBTYUUUUU X-Originating-IP: [183.159.69.175] X-CM-SenderInfo: 5oltjvrd6rljoofrz/1tbiTxmcbVsGO5pGrQAAsw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 220.181.12.11 Subject: [Qemu-devel] [PATCH v2 0/3] hw: edu: some fixes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Li Qiang , liq3ea@gmail.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Recently I am considering write a driver for edu device. After reading the spec, I found these three small issue. Two first two related the MMIO access and the third is related the DMA operation. Change since v1: Fix format compile error on Windows Li Qiang (3): tests: fw_cfg: add splash time test case edu: mmio: set 'max_access_size' to 8 edu: mmio: allow mmio read dispatch accept 8 bytes hw/misc/edu.c | 13 +++++++++++++ tests/fw_cfg-test.c | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+)