]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xtensa: fix TLB multihit exceptions
authorChris Zankel <chris@zankel.net>
Mon, 20 May 2013 18:09:13 +0000 (11:09 -0700)
committerChris Zankel <chris@zankel.net>
Mon, 20 May 2013 18:09:13 +0000 (11:09 -0700)
commit7711ece9b31f0f3cf15ca16005dfd78988ea8f7e
treebb4ba7b6e3a48f6fbaebcc4109453722f0cd42ef
parentf722406faae2d073cc1d01063d1123c35425939e
xtensa: fix TLB multihit exceptions

- set _PAGE_USER in the pte_clear to avoid having TLB multihit exceptions
  (see following threads for more details);
  http://lists.linux-xtensa.org/pipermail/linux-xtensa/Week-of-Mon-20130401/
  http://lists.linux-xtensa.org/pipermail/linux-xtensa/Week-of-Mon-20130408/
- improved documentation of the PTE layout
- fix PTE mapping for present and 'prot_none' pages for T1050 hw and earlier
- fix pte_file offset and size
- add check for the correct number of bits for swap type

CC: piet.delaney@gmail.com
CC: jcmvbkbc@gmail.com
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/pgtable.h