Skip to content

Commit 3590c80

Browse files
Wayne Renioannisg
authored andcommitted
arch: arc: for fast irq ERET has no copy of ilink
we should not rely on that eret has a copy of ilink in fast irq handling. This will cause crash for hs cores. Signed-off-by: Wayne Ren <[email protected]>
1 parent 44c917e commit 3590c80

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arc/core/fast_irq.S

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ _firq_no_reschedule:
178178
#if CONFIG_RGF_NUM_BANKS == 1
179179
_pop_irq_stack_frame
180180
#endif
181-
lr ilink, [_ARC_V2_ERET]
182181
rtie
183182

184183
#ifdef CONFIG_PREEMPT_ENABLED
@@ -219,7 +218,6 @@ _firq_reschedule:
219218
lr r0, [_ARC_V2_STATUS32_P0]
220219
st_s r0, [sp, ___isf_t_status32_OFFSET]
221220

222-
lr ilink, [_ARC_V2_ERET]
223221
st ilink, [sp, ___isf_t_pc_OFFSET] /* ilink into pc */
224222
#ifdef CONFIG_SMP
225223
/*

0 commit comments

Comments
 (0)