Skip to content

Commit

Permalink
ARC: entry: EV_MachineCheck dont re-read ECR
Browse files Browse the repository at this point in the history
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
  • Loading branch information
Vineet Gupta committed Aug 18, 2023
1 parent 6b606c8 commit 0e93eca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/arc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,15 @@ END(instr_service)

ENTRY(EV_MachineCheck)

EXCEPTION_PROLOGUE
EXCEPTION_PROLOGUE ; ECR returned in r10

lr r2, [ecr]
lr r0, [efa]
mov r1, sp

; MC excpetions disable MMU
ARC_MMU_REENABLE r3

lsr r3, r2, 8
lsr r3, r10, 8
bmsk r3, r3, 7
brne r3, ECR_C_MCHK_DUP_TLB, 1f

Expand Down

0 comments on commit 0e93eca

Please sign in to comment.