Re: [PATCH] powerpc/stacktrace: fix raise_backtrace_ipi() logic

2021-06-07 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch writes: >> Hi Michael, >> >> Michael Ellerman writes: >>> Nathan Lynch writes: When smp_send_safe_nmi_ipi() indicates that the target CPU has responded to the IPI, skip the remote paca inspection fallback. Otherwise both the sending and tar

Re: [PATCH] powerpc/stacktrace: fix raise_backtrace_ipi() logic

2021-06-02 Thread Michael Ellerman
Nathan Lynch writes: > Hi Michael, > > Michael Ellerman writes: >> Nathan Lynch writes: >>> When smp_send_safe_nmi_ipi() indicates that the target CPU has >>> responded to the IPI, skip the remote paca inspection >>> fallback. Otherwise both the sending and target CPUs attempt the >>> backtrace,

Re: [PATCH] powerpc/stacktrace: fix raise_backtrace_ipi() logic

2021-06-02 Thread Nathan Lynch
Hi Michael, Michael Ellerman writes: > Nathan Lynch writes: >> When smp_send_safe_nmi_ipi() indicates that the target CPU has >> responded to the IPI, skip the remote paca inspection >> fallback. Otherwise both the sending and target CPUs attempt the >> backtrace, usually creating a misleading (

Re: [PATCH] powerpc/stacktrace: fix raise_backtrace_ipi() logic

2021-06-02 Thread Michael Ellerman
Nathan Lynch writes: > When smp_send_safe_nmi_ipi() indicates that the target CPU has > responded to the IPI, skip the remote paca inspection > fallback. Otherwise both the sending and target CPUs attempt the > backtrace, usually creating a misleading ("didn't respond to backtrace > IPI" is wrong)

[PATCH] powerpc/stacktrace: fix raise_backtrace_ipi() logic

2021-05-26 Thread Nathan Lynch
When smp_send_safe_nmi_ipi() indicates that the target CPU has responded to the IPI, skip the remote paca inspection fallback. Otherwise both the sending and target CPUs attempt the backtrace, usually creating a misleading ("didn't respond to backtrace IPI" is wrong) and interleaved mess: [ 1658.9