qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Marc-André Lureau" <marcandre.lureau@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: bhe@redhat.com, slp@redhat.com, mst@redhat.com, somlo@cmu.edu,
	xiaolong.ye@intel.com, peterx@redhat.com, qemu-devel@nongnu.org,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"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 v10 3/4] crash: export paddr_vmcoreinfo_note()
Date: Tue, 23 Jan 2018 17:40:40 +0100	[thread overview]
Message-ID: <20180123164041.30339-4-marcandre.lureau@redhat.com> (raw)
In-Reply-To: <20180123164041.30339-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 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.0.rc1.1.gef27df75a1

  parent reply	other threads:[~2018-01-23 16:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 16:40 [Qemu-devel] [PATCH v10 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support Marc-André Lureau
2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 1/4] fw_cfg: add DMA register Marc-André Lureau
2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 2/4] fw_cfg: do DMA read operation Marc-André Lureau
2018-01-24  3:25   ` Peter Xu
2018-01-24 10:29     ` Marc-Andre Lureau
2018-01-23 16:40 ` Marc-André Lureau [this message]
2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 4/4] fw_cfg: write vmcoreinfo details Marc-André Lureau

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=20180123164041.30339-4-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=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=slp@redhat.com \
    --cc=somlo@cmu.edu \
    --cc=tony.luck@intel.com \
    --cc=vgoyal@redhat.com \
    --cc=xiaolong.ye@intel.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).