Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Geoff Levand <geoff@infradead.org>
To: Anurup M <anurup.m@huawei.com>
Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>,
	"sanil.kumar@hisilicon.com" <sanil.kumar@hisilicon.com>,
	kexec@lists.infradead.org, dingtianhong@huawei.com
Subject: Re: Fwd: [PATCH] arm64: Read reg property based on address-cells value.
Date: Thu, 22 Jan 2015 14:37:43 -0800	[thread overview]
Message-ID: <1421966263.21823.6.camel@infradead.org> (raw)
In-Reply-To: <54C0D3AE.9040405@huawei.com>

Hi Anurup,

On Thu, 2015-01-22 at 16:10 +0530, Anurup M wrote:
>     I have faced an issue during dtb file matching for CPU reg property. The dtb file which
> I use has 32 bit value in the reg property as the #address-cells is 1. The kexec-tools code
> reads the reg as a 64bit values and reads a invalid value and hence the below comparison in
> the function fixup_cpu_nodes fails.

Thanks for reporting. I pushed out a fix very similar to yours.  I only
tested on a dtb with address-cells=2 though.  Let me know if it doesn't
work for you.

 git://git.kernel.org/pub/scm/linux/kernel/git/geoff/kexec-tools.git

-Geoff




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

      reply	other threads:[~2015-01-22 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1421913506-18587-1-git-send-email-anurup.m@huawei.com>
2015-01-22 10:40 ` Fwd: [PATCH] arm64: Read reg property based on address-cells value Anurup M
2015-01-22 22:37   ` Geoff Levand [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=1421966263.21823.6.camel@infradead.org \
    --to=geoff@infradead.org \
    --cc=anurup.m@huawei.com \
    --cc=dingtianhong@huawei.com \
    --cc=kexec@lists.infradead.org \
    --cc=sanil.kumar@hisilicon.com \
    --cc=takahiro.akashi@linaro.org \
    /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