linux/arch
David S. Miller 4f6deb8cba sparc: Don't leak context bits into thread->fault_address
On pre-Niagara systems, we fetch the fault address on data TLB
exceptions from the TLB_TAG_ACCESS register.  But this register also
contains the context ID assosciated with the fault in the low 13 bits
of the register value.

This propagates into current_thread_info()->fault_address and can
cause trouble later on.

So clear the low 13-bits out of the TLB_TAG_ACCESS value in the cases
where it matters.

Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-27 17:50:26 -07:00
..
alpha mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
arc Disable "maybe-uninitialized" warning globally 2016-07-27 13:17:41 -07:00
arm New LED class driver: 2016-07-27 14:03:52 -07:00
arm64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-07-27 12:03:20 -07:00
avr32 mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
blackfin media updates for v4.8-rc1 2016-07-26 18:59:59 -07:00
c6x asm-generic patch for 4.7 2016-05-24 15:24:37 -07:00
cris mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
frv mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
h8300 locking/atomic: Remove linux/atomic.h:atomic_fetch_or() 2016-06-16 10:48:32 +02:00
hexagon Merge branch 'akpm' (patches from Andrew) 2016-07-26 19:55:54 -07:00
ia64 Merge branch 'akpm' (patches from Andrew) 2016-07-26 19:55:54 -07:00
m32r mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
m68k mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
metag mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
microblaze Merge branch 'akpm' (patches from Andrew) 2016-07-26 19:55:54 -07:00
mips spi: Updates for v4.8 2016-07-27 14:11:43 -07:00
mn10300 mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
nios2 mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
openrisc Merge branch 'akpm' (patches from Andrew) 2016-07-26 19:55:54 -07:00
parisc New LED class driver: 2016-07-27 14:03:52 -07:00
powerpc New LED class driver: 2016-07-27 14:03:52 -07:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-07-27 12:03:20 -07:00
score mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
sh Merge branch 'akpm' (patches from Andrew) 2016-07-26 19:55:54 -07:00
sparc sparc: Don't leak context bits into thread->fault_address 2016-07-27 17:50:26 -07:00
tile Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2016-07-27 10:54:11 -07:00
um Merge branch 'akpm' (patches from Andrew) 2016-07-26 19:55:54 -07:00
unicore32 New LED class driver: 2016-07-27 14:03:52 -07:00
x86 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-07-27 12:03:20 -07:00
xtensa mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
.gitignore
Kconfig Clarify naming of thread info/stack allocators 2016-06-24 15:09:37 -07:00