[v3][PATCH 7/8] book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET

Scott Wood scottwood at freescale.com
Wed Dec 18 14:48:49 EST 2013


On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote:
> Book3e is always aligned 1GB to create TLB so we should
> use (KERNELBASE - MEMORY_START) as VIRT_PHYS_OFFSET to
> get __pa/__va properly while boot kdump.

What if MEMORY_START - PHYSICAL_START >= 1 GiB?

What about the comment that says we can't use MEMORY_START before
parsing the device tree?

-Scott




More information about the Linuxppc-dev mailing list