Received: by 10.223.164.202 with SMTP id h10csp3607486wrb; Mon, 20 Nov 2017 01:57:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMaIZXGmBhy0KXbcQ+5Vd9+tidZctIF/C3muVKnZO8QHGHdGCTmlinFN9PmbPdulBOuvmw9n X-Received: by 10.84.140.1 with SMTP id 1mr13309701pls.114.1511171833103; Mon, 20 Nov 2017 01:57:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511171833; cv=none; d=google.com; s=arc-20160816; b=WoocSe05SuiTvcwpURm6Hzty75VCLa9NWOps74n7N5PqXjlce4kPK31FTv75Q4xD7Q 1jmmirI5+xb9ZEy8NS4+BtZNZCOh2fxgb9r8N23nsoDXRDiN+CjbiGQXWX1UGfzxKigj MmwG5gdIroWNwjNWu/iKkUu5TcDWNi/Il/KtCArqt/ZcudDuHUX/rDDX9j2WpFgc7Vsy 49284DkSBNNOZqhYD9c40PdABHhdBWvDjUuYJ7pXooeIWBS89v16df/cIfkEAbANkKRH 1I5g06vTsi95EHGX2auw8hYPpj8vLAitZBgje/0bzuvi+BUCIWOWl8EHBgSdlQAFI03P Ru4w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=kKuSRhszibrifdGyknHHNXVrUvjApHZvlOa4MteMYGs=; b=RC3Ear/GQbV/SA4GkNpSpQn/7bFLGVtt4LSxBzaOF8GWuV5i8A3thJCcQdBsQGFeA0 9B/9zZKk1YNNtmi++xAo+1L5Lxc9s3Lm8DwdegsPczPpAEiKf1Xm9JYba400W7rSeq6a r91DAQHoWq/LLXF6zckIvNWxdsOJup9g2HCGBNpAKPo0T5kWgFEf6CCa5LDY9ccnEwZb ZsxEymGJmpCwu+gMxIc5f/bNhpvxqTlbdNZt3Dv1qFUxTZH4ZSXeO+vIFGmJyYRpbn/3 22BpFWedUbOu381s+8yi/xIZgjmoiC4YDcNoQB0bNA4E3e169Y634hYX1weskBUb2PI6 xqSA== 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 33si7977900plk.492.2017.11.20.01.57.02; Mon, 20 Nov 2017 01:57:13 -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 S1751280AbdKTJ4C (ORCPT + 68 others); Mon, 20 Nov 2017 04:56:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43762 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbdKTJ4B (ORCPT ); Mon, 20 Nov 2017 04:56:01 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DDE82C04AC5F; Mon, 20 Nov 2017 09:56:00 +0000 (UTC) Received: from localhost (ovpn-112-41.ams2.redhat.com [10.36.112.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3B59760BE5; Mon, 20 Nov 2017 09:55:51 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: linux-kernel@vger.kernel.org Cc: qemu-devel@nongnu.org, somlo@cmu.edu, xiaolong.ye@intel.com, mst@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Andrew Morton , Baoquan He , Dave Young , Hari Bathini , Tony Luck , Vivek Goyal Subject: [PATCH v7 4/5] crash: export paddr_vmcoreinfo_note() Date: Mon, 20 Nov 2017 10:55:18 +0100 Message-Id: <20171120095519.15214-5-marcandre.lureau@redhat.com> In-Reply-To: <20171120095519.15214-1-marcandre.lureau@redhat.com> References: <20171120095519.15214-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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 20 Nov 2017 09:56:00 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following patch is going to use the symbol from the fw_cfg module, to call the function and write the note location details in the vmcoreinfo entry, so qemu can produce dumps with the vmcoreinfo note. CC: Andrew Morton CC: Baoquan He CC: Dave Young CC: Dave Young CC: Hari Bathini CC: Tony Luck CC: Vivek Goyal Signed-off-by: Marc-André Lureau Acked-by: Gabriel Somlo --- kernel/crash_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/crash_core.c b/kernel/crash_core.c index b3663896278e..2394f0501c65 100644 --- a/kernel/crash_core.c +++ b/kernel/crash_core.c @@ -376,6 +376,7 @@ phys_addr_t __weak paddr_vmcoreinfo_note(void) { return __pa(vmcoreinfo_note); } +EXPORT_SYMBOL(paddr_vmcoreinfo_note); static int __init crash_save_vmcoreinfo_init(void) { -- 2.15.0.277.ga3d2ad2c43 From 1583969807133421488@xxx Mon Nov 13 16:42:03 +0000 2017 X-GM-THRID: 1583969807133421488 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread