From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752957AbdKNGtd (ORCPT ); Tue, 14 Nov 2017 01:49:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38000 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbdKNGt1 (ORCPT ); Tue, 14 Nov 2017 01:49:27 -0500 Date: Tue, 14 Nov 2017 14:49:14 +0800 From: Baoquan He To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: linux-kernel@vger.kernel.org, somlo@cmu.edu, qemu-devel@nongnu.org, mst@redhat.com, Andrew Morton , Dave Young , Hari Bathini , Tony Luck , Vivek Goyal Subject: Re: [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note() Message-ID: <20171114064914.GJ10474@x1> References: <20171113192958.22953-1-marcandre.lureau@redhat.com> <20171113192958.22953-5-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171113192958.22953-5-marcandre.lureau@redhat.com> User-Agent: Mutt/1.7.0 (2016-08-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 14 Nov 2017 06:49:27 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/13/17 at 08:29pm, Marc-André Lureau wrote: > 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 ACK Acked-by: Baoquan He Thanks Baoquan > --- > kernel/crash_core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/crash_core.c b/kernel/crash_core.c > index 6db80fc0810b..47541c891810 100644 > --- a/kernel/crash_core.c > +++ b/kernel/crash_core.c > @@ -375,6 +375,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.125.g8f49766d64 >