]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: add missing isync to the cpu_reset TLB code
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Aug 2019 22:01:30 +0000 (15:01 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Aug 2019 22:05:48 +0000 (15:05 -0700)
commite81a798bd1dfa38da0382eb65ca129054bcfce57
tree3b5759dd18c3adf1974e5ee191ed42f75b283673
parenta2e8c383b17a2d6e840c741e443bf5c89e5e0a84
xtensa: add missing isync to the cpu_reset TLB code

ITLB entry modifications must be followed by the isync instruction
before the new entries are possibly used. cpu_reset lacks one isync
between ITLB way 6 initialization and jump to the identity mapping.
Add missing isync to xtensa cpu_reset.

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