]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Revert "ARM: 6944/1: mm: allow ASID 0 to be allocated to tasks"
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Jun 2011 09:12:41 +0000 (10:12 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Jun 2011 13:43:55 +0000 (14:43 +0100)
commit4931e47ef4006ec0e1e0c5e02df9a79e39b56b36
tree328068c32a5896eba8ba0675d3a1e0ad36789c4c
parent48c427253e5416897ad1f24c6c36a5a5780fb205
Revert "ARM: 6944/1: mm: allow ASID 0 to be allocated to tasks"

This reverts commit 45b95235b0ac86cef2ad4480b0618b8778847479.

Will Deacon reports that:

 In 52af9c6c ("ARM: 6943/1: mm: use TTBR1 instead of reserved context ID")
 I updated the ASID rollover code to use only the kernel page tables
 whilst updating the ASID.

 Unfortunately, the code to restore the user page tables was part of a
 later patch which isn't yet in mainline, so this leaves the code
 quite broken.

We're also in the process of eliminating __ARCH_WANT_INTERRUPTS_ON_CTXSW
from ARM, so lets revert these until we can properly sort out what we're
doing with the context switching.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/context.c