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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

