Received: by 10.223.164.202 with SMTP id h10csp916409wrb; Tue, 7 Nov 2017 17:31:34 -0800 (PST) X-Google-Smtp-Source: ABhQp+RHJiyxTSGcGRtGvLc2wKBB0bosA8Gk4+cwgbnsX7w6kNvF7GG6oO/TU091AyyM+lP3m4bD X-Received: by 10.99.110.3 with SMTP id j3mr637990pgc.70.1510104694809; Tue, 07 Nov 2017 17:31:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510104694; cv=none; d=google.com; s=arc-20160816; b=StgPlep035cA1ISasjibuuE6t2Y4GfAXecDO3C70WGWNETtnhg0gnbq+lrlxJw/M/a ZT0zrojpyuBMFNLjydVvVyeiwc4mmgwcpz92hrtDZYlT/iZRo91jcY8w7UwcsIfz10ii kuncdTox5UAYQaBECdQeuwNC65ir0+T4JT/ZDVxoAbXIMgeKov3i7xLNRQ4cTq5HFnQQ ZWZzBc/lD5yZQlP9XNGnF3qVHU2ZaTg+nL/mQsl09LIM+cAtUzybk4+i1j/Gv3DLC1Nk cmBO7gD7iuqWSNzdH/dFLAKpuCi2wuu9c+iiDLx+xeMLKLuVB78mlI20gYceRL+kPbk0 SOug== 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=sxmsvY4fc1MTqNUq41mxIxtHwFnvcAkl66YHI7VAWAU=; b=rZHZUwCod+J5Bzs3LcLhon5EcfZ+FZ6Jjgv8s1vfDNRJFzy7WtUW0sV0JiZ0XRb7c4 xYssrQHaDpFVubG3taLMV23XGRTLcMsrWnpDBHjJt/ZskgRcldACekF3kBzazb5lgyk9 tbevV7bptM2vwlnSgCjHxM7Rb64YMfoBv6DkTjxJtrKWCGgrCmiqCt+GEShDIWvw++dt +x5bxAaOSRKXrR/DKLM2Llw4WxBYoQgTK/v2Ahn+DTqBX0WXAkzIBZ7l7BDoykpP5sLG Gmsxa4p+zzb4U5rtMjRzxVuevJJRMGp2dH/STTUcvuGjwP46FypB9JrEgEB736yEdzJu 3EFg== 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 k11si2384220pls.500.2017.11.07.17.31.22; Tue, 07 Nov 2017 17:31:34 -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 S933884AbdKGQX4 (ORCPT + 92 others); Tue, 7 Nov 2017 11:23:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60006 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbdKGQXz (ORCPT ); Tue, 7 Nov 2017 11:23:55 -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 3151461D0E; Tue, 7 Nov 2017 16:23:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3151461D0E Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=marcandre.lureau@redhat.com Received: from localhost (unknown [10.36.112.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id CE0785D6A9; Tue, 7 Nov 2017 16:23:49 +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 v5 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Date: Tue, 7 Nov 2017 17:23:43 +0100 Message-Id: <20171107162348.16843-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]); Tue, 07 Nov 2017 16:23:55 +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) 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 1583890267151428382@xxx Sun Nov 12 19:37:47 +0000 2017 X-GM-THRID: 1583890267151428382 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread