diff options
author | 2016-07-27 17:50:26 -0700 | |
---|---|---|
committer | 2016-07-27 17:50:26 -0700 | |
commit | 4f6deb8cbab532a8d7250bc09234c1795ecb5e2c (patch) | |
tree | 96a786e93f7da67cec53197cd148da61789b5ea4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'hsi-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi (diff) | |
download | wireguard-linux-4f6deb8cbab532a8d7250bc09234c1795ecb5e2c.tar.xz wireguard-linux-4f6deb8cbab532a8d7250bc09234c1795ecb5e2c.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions