Received: by 10.223.164.202 with SMTP id h10csp596210wrb; Mon, 13 Nov 2017 11:28:48 -0800 (PST) X-Google-Smtp-Source: AGs4zMYV74kheoAicjYpmjO/vFMMUUFJ3d6+1KOgySYW8/z7XTSHcLQyAAnEZvthSvcw0QKMO2V3 X-Received: by 10.99.173.8 with SMTP id g8mr4011672pgf.87.1510601328357; Mon, 13 Nov 2017 11:28:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510601328; cv=none; d=google.com; s=arc-20160816; b=p/qwTyElwqasY9NQkdkVSNt0ratmUC8MpbxAE07IRyj7saFfbGgwyKPOkhAXpPUOo9 KhBACehkis0Jk9w8L1CwhNROkbDBwbBeGdDEd6SuIdRLsdtrLyccJccQ4Io/FVfiFVOa 5C2SGhRJpkoBOjWbJE12myfahIiC8MYOP4xiNobRYB6hVxIV+fc0JsN4ku46OHJr0N8y UfSgQi7OrvY2NUX7xAhDzsJBKr+tKq+EHSWCqlVDhxNTDT7ULaTyHUwZ0q7dAhZZD5TA /93uh/R94h9wZ3pUuw+5xS6Xd82wg1PVKMSWW6dtXxLHBDdeXfkSO1p8nETfZD9lKb3c qaZQ== 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=si687VKkkD5UVZIL901ROxXOXPPjGvLgMoDI62j849w=; b=SZ3jOIHQbi/5O45JWFtrsQV/qNYwhpx0Wx10jojW0/7JP0nTBlkQTxwg3OzHFGZiZn SHHf8as2x593LCEymFnx+CrFoNQcMAQVKSePn1/20Bf5EuWEhtcLbRUA7e/fV1+Tz1i4 4xOSKNRRqYzKM7aDFWbH2liJ+KUG2B/MGQtUPhHs5hN6kaj2UTcpMXkFf4l3ME3WbJt9 BEvwl6DKSVafADLoBNFiINP1TjdpCtJgBAWO0ogK2KNbAl5R+dUTivbeRrddDu9yvx8p bdeCOIHn9ptQ3KAS1e5MfLA4qfFvNvSfNyWQdZjoRz2coF/KFwSmUQgmEfqhhIuTAzlE M4Sw== 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 w22si14740964plk.381.2017.11.13.11.28.35; Mon, 13 Nov 2017 11:28:48 -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 S1754619AbdKMT16 (ORCPT + 87 others); Mon, 13 Nov 2017 14:27:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30834 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbdKMT15 (ORCPT ); Mon, 13 Nov 2017 14:27:57 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 19A1F80472; Mon, 13 Nov 2017 19:27:57 +0000 (UTC) Received: from localhost (unknown [10.36.112.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8738887CB7; Mon, 13 Nov 2017 19:27:52 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 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 v6 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Date: Mon, 13 Nov 2017 20:27:45 +0100 Message-Id: <20171113192750.6505-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.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 13 Nov 2017 19:27:57 +0000 (UTC) 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. Note: the support for this entry handling has been merged for upcoming qemu release (2.11). v6: - change acpi_acquire_global_lock() error to return EINVAL (instead of EBUSY) - replace 0 as pointer argument for NULL - add Gabriel r-b/a-b tags v5: - resent to CC kdump people on the paddr_vmcoreinfo_note() export patch v4: - export paddr_vmcoreinfo_note() to fix fw_cfg.ko build - fix build with !CONFIG_CRASH_CORE - replace the unbounded yield() loop with a usleep_range() loop and a 200ms timeout - do not write vmcoreinfo entry when running the kdump kernel (D. Hatayama) - drop the experimental sysfs write support patch from this series v3: (thanks kbuild) - add "fw_cfg: fix the command line module name" patch - fix build of "fw_cfg: add DMA register" with CONFIG_FW_CFG_SYSFS_CMDLINE=y - fix 'Wshift-count-overflow' v2: - use platform device for dma mapping - add etc/vmcoreinfo patch - some code cleanups Marc-André Lureau (5): fw_cfg: fix the command line module name fw_cfg: add DMA register fw_cfg: do DMA read operation crash: export paddr_vmcoreinfo_note() fw_cfg: write vmcoreinfo details drivers/firmware/qemu_fw_cfg.c | 292 +++++++++++++++++++++++++++++++++++++---- kernel/crash_core.c | 1 + 2 files changed, 264 insertions(+), 29 deletions(-) -- 2.15.0.125.g8f49766d64 From 1584072710973673930@xxx Tue Nov 14 19:57:39 +0000 2017 X-GM-THRID: 1583715118317361483 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread