xtensa: disable preemption around cache alias management calls
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 16 Nov 2020 09:38:59 +0000 (01:38 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 16 Nov 2020 10:13:16 +0000 (02:13 -0800)
commit3a860d165eb5f4d7cf0bf81ef6a5b5c5e1754422
treeaf225f8ce0d223856f331d27f095df864f6f6f1d
parent481535c5b41d191b22775a6873de5ec0e1cdced1
xtensa: disable preemption around cache alias management calls

Although cache alias management calls set up and tear down TLB entries
and fast_second_level_miss is able to restore TLB entry should it be
evicted they absolutely cannot preempt each other because they use the
same TLBTEMP area for different purposes.
Disable preemption around all cache alias management calls to enforce
that.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/mm/cache.c