projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d45331b
)
xtensa: add missing isync to the cpu_reset TLB code
author
Max Filippov
<
[email protected]
>
Mon, 12 Aug 2019 22:01:30 +0000
(15:01 -0700)
committer
Max Filippov
<
[email protected]
>
Mon, 12 Aug 2019 22:05:48 +0000
(15:05 -0700)
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:
[email protected]
Signed-off-by: Max Filippov <
[email protected]
>
arch/xtensa/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/setup.c
b/arch/xtensa/kernel/setup.c
index 5cb8a62e091c77619081973fe488b04a79437dd7..7c3106093c7584e44daaa2e6af660afa05ff4132 100644
(file)
--- 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"