Fwd: [PATCH] arm64: Read reg property based on address-cells value.

Geoff Levand geoff at infradead.org
Thu Jan 22 14:37:43 PST 2015


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






More information about the kexec mailing list