From patchwork Mon Apr 22 14:11:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10911099 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 487EF14DB for ; Mon, 22 Apr 2019 14:32:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34F74285C9 for ; Mon, 22 Apr 2019 14:32:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24B8428623; Mon, 22 Apr 2019 14:32:58 +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 957EE285C9 for ; Mon, 22 Apr 2019 14:32:57 +0000 (UTC) Received: from localhost ([127.0.0.1]:38146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIa07-0002lN-BM for patchwork-qemu-devel@patchwork.kernel.org; Mon, 22 Apr 2019 10:32:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIZwG-0007ul-7i for qemu-devel@nongnu.org; Mon, 22 Apr 2019 10:28:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIZgp-0005KX-Ml for qemu-devel@nongnu.org; Mon, 22 Apr 2019 10:13:00 -0400 Received: from m12-12.163.com ([220.181.12.12]:58409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIZgo-0005Iv-PQ for qemu-devel@nongnu.org; Mon, 22 Apr 2019 10:12:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=gdShkJ1fo0JQH71+PG Fu2AsM8rZr3exCeHfzyhjP5uA=; b=NKo75IKAH9uFcZ5PHMg2z7fw4Tj8qui1xg hcdAIxHnqxszMZB6pPaKeiaWsvfLFFvqkZhFFCIpuRWeTIeXMX60RfPAdYZNl1Ta tydPPba6yxrM7+oxQtKMv4qbrJ52nuM6kxnTfGa6S/bZP/7B5iy2JGLHlGkjgH0X pWwkFPadM= Received: from localhost.localdomain (unknown [183.159.69.175]) by smtp8 (Coremail) with SMTP id DMCowACXUzO0y71cvQ2cBg--.39054S2; Mon, 22 Apr 2019 22:12:05 +0800 (CST) From: Li Qiang To: jslaby@suse.cz, pbonzini@redhat.com Date: Mon, 22 Apr 2019 07:11:53 -0700 Message-Id: <20190422141156.15746-1-liq3ea@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: DMCowACXUzO0y71cvQ2cBg--.39054S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUUPEfDUUUU X-Originating-IP: [183.159.69.175] X-CM-SenderInfo: 5oltjvrd6rljoofrz/xtbBaxWebVetvAtNfgAAsz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 220.181.12.12 Subject: [Qemu-devel] [PATCH v3 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: philmd@redhat.com, liq3ea@gmail.com, qemu-devel@nongnu.org, Li Qiang 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 v2: Fix an error in patch 2 Fix some commit message and title. Change since v1: Fix format compile error Li Qiang (3): edu: mmio: allow 64-bit access edu: mmio: allow 64-bit access in read dispatch edu: uses uint64_t in dma operation hw/misc/edu.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-)