2017-11-14 06:41:41

by Dave Young

[permalink] [raw]
Subject: Re: [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note()

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 <[email protected]>
> CC: Baoquan He <[email protected]>
> CC: Dave Young <[email protected]>
> CC: Dave Young <[email protected]>
> CC: Hari Bathini <[email protected]>
> CC: Tony Luck <[email protected]>
> CC: Vivek Goyal <[email protected]>
> Signed-off-by: Marc-Andr� Lureau <[email protected]>
> Acked-by: Gabriel Somlo <[email protected]>
> ---
> 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 <[email protected]>

Thanks
Dave

From 1583980512021312814@xxx Mon Nov 13 19:32:12 +0000 2017
X-GM-THRID: 1583980512021312814
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread