Received: by 10.223.176.5 with SMTP id f5csp2709211wra; Mon, 5 Feb 2018 08:34:37 -0800 (PST) X-Google-Smtp-Source: AH8x226TgHtlTEgxhRXhZ3X7kvikB1aeJunYERJBRwZ4I7toXlry/8/4cHdJErBE9bv6ydJydPRL X-Received: by 10.98.83.71 with SMTP id h68mr2759967pfb.198.1517848477285; Mon, 05 Feb 2018 08:34:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517848477; cv=none; d=google.com; s=arc-20160816; b=QYL7z/9322WMuMuQgWLD1SN+9BmOwx23m24YgE8zQOekCyq0TBhzVXtI9TYTcAejZ2 zYD4KcKhuUY2j13BcMEWOZMf4ZwxozFNK+1ftdOjuhNSS04Q7d1tz19ZFhf3QwlqHbio Lel/QYtPlILNaiN+WSdZl898+ZZ+jif0U78MxaZNeY2Y2DBe4mhpn807oAwrPBLrr/uf WHqTjdRTHuxOQZj5xUuUqVX3Y1XT1ed0nPmjzz3Rv8Xnne3gxVAVEIroL34+ftEdqk34 oCzWmWasfa81xHU0zj/WysQBv/yp9AwggwJqA6YLl9+8AW2lIynUaTxEUqTS/FUb9NPd ADsg== 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=O7i0S+0bacoF6yqmm6d0t76CF3HYUMleCUa2jLJ7ijQ=; b=koQc1q5HtpBxgrmhP/MB/CAOQIqBLkvV6WP5q3x7VwrWe+E2U2LvHNWHOlBTGwiDMX SGGW3xaY+wZ9KfzEKMDjUdIY12H8AoL+oRCOY3QzXm6QEr2wVBmytLo+KAZnOrHxwlfV LBNv6jfu1KfbKbbtQcWWvi6KYJMG2AyKvNvMqrkzck7wfhxqqD6BN0ZwNSQbeBYNR6SD TVyBvcJkNwaOl7vvwJ3OkY/33GCN6i7PWf1yXjM5l19ev8ZaaWiKTO/tizTRnYTk+vik 8zLBShsg5fkX31x0fiSrWLpc8Mupvd17QAJoVOnxt0LQ/XKfNvX/9AutA2TP+pX1UvKP qC1w== 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 q7si5180097pfh.74.2018.02.05.08.34.22; Mon, 05 Feb 2018 08:34:37 -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 S1753362AbeBEQcw (ORCPT + 99 others); Mon, 5 Feb 2018 11:32:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57546 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753136AbeBEQcr (ORCPT ); Mon, 5 Feb 2018 11:32:47 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 322CC73C; Mon, 5 Feb 2018 16:32:47 +0000 (UTC) Received: from localhost (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D35B5C66F; Mon, 5 Feb 2018 16:32:16 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: linux-kernel@vger.kernel.org Cc: bhe@redhat.com, slp@redhat.com, mst@redhat.com, somlo@cmu.edu, xiaolong.ye@intel.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Andrew Morton , Dave Young , Hari Bathini , Tony Luck , Vivek Goyal Subject: [PATCH v12 3/4] crash: export paddr_vmcoreinfo_note() Date: Mon, 5 Feb 2018 17:30:47 +0100 Message-Id: <20180205163048.8942-4-marcandre.lureau@redhat.com> In-Reply-To: <20180205163048.8942-1-marcandre.lureau@redhat.com> References: <20180205163048.8942-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.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 05 Feb 2018 16:32:47 +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 4f63597c824d..a93590cdd9e1 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.16.0.rc1.1.gef27df75a1