Received: by 10.223.164.221 with SMTP id h29csp4013946wrb; Tue, 31 Oct 2017 08:21:03 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TsqIU601ntfd1+CUVmXl+JWMIDP9+AKFWuUBWKW7YgNji5L2Cj42m/czFVLWlibpovd+Xc X-Received: by 10.84.184.12 with SMTP id l12mr2182909plc.404.1509463263820; Tue, 31 Oct 2017 08:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509463263; cv=none; d=google.com; s=arc-20160816; b=ACT2HGE0DvzEuA9rM3BnV/UkUX4gMOjERvCIy/omVxK/ueo8GoBNalWZg/rBIpnarH vFiRueAJb92mqRwL48VpoRXdVjuJh7JxyGnOTtSp1S9lKkPhMXOGJZnZsvGKVvJw9kpq UAlSlH9NRdMeWQtQrkIodkErO+2G+aKYe7jF7YqO3+Jn/SApRP800fB5xEl4sYDKTBkJ ylaG5uaHq10n0PSj+TfMJBndBiv4z3zB5yWymN84SHYM6ZgZcUv8RqMaH/GmzIagTzCI GnaZXzXg6reQduXEFxvk7TCED28G+/6xZNm3Tj3LmbrHq73wuru13A8NT7oU9/u037LK CRmw== 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:dmarc-filter :arc-authentication-results; bh=rZVPtL70+/ZHUOH2VZZWQ/gpW6mQqP9XmY5x4xJ6C/I=; b=Zjk2SL/m+WDdwz9mqO5karLpKNjvkLMWtc6gRnBGKCs+2e8bVoCATpJ4Gjzazfnarn xfgFxy5IZLCpYovuDy6pse5tE5CXV74bKe/ZM3HQCfUnnIsYbyeLqpj1Vl0YukvpSuRD 1+EeTSeey5BGedDGcl/qqHlzIywnSyYsLzMHOSjnM3e3doTvPw2R0omrHCAdT1T9+F7f RMMKDk3e/HlMStuzr7kyr772QqJdq6anXa4vSubtAkOkMsmt+/VsXnvDGwet2W/QLBc6 lEuxI10hcPGvlSxFFp0ung5egx5AoK+juGGSFNHjiYHu/UF1cbUQwceFZyJQsMCbRQ59 UwJg== 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 o128si1903574pfg.292.2017.10.31.08.20.50; Tue, 31 Oct 2017 08:21:03 -0700 (PDT) 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 S1753557AbdJaPT5 (ORCPT + 99 others); Tue, 31 Oct 2017 11:19:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43274 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbdJaPT4 (ORCPT ); Tue, 31 Oct 2017 11:19:56 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8189DC0050A6; Tue, 31 Oct 2017 15:19:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8189DC0050A6 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=marcandre.lureau@redhat.com Received: from localhost (ovpn-112-65.ams2.redhat.com [10.36.112.65]) by smtp.corp.redhat.com (Postfix) with ESMTP id 710DD605D8; Tue, 31 Oct 2017 15:19:44 +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 v4 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Date: Tue, 31 Oct 2017 16:19:33 +0100 Message-Id: <20171031151938.14982-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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 31 Oct 2017 15:19:56 +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 next qemu release (2.11) 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.rc0.40.gaefcc5f6f From 1583958469430483689@xxx Mon Nov 13 13:41:50 +0000 2017 X-GM-THRID: 1582930464574135045 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread