[PATCH] ARM: Add support for LPAE style CONTEXTIDR

Will Deacon will.deacon at arm.com
Mon Jun 24 10:04:24 EDT 2013


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 <cov at codeaurora.org>
> ---
>  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



More information about the linux-arm-kernel mailing list