commit b3a977b224 {ARM: Better virt_to_page() handling} breaks Keystone boot

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Apr 12 01:46:30 PDT 2014


On Fri, Apr 11, 2014 at 09:16:40PM -0400, Santosh Shilimkar wrote:
> +	if (mem_start < KEYSTONE_HIGH_PHYS_START ||
> +	    mem_end   > KEYSTONE_HIGH_PHYS_END) {
> +		pr_crit("Invalid address space for memory (%08llx-%08llx)\n",
> +		      (u64)mem_start, (u64)mem_end);
> +	}
> +
> +	offset += KEYSTONE_HIGH_PHYS_START;
> +	__pv_phys_offset = offset;

Right, so this will create a link error, and needs to become:

	__pv_phys_pfn_offset = offset >> PAGE_SHIFT;

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.



More information about the linux-arm-kernel mailing list