xtensa: check TLB sanity on return to userspace
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 15 May 2013 15:34:05 +0000 (19:34 +0400)
committerChris Zankel <chris@zankel.net>
Mon, 8 Jul 2013 08:18:56 +0000 (01:18 -0700)
commita99e07ee5e887750f5136bc6799abe47a56fd2c9
tree9464580bafe4ff135db21a6fb2a5165445d7bdaf
parentc5a771d0678f9613e9f89cf1a5bdcfa5b08b225b
xtensa: check TLB sanity on return to userspace

- check that user TLB mappings correspond to the current page table;
- check that TLB mapping VPN is in the kernel/user address range
  in accordance with its ASID.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/Kconfig.debug
arch/xtensa/kernel/entry.S
arch/xtensa/mm/tlb.c