Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Eric DeVolder <eric.devolder@oracle.com>
To: horms@verge.net.au, kexec@lists.infradead.org,
	andrew.cooper3@citrix.com, dyoung@redhat.com, panand@redhat.com
Cc: daniel.kiper@oracle.com, konrad.wilk@oracle.com
Subject: [PATCH v3 06/11] crashdump/mips: Add get_crash_kernel_load_range() function
Date: Fri, 10 Feb 2017 16:07:37 -0600	[thread overview]
Message-ID: <1486764462-14176-7-git-send-email-eric.devolder@oracle.com> (raw)
In-Reply-To: <1486764462-14176-1-git-send-email-eric.devolder@oracle.com>

From: Daniel Kiper <daniel.kiper@oracle.com>

Implement get_crash_kernel_load_range() in support of
print crash kernel region size option.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
---
 kexec/arch/mips/crashdump-mips.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kexec/arch/mips/crashdump-mips.c b/kexec/arch/mips/crashdump-mips.c
index d6cff5a..9c33599 100644
--- a/kexec/arch/mips/crashdump-mips.c
+++ b/kexec/arch/mips/crashdump-mips.c
@@ -385,3 +385,7 @@ int is_crashkernel_mem_reserved(void)
 		(start != end) : 0;
 }
 
+int get_crash_kernel_load_range(uint64_t *start, uint64_t *end)
+{
+	return parse_iomem_single("Crash kernel\n", start, end);
+}
-- 
2.7.4


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  parent reply	other threads:[~2017-02-10 22:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-10 22:07 [PATCH v3 0/10] kexec: Add option to get crash kernel region size Eric DeVolder
2017-02-10 22:07 ` [PATCH v3 01/11] crashdump/arm: Add get_crash_kernel_load_range() function Eric DeVolder
2017-02-10 22:07 ` [PATCH v3 02/11] crashdump/arm64: " Eric DeVolder
2017-02-13 21:58   ` Daniel Kiper
2017-02-10 22:07 ` [PATCH v3 03/11] crashdump/cris: " Eric DeVolder
2017-02-13 21:59   ` Daniel Kiper
2017-02-10 22:07 ` [PATCH v3 04/11] crashdump/ia64: " Eric DeVolder
2017-02-10 22:07 ` [PATCH v3 05/11] crashdump/m68k: " Eric DeVolder
2017-02-13 22:01   ` Daniel Kiper
2017-02-10 22:07 ` Eric DeVolder [this message]
2017-02-10 22:07 ` [PATCH v3 07/11] crashdump/ppc: " Eric DeVolder
2017-02-13 22:24   ` Daniel Kiper
2017-02-10 22:07 ` [PATCH v3 08/11] crashdump/ppc64: " Eric DeVolder
2017-02-13 22:26   ` Daniel Kiper
2017-02-10 22:07 ` [PATCH v3 09/11] crashdump/s390: " Eric DeVolder
2017-02-10 22:07 ` [PATCH v3 10/11] crashdump/sh: " Eric DeVolder
2017-02-10 22:07 ` [PATCH v3 11/11] kexec: Add option to get crash kernel region size Eric DeVolder
2017-02-13 22:41   ` Daniel Kiper
2017-02-13  4:23 ` [PATCH v3 0/10] " Pratyush Anand

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=1486764462-14176-7-git-send-email-eric.devolder@oracle.com \
    --to=eric.devolder@oracle.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=daniel.kiper@oracle.com \
    --cc=dyoung@redhat.com \
    --cc=horms@verge.net.au \
    --cc=kexec@lists.infradead.org \
    --cc=konrad.wilk@oracle.com \
    --cc=panand@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