summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds2019-08-17 02:27:55 +0200
committerLinus Torvalds2019-08-17 02:27:55 +0200
commit6e625a1a3f471d63989d3a66cdf6a0c307654848 (patch)
tree02f1e71eab7280762248880f0decdd1180a61c83
parentMerge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm6... (diff)
parentxtensa: add missing isync to the cpu_reset TLB code (diff)
downloadkernel-qcow2-linux-6e625a1a3f471d63989d3a66cdf6a0c307654848.tar.gz
kernel-qcow2-linux-6e625a1a3f471d63989d3a66cdf6a0c307654848.tar.xz
kernel-qcow2-linux-6e625a1a3f471d63989d3a66cdf6a0c307654848.zip
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"