Re: [PATCH 00/12] Fixing TI Keystone2 kexec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH 00/12] Fixing TI Keystone2 kexec
- From: Dave Young <dyoung@xxxxxxxxxx>
- Date: Wed, 11 May 2016 16:29:23 +0800
- Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, Mark Rutland <mark.rutland@xxxxxxx>, devicetree@xxxxxxxxxxxxxxx, Tony Luck <tony.luck@xxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linux-doc@xxxxxxxxxxxxxxx, Pawel Moll <pawel.moll@xxxxxxx>, Jonathan Corbet <corbet@xxxxxxx>, Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx>, kexec@xxxxxxxxxxxxxxxxxxx, Fenghua Yu <fenghua.yu@xxxxxxxxx>, Haren Myneni <hbabu@xxxxxxxxxx>, Rob Herring <robh+dt@xxxxxxxxxx>, Eric Biederman <ebiederm@xxxxxxxxxxxx>, Santosh Shilimkar <ssantosh@xxxxxxxxxx>, Kumar Gala <galak@xxxxxxxxxxxxxx>, Vivek Goyal <vgoyal@xxxxxxxxxx>
- In-reply-to: <20160428092644.GX19428@n2100.arm.linux.org.uk>
- List-id: <linux-ia64.vger.kernel.org>
- References: <20160428092644.GX19428@n2100.arm.linux.org.uk>
- User-agent: Mutt/1.5.24 (2015-08-30)
Hi, Russell
On 04/28/16 at 10:26am, Russell King - ARM Linux wrote:
> These changes are required for TI Keystone2 kexec to be functional. TI
> Keystone2 has the run-time view of physical memory above 4GiB, but with
> a boot time alias below 4GiB which can only be used during the early
> boot.
>
> This means we need to translate run-time physical addresses (which the
> kernel uses) to boot-time physical addresses, which, having discussed
> with Eric, is what the kexec tools and kexec kernel API requires.
>
> We publish a special set of boot time resources in /proc/iomem, which
> the (modified) kexec tools look for in preference to the normal resources.
> Hence, if these are found, the kexec tools make use of these resources,
> and thus kexec tools use the boot-time view of physical memory.
I think getting memory ranges from device tree will be better than
adding more stuff to /proc/iomem. Geoff's arm64 kexec patches is using dtb
you can refer to the patchset.
Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]