Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751701AbdISL6W (ORCPT ); Tue, 19 Sep 2017 07:58:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35674 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458AbdISL6V (ORCPT ); Tue, 19 Sep 2017 07:58:21 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 466244E4C6 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=marcandre.lureau@redhat.com From: marcandre.lureau@redhat.com To: linux-kernel@vger.kernel.org Cc: somlo@cmu.edu, qemu-devel@nongnu.org, mst@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PATCH v2 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support Date: Tue, 19 Sep 2017 13:58:10 +0200 Message-Id: <20170919115814.14724-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.38]); Tue, 19 Sep 2017 11:58:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 868 Lines: 29 From: Marc-André Lureau Hi, This series brings DMA operations support to the fw_cfg kernel module and provide "etc/vmcoreinfo" support. At the current iteration of "[Qemu-devel] [PATCH v6 0/7] KASLR kernel dump support" patch series, a "etc/vmcoreinfo" entry is added with qemu -device vmcoreinfo, where the guest during boot or later, can write the addr/size location of a ELF note to be appended in the qemu dump. v2: - use platform device for dma mapping - add etc/vmcoreinfo patch - some code cleanups Marc-André Lureau (4): fw_cfg: add DMA register fw_cfg: do DMA read operation fw_cfg: write vmcoreinfo details RFC: fw_cfg: add DMA write operation in sysfs drivers/firmware/qemu_fw_cfg.c | 284 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 254 insertions(+), 30 deletions(-) -- 2.14.1.146.gd35faa819