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
..
2014-05-18 19:01:30 -07:00
2014-05-18 19:01:29 -07:00
2012-07-26 16:46:15 -07:00
2015-03-19 18:54:49 -07:00
2016-01-31 11:06:24 -08:00
2015-05-05 13:35:39 -06:00
2016-03-20 21:28:58 -07:00
2014-08-26 13:45:55 -04:00
2015-03-19 10:17:22 -05:00
2014-08-26 13:45:55 -04:00
2014-12-14 16:10:09 -08:00
2015-03-19 18:54:49 -07:00
2013-06-13 22:12:14 +01:00
2012-03-28 18:30:03 +01:00
2016-01-31 11:06:24 -08:00
2014-08-26 13:45:55 -04:00
2014-07-21 22:27:56 -07:00
2016-03-20 21:28:58 -07:00
2014-09-30 14:17:08 -07:00