powerpc/64s/interrupt: Fix stack frame regs marker
authorNicholas Piggin <npiggin@gmail.com>
Tue, 4 Oct 2022 13:29:52 +0000 (23:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 5 Oct 2022 00:09:22 +0000 (11:09 +1100)
The value of the stack frame regs marker that gets saved on the stack in
interrupt entry code does not match the regs marker value, which breaks
stack frame marker matching.

This stray instruction looks to have been introduced in a mismerge.

Fixes: bf75a3258a403 ("powerpc/64s/interrupt: move early boot ILE fixup into a macro")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Mismerge by yours truly -_-]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221004132952.984341-1-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S

index 87ce007..5381a43 100644 (file)
@@ -590,7 +590,6 @@ END_FTR_SECTION_IFSET(CPU_FTR_CFAR)
        std     r9,_TRAP(r1)            /* set trap number              */
        li      r10,0
        LOAD_REG_IMMEDIATE(r11, STACK_FRAME_REGS_MARKER)
-       rldimi  r11, r11, 32, 0
        std     r10,RESULT(r1)          /* clear regs->result           */
        std     r11,STACK_FRAME_OVERHEAD-16(r1) /* mark the frame       */
 .endm