]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6420e1b2eb98e2ba325dce5313a4ae158d8cd978
tree9464580bafe4ff135db21a6fb2a5165445d7bdaf
parentae9dbfb15a07e9ad574fd6ac46a8bca689eae7ea
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