[PATCH v3 1/7] ARM: Align machine_desc.phys_io to a 1MB section

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jun 21 05:35:30 EDT 2010


On Mon, Jun 21, 2010 at 10:13:31AM +0100, Catalin Marinas wrote:
> Platforms like RealView don't pass a section-aligned pointer via the
> machine_desc structure. This patch aligns the pointer in the
> __create_page_tables function. Reported by Tony Thompson.

I still say this is the wrong way.  As I've said before, please fix it
at the machine_desc initialization point.  If you want, pass it as the
section frame number itself (address >> 20) rather than the address to
allow for more addressing space.



More information about the linux-arm-kernel mailing list