Re: [RFC 01/23] ARM: LPAE: disable phys-to-virt patching on PAE systems

From: Cyril Chemparathy
Date: Tue Jul 24 2012 - 06:43:59 EST


Hi Catalin,

On 7/24/2012 5:41 AM, Catalin Marinas wrote:
On Tue, Jul 24, 2012 at 02:09:03AM +0100, Cyril Chemparathy wrote:
From: Vitaly Andrianov <vitalya@xxxxxx>

The current phys-to-virt patching mechanism is broken on PAE machines with
64-bit physical addressing. This patch disables the patching mechanism in
such configurations.

It may be broken, I don't remember whether I tested this feature. What's
the PHYS_OFFSET on your platform? Is it within the low 4GB range?


At boot time PHYS_OFFSET is 0x80000000, in the low 4G range. Subsequently we switch over to the high PHYS_OFFSET at 0x800000000 (see patch 23/23 of this series).

--
Thanks
- Cyril
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/