Received: by 10.223.176.5 with SMTP id f5csp84727wra; Tue, 6 Feb 2018 17:44:45 -0800 (PST) X-Google-Smtp-Source: AH8x225v73OHl5mT2u9yxNBo3kn/xTbXp0pc87aaGan+xgtGtE3kJAFt0Oq3h5yFEs9t5uDIAtcJ X-Received: by 10.98.245.87 with SMTP id n84mr4233398pfh.129.1517967885726; Tue, 06 Feb 2018 17:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517967885; cv=none; d=google.com; s=arc-20160816; b=PAV0QFaY5dD/SAIsuKQ1fPKf5TjLlW8p/DyffmjgkTMatBI94m7xGZGlW5J/iJX3IX HJD935e8SzDGUvyjUPM0MPya5wdm7aGAcmeYVps+Whqpb1VktK4nCF0H6IUZxUUNkkwC LM8KmiEsCbUGAk2nsYBkVMt8WN+rn2ov2YPK6/bZ/rt12g/ZKPtZMWELyUOj1f2CIjsx f5dtEzugVD4UAn51CVmc01yN+2Zb60o/ShbVpBApJHeN+FbeJu/fIGJgmHfLfhYTWn4Z Suo8CCmvh3R54qXvAkaAjpPlc8ZxyBh+LPpeEMC11uqr1zK0ROKFgXanYjB5BWYD02tg 5vKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=tKuPGr0E6TrAndfePBbbtdrfLRlqNtytDTSiZMNsOsM=; b=sFpuQ/MQ9ii8wJwW69yR3hbOtIMSjswfuLnRWhxXzE105yfwV3hgh0naqUUIJBMT5Q yfh1PcexCfKc9XYpjr+5qjvL0XR6au0Lv1yfcSmYkZgZBBQavQTCdMPNePe0xaAqwPP6 gZRsHlklmpuNormvOIo5TUAfKu03hOKZ69w+0imkvAlBR7RqoFXTg1bHamawJylgkVin x/QEMyVs6TcKhQ7IA+vOfFptqupkxIeZX3JMZ6f47kHYdNIMkX4FNCdhWL92meSK5XMG DqIqi9zNz25wUysMuwpX3CIL3JCu1H6wGGvygR1CS8B0FMRU5++nZG7C7e6vc7shJ+lX GWaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si241397pgq.181.2018.02.06.17.44.31; Tue, 06 Feb 2018 17:44:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754328AbeBGBmu (ORCPT + 99 others); Tue, 6 Feb 2018 20:42:50 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34962 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754303AbeBGBmt (ORCPT ); Tue, 6 Feb 2018 20:42:49 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 06E4D4025EE9; Wed, 7 Feb 2018 01:35:27 +0000 (UTC) Received: from localhost (ovpn-112-16.ams2.redhat.com [10.36.112.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id E9BE4202660C; Wed, 7 Feb 2018 01:35:25 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: linux-kernel@vger.kernel.org Cc: slp@redhat.com, bhe@redhat.com, mst@redhat.com, somlo@cmu.edu, xiaolong.ye@intel.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PATCH v13 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support Date: Wed, 7 Feb 2018 02:35:21 +0100 Message-Id: <20180207013525.1634-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 07 Feb 2018 01:35:27 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 07 Feb 2018 01:35:27 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'marcandre.lureau@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds DMA operations support to the qemu fw_cfg kernel module and populates "etc/vmcoreinfo" with vmcoreinfo location details (entry added since qemu 2.11 with -device vmcoreinfo). v13: - reorder patch series, introduce DMA write before DMA read - do some measurements of DMA read speed-ups v12: - fix virt_to_phys(NULL) panic with CONFIG_DEBUG_VIRTUAL=y - do not use DMA read, except for kmalloc() memory we allocated ourself (only fw_cfg_register_dir_entries() so far) v11: - add #include in last patch, fixing kbuild .config test Marc-André Lureau (4): crash: export paddr_vmcoreinfo_note() fw_cfg: add DMA register fw_cfg: write vmcoreinfo details RFC: fw_cfg: do DMA read operation drivers/firmware/qemu_fw_cfg.c | 257 ++++++++++++++++++++++++++++++++++++----- kernel/crash_core.c | 1 + 2 files changed, 230 insertions(+), 28 deletions(-) -- 2.16.1.73.g5832b7e9f2