Re: [PATCH v16 09/11] crash: export paddr_vmcoreinfo_note()
From: Michael S. Tsirkin
Date: Fri Mar 02 2018 - 13:03:41 EST
On Fri, Mar 02, 2018 at 10:32:04AM +0800, Dave Young wrote:
> Hi
>
> On 02/28/18 at 04:06pm, 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 <akpm@xxxxxxxxxxxxxxxxxxxx>
> > CC: Baoquan He <bhe@xxxxxxxxxx>
> > CC: Dave Young <dyoung@xxxxxxxxxx>
> > CC: Dave Young <dyoung@xxxxxxxxxx>
>
> Above duplicated a CC, btw, I remember both Baoquan and me acked it
> before, you can find the old email and carry the acked-by.
I fixed it but all this is submitter's job really.
> > CC: Hari Bathini <hbathini@xxxxxxxxxxxxxxxxxx>
> > CC: Tony Luck <tony.luck@xxxxxxxxx>
> > CC: Vivek Goyal <vgoyal@xxxxxxxxxx>
> > Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> > Acked-by: Gabriel Somlo <somlo@xxxxxxx>
> > ---
> > 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.1.73.g5832b7e9f2
> >
>
> Thanks
> Dave