From mboxrd@z Thu Jan 1 00:00:00 1970 From: catalin.marinas@arm.com (Catalin Marinas) Date: Fri, 17 Aug 2012 10:21:06 +0100 Subject: [PATCH v2 04/31] arm64: MMU definitions In-Reply-To: <20120817090451.GP11011@atomide.com> References: <1344966752-16102-1-git-send-email-catalin.marinas@arm.com> <1344966752-16102-5-git-send-email-catalin.marinas@arm.com> <20120817090451.GP11011@atomide.com> Message-ID: <20120817092106.GA24389@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Aug 17, 2012 at 10:04:52AM +0100, Tony Lindgren wrote: > * Catalin Marinas [120814 10:57]: > > The virtual memory layout is described in > > Documentation/arm64/memory.txt. This patch adds the MMU definitions for > > the 4KB and 64KB translation table configurations. The SECTION_SIZE is > > 2MB with 4KB page and 512MB with 64KB page configuration. > > > > PHYS_OFFSET is calculated at run-time and stored in a variable (no > > run-time code patching at this stage). > > Care to clarify this part a bit? Is the memory standardized somehow > now and not needed? Or do we still need to add that for various SoCs > later on? The memory is not standardised but we have FDT to fully specify it. The PHYS_OFFSET does not need to be defined, it is automatically detected at boo-time based on the kernel load address and stored in a variable to be used later. > Other than that: > > Acked-by: Tony Lindgren Thanks. -- Catalin