From patchwork Fri May 10 16:43: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: 1098224 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=163.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=163.com header.i=@163.com header.b="l/0wIknV"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 450x6C33YNz9sB8 for ; Sat, 11 May 2019 02:50:27 +1000 (AEST) Received: from localhost ([127.0.0.1]:46748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP8j3-0000wM-Co for incoming@patchwork.ozlabs.org; Fri, 10 May 2019 12:50:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP8cz-0004ak-M3 for qemu-devel@nongnu.org; Fri, 10 May 2019 12:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP8cx-0002TU-QY for qemu-devel@nongnu.org; Fri, 10 May 2019 12:44:09 -0400 Received: from m12-13.163.com ([220.181.12.13]:45776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP8cu-0002Pk-2o for qemu-devel@nongnu.org; Fri, 10 May 2019 12:44:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=kxuIpJk2r7Juck7G70 d+qocmrMBCV3MS7stIkFMR5A4=; b=l/0wIknVPSbCN0rI9HE2lBlB9V90xEPsvr c16OfViGgVQkkmvpeusGyX+JTT2OhCC5QIlOu1UzzXpjRNOFlyzJi/RsYoGWeryE ZC94rBXplXzajT2j4xmvT25oGhPSXjsawaMYq7QuJ871ev+XHDwFWFemu+lO0S0z 7/m0vJj/s= Received: from localhost.localdomain (unknown [183.159.64.133]) by smtp9 (Coremail) with SMTP id DcCowAB3fTFLqtVcVYWnCg--.3399S2; Sat, 11 May 2019 00:43:56 +0800 (CST) From: Li Qiang To: pbonzini@redhat.com, jslaby@suse.cz Date: Fri, 10 May 2019 09:43:46 -0700 Message-Id: <20190510164349.81507-1-liq3ea@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: DcCowAB3fTFLqtVcVYWnCg--.3399S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4RKJPEDUUUU X-Originating-IP: [183.159.64.133] X-CM-SenderInfo: 5oltjvrd6rljoofrz/xtbBZg2wbVaD1aHidAAAsB X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 220.181.12.13 Subject: [Qemu-devel] [PATCH v4 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: liq3ea@gmail.com, philmd@redhat.com, qemu-devel@nongnu.org, Li Qiang Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-)