From: "Marc-André Lureau" <marcandre.lureau@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: somlo@cmu.edu, qemu-devel@nongnu.org, mst@redhat.com,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Baoquan He" <bhe@redhat.com>, "Dave Young" <dyoung@redhat.com>,
"Hari Bathini" <hbathini@linux.vnet.ibm.com>,
"Tony Luck" <tony.luck@intel.com>,
"Vivek Goyal" <vgoyal@redhat.com>
Subject: [Qemu-devel] [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note()
Date: Mon, 13 Nov 2017 20:29:57 +0100 [thread overview]
Message-ID: <20171113192958.22953-5-marcandre.lureau@redhat.com> (raw)
In-Reply-To: <20171113192958.22953-1-marcandre.lureau@redhat.com>
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@linux-foundation.org>
CC: Baoquan He <bhe@redhat.com>
CC: Dave Young <dyoung@redhat.com>
CC: Dave Young <dyoung@redhat.com>
CC: Hari Bathini <hbathini@linux.vnet.ibm.com>
CC: Tony Luck <tony.luck@intel.com>
CC: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gabriel Somlo <somlo@cmu.edu>
---
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
next prev parent reply other threads:[~2017-11-13 19:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-13 19:29 [Qemu-devel] [PATCH v6 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Marc-André Lureau
2017-11-13 19:29 ` [Qemu-devel] [PATCH v6 1/5] fw_cfg: fix the command line module name Marc-André Lureau
2017-11-13 19:29 ` [Qemu-devel] [PATCH v6 2/5] fw_cfg: add DMA register Marc-André Lureau
2017-11-13 19:29 ` [Qemu-devel] [PATCH v6 3/5] fw_cfg: do DMA read operation Marc-André Lureau
2017-11-15 17:27 ` Michael S. Tsirkin
2017-11-16 13:17 ` Marc-André Lureau
2017-11-16 16:09 ` Michael S. Tsirkin
2017-11-13 19:29 ` Marc-André Lureau [this message]
2017-11-14 6:39 ` [Qemu-devel] [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note() Dave Young
2017-11-14 6:49 ` Baoquan He
2017-11-13 19:29 ` [Qemu-devel] [PATCH v6 5/5] fw_cfg: write vmcoreinfo details Marc-André Lureau
2017-11-16 1:57 ` Michael S. Tsirkin
2017-11-16 13:34 ` Marc-André Lureau
2017-11-16 16:05 ` Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171113192958.22953-5-marcandre.lureau@redhat.com \
--to=marcandre.lureau@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=bhe@redhat.com \
--cc=dyoung@redhat.com \
--cc=hbathini@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=somlo@cmu.edu \
--cc=tony.luck@intel.com \
--cc=vgoyal@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).