projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b835d4
)
xtensa: add missing XCHAL_HAVE_WINDOWED check
author
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 28 Dec 2021 09:20:20 +0000
(
01:20
-0800)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Wed, 9 Mar 2022 21:59:15 +0000
(13:59 -0800)
Add missing preprocessor conditions to secondary reset vector code.
Fixes: 09af39f649da ("xtensa: use register window specific opcodes only when present")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/mxhead.S
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/mxhead.S
b/arch/xtensa/kernel/mxhead.S
index 9f3843742726484c40dda3a357f0ddcb9043998d..b702c0908b1f6537a8ea5be7bd8ac077dab83b7a 100644
(file)
--- a/
arch/xtensa/kernel/mxhead.S
+++ b/
arch/xtensa/kernel/mxhead.S
@@
-37,11
+37,13
@@
_SetupOCD:
* xt-gdb to single step via DEBUG exceptions received directly
* by ocd.
*/
+#if XCHAL_HAVE_WINDOWED
movi a1, 1
movi a0, 0
wsr a1, windowstart
wsr a0, windowbase
rsync
+#endif
movi a1, LOCKLEVEL
wsr a1, ps