[PATCH v4 08/19] ARM: LPAE: Introduce the 3-level page table format definitions
Catalin Marinas
catalin.marinas at arm.com
Mon Mar 21 09:19:07 EDT 2011
On 21 March 2011 12:56, Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:
> On Mon, Mar 21, 2011 at 12:36:55PM +0000, Catalin Marinas wrote:
>> Any plans for the nopmd patches? I haven't seen them in -next or on the list.
>
> I dropped them again because of those pesky warnings, so again I'm not
> planning to push them this window as I don't wish to be deluged in
> people reporting the warnings.
>
> They really need fixing once we know how the LPAE stuff interacts with
> the change. At the moment I've no idea whether the existing section
> support ends up at pgd or pmd level with LPAE.
With LPAE, the section should be at the pmd level (2nd level page
table) as the PGDIR_SHIFT is 30. But if we standardise on using the
pmd in both cases, macros like pmd_val() would expand to the right
level with classic page tables (it goes up to pgd_val).
PMD_SHIFT also gets defined as PGDIR_SHIFT for the classic page
tables. One of my patches in the series converts the existing code to
PMD_SHIFT from PGDIR_SHIFT.
I'm happy to give this a try if you have some existing patches for the
classic page tables (I can even start from scratch but I don't want to
duplicate work).
--
Catalin
More information about the linux-arm-kernel
mailing list