Received: by 10.223.164.202 with SMTP id h10csp598333wrb; Mon, 13 Nov 2017 11:31:06 -0800 (PST) X-Google-Smtp-Source: AGs4zMbd2BRg19fIn8mpCkJ/361p8cjkBULIQ5vl1FW4HSjncOa2jqhvJdnbEfigJVSMPu2aSZ1r X-Received: by 10.99.105.72 with SMTP id e69mr9516929pgc.50.1510601466488; Mon, 13 Nov 2017 11:31:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510601466; cv=none; d=google.com; s=arc-20160816; b=Ju/PkrxuyQ8GG5wCA/ewuDzSo9R37LFhqj/O8NeLQJehk9d1gmhWE2NTe650vWPiOj bAfP7wlCbTOqDSiHeO4B44L+jxt6MM6Fp/+VkMK0VD/B/qRJIvTrkDSUBKKUOZf4tEnp qpPPZqRplxdvBDORPmYcMAs/VcEiYFitwa6eTdjwV2aMv3BWLwWGJe+tsymSWOb8jYRT kJwsBm2vVGxfYDFn1Xqp3y+xQw8FVOwprKBF1d57o6hU1btr7VDjvYMcLstwd3HUqnan oQ9NqZu5/0MhR/9Wm7XoAfN9XKeR1BS7gAF3NfYWlMH9jdMnnLsEjLcXok9H7U8Gr/F3 IaTg== 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=Yi2K1R5IE9oMFzonAc6mLqc0Clu7uQ8/2OOIGLmPZMt/Pxoul9b9Vv07m1sOYrVnTd 6/sgQnokCoYUIYuPQ61Z7sMD5KLh3zTkqX6U4We/whwsnlrWIsDx+5MUyhsgsRAFT5/h 3j4LAXXWb+dDDJg9g5wXPhfgDiWnPu8Y/toZbFAgljX2oX7yRyH7p2AEIJ+xBVCmxOYu tHmD2+FTJ4hq2ysxvxCzykRL9UB4JvNNsAmU5W++yGr2uA9jobH8J6WrrnpRQICwi6RB OSQN0khAwzC3FwI7fXyLZ+bvjxDmf03i4z0wCKCbs/4O80Aup2v5KXvpFA1MJiFxhG34 PpDA== 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 g10si14583951pgp.397.2017.11.13.11.30.54; Mon, 13 Nov 2017 11:31:06 -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 S1754631AbdKMTaH (ORCPT + 87 others); Mon, 13 Nov 2017 14:30:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39500 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754350AbdKMTaG (ORCPT ); Mon, 13 Nov 2017 14:30:06 -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 53BE5624CB; Mon, 13 Nov 2017 19:30:06 +0000 (UTC) Received: from localhost (unknown [10.36.112.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id F3E5687CBA; Mon, 13 Nov 2017 19:29:59 +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:29:53 +0100 Message-Id: <20171113192958.22953-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.39]); Mon, 13 Nov 2017 19:30:06 +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 1583980298484421726@xxx Mon Nov 13 19:28:48 +0000 2017 X-GM-THRID: 1583980298484421726 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread