git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1918c41
)
microblaze: Change stack protection address to new stack address
author
Michal Simek
<michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000
(14:15 +0200)
committer
Michal Simek
<michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000
(14:15 +0200)
SLR low address is still setup to 0 that's why only high limit should be
updated. STACK_SIZE macro is present and could be possible used for
low address alignment but it is not done by this patch.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link:
https://lore.kernel.org/r/c00cb843df848703b760a65934ed3ce31fafcf19.1655299267.git.michal.simek@amd.com
arch/microblaze/cpu/start.S
patch
|
blob
|
history
diff --git
a/arch/microblaze/cpu/start.S
b/arch/microblaze/cpu/start.S
index
a35d8d8
..
2aae4a0
100644
(file)
--- a/
arch/microblaze/cpu/start.S
+++ b/
arch/microblaze/cpu/start.S
@@
-268,6
+268,7
@@
relocate_code:
* r7 - reloc_addr
*/
addi r1, r5, 0 /* Start to use new SP */
+ mts rshr, r1
addi r31, r6, 0 /* Start to use new GD */
add r23, r0, r7 /* Move reloc addr to r23 */