Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: Mahesh J Salgaonkar <mahesh@linux.vnet.ibm.com>
Cc: Kexec-ml <kexec@lists.infradead.org>
Subject: Re: [PATCH] kexec: Fix add_usable_memory to use buf of type uint64_t.
Date: Fri, 6 Dec 2013 18:25:16 +0900	[thread overview]
Message-ID: <20131206092516.GA1107@verge.net.au> (raw)
In-Reply-To: <20131205192530.1961.78838.stgit@mars>

On Fri, Dec 06, 2013 at 12:55:30AM +0530, Mahesh J Salgaonkar wrote:
> From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
> 
> A switchover from /kexec/arch/ppc64/fs2dt.c to common code under
> /kexec/fs2dt.c broke the kdump on ppc64. The function add_usable_memory()
> assumes that 'memory@*' node exports two 32bit values and fails
> to populate mem ranges correctly. On ppc64, 'memory@*' exports two 64bit
> values as below:
> 
> # hexdump /proc/device-tree/memory\@0/reg
> 0000000 0000 0000 0000 0000 0000 0000 0800 0000
> 0000010
> #
> 
> This patch fixes add_usable_memory() to use buf[2] of type uint64_t.
> 
> Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>

Thanks, applied.

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

      reply	other threads:[~2013-12-06  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 19:25 [PATCH] kexec: Fix add_usable_memory to use buf of type uint64_t Mahesh J Salgaonkar
2013-12-06  9:25 ` Simon Horman [this message]

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=20131206092516.GA1107@verge.net.au \
    --to=horms@verge.net.au \
    --cc=kexec@lists.infradead.org \
    --cc=mahesh@linux.vnet.ibm.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