From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752150AbdKNGkZ (ORCPT ); Tue, 14 Nov 2017 01:40:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34910 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbdKNGkU (ORCPT ); Tue, 14 Nov 2017 01:40:20 -0500 Date: Tue, 14 Nov 2017 14:39:55 +0800 From: Dave Young 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 , Baoquan He , kexec@lists.infradead.org, Hari Bathini , Tony Luck , Vivek Goyal Subject: Re: [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note() Message-ID: <20171114063955.GA4668@dhcp-128-65.nay.redhat.com> 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.8.3 (2017-05-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 14 Nov 2017 06:40:20 +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 > --- > 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 > Acked-by: Dave Young Thanks Dave From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEUtW-0003oT-BA for qemu-devel@nongnu.org; Tue, 14 Nov 2017 01:40:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEUtT-0004ze-1Y for qemu-devel@nongnu.org; Tue, 14 Nov 2017 01:40:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46552) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eEUtS-0004sk-MI for qemu-devel@nongnu.org; Tue, 14 Nov 2017 01:40:22 -0500 Date: Tue, 14 Nov 2017 14:39:55 +0800 From: Dave Young Message-ID: <20171114063955.GA4668@dhcp-128-65.nay.redhat.com> 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 In-Reply-To: <20171113192958.22953-5-marcandre.lureau@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 , Baoquan He , kexec@lists.infradead.org, Hari Bathini , Tony Luck , Vivek Goyal On 11/13/17 at 08:29pm, Marc-Andr=E9 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. >=20 > 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=E9 Lureau > Acked-by: Gabriel Somlo > --- > kernel/crash_core.c | 1 + > 1 file changed, 1 insertion(+) >=20 > 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); > =20 > static int __init crash_save_vmcoreinfo_init(void) > { > --=20 > 2.15.0.125.g8f49766d64 >=20 Acked-by: Dave Young Thanks Dave From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eEUtm-0008Sm-4s for kexec@lists.infradead.org; Tue, 14 Nov 2017 06:40:44 +0000 Date: Tue, 14 Nov 2017 14:39:55 +0800 From: Dave Young Subject: Re: [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note() Message-ID: <20171114063955.GA4668@dhcp-128-65.nay.redhat.com> References: <20171113192958.22953-1-marcandre.lureau@redhat.com> <20171113192958.22953-5-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171113192958.22953-5-marcandre.lureau@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: Tony Luck , Baoquan He , mst@redhat.com, somlo@cmu.edu, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, qemu-devel@nongnu.org, Hari Bathini , Andrew Morton , Vivek Goyal On 11/13/17 at 08:29pm, Marc-Andr=E9 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=E9 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 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 > = Acked-by: Dave Young Thanks Dave _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec