powerpc/book3s: Don't clear MSR_RI in hmi handler.
In HMI interrupt handler we don't touch SRR0/SRR1, instead we touch HSRR0/HSRR1. Hence we don't need to clear MSR_RI bit. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
1028ccf560
commit
c675c7db62
1 changed files with 0 additions and 5 deletions
|
@ -1270,11 +1270,6 @@ hmi_exception_early:
|
||||||
addi r3,r1,STACK_FRAME_OVERHEAD
|
addi r3,r1,STACK_FRAME_OVERHEAD
|
||||||
bl hmi_exception_realmode
|
bl hmi_exception_realmode
|
||||||
/* Windup the stack. */
|
/* Windup the stack. */
|
||||||
/* Clear MSR_RI before setting SRR0 and SRR1. */
|
|
||||||
li r0,MSR_RI
|
|
||||||
mfmsr r9 /* get MSR value */
|
|
||||||
andc r9,r9,r0
|
|
||||||
mtmsrd r9,1 /* Clear MSR_RI */
|
|
||||||
/* Move original HSRR0 and HSRR1 into the respective regs */
|
/* Move original HSRR0 and HSRR1 into the respective regs */
|
||||||
ld r9,_MSR(r1)
|
ld r9,_MSR(r1)
|
||||||
mtspr SPRN_HSRR1,r9
|
mtspr SPRN_HSRR1,r9
|
||||||
|
|
Loading…
Reference in a new issue