Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1035899AbdD1Mpd (ORCPT ); Fri, 28 Apr 2017 08:45:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56971 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1035879AbdD1Mp0 (ORCPT ); Fri, 28 Apr 2017 08:45:26 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8B560BDD4 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=marcandre.lureau@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 8B560BDD4 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Cc: somlo@cmu.edu, linux-kernel@vger.kernel.org, mst@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PATCH 0/3] fw_cfg: add DMA operations Date: Fri, 28 Apr 2017 16:45:07 +0400 Message-Id: <20170428124510.23654-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Fri, 28 Apr 2017 12:45:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 654 Lines: 21 From: Marc-André Lureau Hi, This series brings DMA operations support to the fw_cfg kernel module. There is a few FIXME that I don't know how to improve. The 'write' operation is only meant as a proof-of-concept, since some qemu firmware maintainers are strongly against the usage of this operation by the kernel/user-space. Marc-André Lureau (3): fw_cfg: add DMA register fw_cfg: do DMA read operation fw_cfg: add DMA write operation proof-of-concept drivers/firmware/qemu_fw_cfg.c | 240 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 211 insertions(+), 29 deletions(-) -- 2.12.0.191.gc5d8de91d