Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits

From: Andrew Lunn
Date: Thu Mar 21 2013 - 16:15:53 EST


> /*
> - * 4 GB of plug-in RAM modules by default but only 3GB
> - * are visible, the amount of memory available can be
> - * changed by the bootloader according the size of the
> - * module actually plugged
> + * 8 GB of plug-in RAM modules by default.The amount
> + * of memory available can be changed by the
> + * bootloader according the size of the module
> + * actually plugged. Only 7GB are usable because
> + * addresses from 0xC0000000 to 0xffffffff are used by
> + * the internal registers of the SoC.
> */
> - reg = <0x00000000 0xC0000000>;
> + reg = <0x00000000 0x00000000 0x00000000 0xC0000000>,
> + <0x00000001 0x00000000 0x00000001 0x00000000>;
> +

Hi Gregory

Could you recommend a document which introduces LPAE.

Only being able to address 7GB seems a bit odd to me. I kind of
expected you set up the translation tables to map a page in the 32 bit
address range to any arbitrary page in the 40 bit address range. So
leaving 0xC0000000 to 0xffffffff in the 32bit address range clear is
easy. But why do you loose space in the 40bit address range?

Thanks
Andrew
--
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/