From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753415Ab1CUNTJ (ORCPT ); Mon, 21 Mar 2011 09:19:09 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:46226 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753287Ab1CUNTI convert rfc822-to-8bit (ORCPT ); Mon, 21 Mar 2011 09:19:08 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VwDQu1zfIll0RAmbwzeQGvEbDTsoGhbV8Lke9u9UuzqiTRmHRXLt1xrQGWeD7w6DTq KSWMvekN5fKcYFeCTobVfL/os+XPTNXletuedaKk/Rt5DG84ZGIBBuQYbbUxWUd6oHmY iSpAu5CIIaepjmKCfWETaVITmP8M1yJBu0+xE= MIME-Version: 1.0 In-Reply-To: <20110321125606.GC22222@n2100.arm.linux.org.uk> References: <1295891761-18366-1-git-send-email-catalin.marinas@arm.com> <1295891761-18366-9-git-send-email-catalin.marinas@arm.com> <20110124214225.GO24104@n2100.arm.linux.org.uk> <20110321125606.GC22222@n2100.arm.linux.org.uk> Date: Mon, 21 Mar 2011 13:19:07 +0000 X-Google-Sender-Auth: DN--ww7gQSeHPamwbEpgpmSStDQ Message-ID: Subject: Re: [PATCH v4 08/19] ARM: LPAE: Introduce the 3-level page table format definitions From: Catalin Marinas To: Russell King - ARM Linux Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nick Piggin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21 March 2011 12:56, Russell King - ARM Linux 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