summaryrefslogtreecommitdiff
path: root/Documentation/pcmcia
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-11-14 00:18:31 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2019-11-26 22:33:39 +0300
commit36de10c4788efc6efe6ff9aa10d38cb7eea4c818 (patch)
tree3f76669fade798bb5e57154d69c00d6a09570600 /Documentation/pcmcia
parentf5ee2567921dec4f489c16d4fe22c3a7222d0ce6 (diff)
downloadlinux-36de10c4788efc6efe6ff9aa10d38cb7eea4c818.tar.xz
xtensa: fix TLB sanity checker
Virtual and translated addresses retrieved by the xtensa TLB sanity checker must be consistent, i.e. correspond to the same state of the checked TLB entry. KASAN shadow memory is mapped dynamically using auto-refill TLB entries and thus may change TLB state between the virtual and translated address retrieval, resulting in false TLB insanity report. Move read_xtlb_translation close to read_xtlb_virtual to make sure that read values are consistent. Cc: stable@vger.kernel.org Fixes: a99e07ee5e88 ("xtensa: check TLB sanity on return to userspace") Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'Documentation/pcmcia')
0 files changed, 0 insertions, 0 deletions