Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751444Ab3FXOFE (ORCPT ); Mon, 24 Jun 2013 10:05:04 -0400 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:38451 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750845Ab3FXOFC (ORCPT ); Mon, 24 Jun 2013 10:05:02 -0400 Date: Mon, 24 Jun 2013 15:04:24 +0100 From: Will Deacon To: Christopher Covington Cc: "linux-arm-kernel@lists.infradead.org" , Russell King , Catalin Marinas , Nicolas Pitre , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] ARM: Add support for LPAE style CONTEXTIDR Message-ID: <20130624140424.GA24861@mudshark.cambridge.arm.com> References: <1372080405-13365-1-git-send-email-cov@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1372080405-13365-1-git-send-email-cov@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 24 Hi Christopher, On Mon, Jun 24, 2013 at 02:26:45PM +0100, Christopher Covington wrote: > Using the long-descriptor translation table format changes > the layout of the CONTEXTIDR register. > > Signed-off-by: Christopher Covington > --- > arch/arm/mm/context.c | 37 +++++++++++++++++++++++++++---------- > 1 file changed, 27 insertions(+), 10 deletions(-) Hmm, I'd deliberately written the code as-is, so that debuggers wouldn't need context-sensitive parsing of the contextidr register depending on the type of page tables in use. What's the advantage of this approach, other than you get an extra byte's worth of PID? Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/