summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-08-16 17:27:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-08-16 17:27:55 -0700
commit6e625a1a3f471d63989d3a66cdf6a0c307654848 (patch)
tree02f1e71eab7280762248880f0decdd1180a61c83
parentb7e7c85dc7b0ea5ff821756c331489e3b151eed1 (diff)
parentcd8869f4cb257f22b89495ca40f5281e58ba359c (diff)
downloadlinux-6e625a1a3f471d63989d3a66cdf6a0c307654848.tar.bz2
Merge tag 'xtensa-20190816' of git://github.com/jcmvbkbc/linux-xtensa
Pull Xtensa fix from Max Filippov: "Add missing isync into cpu_reset to make sure ITLB changes are effective" * tag 'xtensa-20190816' of git://github.com/jcmvbkbc/linux-xtensa: xtensa: add missing isync to the cpu_reset TLB code
-rw-r--r--arch/xtensa/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c
index 5cb8a62e091c..7c3106093c75 100644
--- a/arch/xtensa/kernel/setup.c
+++ b/arch/xtensa/kernel/setup.c
@@ -511,6 +511,7 @@ void cpu_reset(void)
"add %2, %2, %7\n\t"
"addi %0, %0, -1\n\t"
"bnez %0, 1b\n\t"
+ "isync\n\t"
/* Jump to identity mapping */
"jx %3\n"
"2:\n\t"