linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] Improving debugging with NMIs
@ 2016-12-19 18:30 Nicholas Piggin
  2016-12-19 18:30 ` [PATCH 01/10] powerpc/64s: add exception macro that does not enable RI Nicholas Piggin
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Nicholas Piggin @ 2016-12-19 18:30 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Nicholas Piggin

Hi,

These patches have been posted a few times before. Since then
I've split them up and tried to simplify the NMI IPI stuff as
much as possible.

I've been testing using David Gibson's QEMU branch ppc-for-2.9,
which implements the required hcall.

Thanks,
Nick

Nicholas Piggin (10):
  powerpc/64s: add exception macro that does not enable RI
  powerpc/64s: exception macro for stack frame and initial register save
  powerpc/64s: fix system reset vs general interrupt reentrancy
  powerpc/64s: disallow system reset vs system reset reentrancy
  powerpc/64s: dedicated system reset interrupt stack
  powerpc: nmi_enter for system reset
  powerpc: add NMI IPI infrastructure
  powerpc: add struct smp_ops_t.cause_nmi_ipi operation
  powerpc/pseries: implement NMI IPI with H_SIGNAL_SYS_RESET
  powerpc: xmon wait for secondaries before sending IPI

 arch/powerpc/Kconfig                      |   5 +
 arch/powerpc/include/asm/exception-64s.h  |  69 +++++++--
 arch/powerpc/include/asm/paca.h           |  14 +-
 arch/powerpc/include/asm/smp.h            |  15 +-
 arch/powerpc/kernel/asm-offsets.c         |   5 +-
 arch/powerpc/kernel/exceptions-64s.S      |  72 +++++----
 arch/powerpc/kernel/setup_64.c            |   5 +
 arch/powerpc/kernel/smp.c                 | 250 +++++++++++++++++++++++++-----
 arch/powerpc/kernel/traps.c               |  19 ++-
 arch/powerpc/platforms/85xx/smp.c         |   1 +
 arch/powerpc/platforms/86xx/mpc86xx_smp.c |   1 +
 arch/powerpc/platforms/cell/interrupt.c   |   2 +-
 arch/powerpc/platforms/chrp/smp.c         |   1 +
 arch/powerpc/platforms/powermac/smp.c     |   1 +
 arch/powerpc/platforms/powernv/smp.c      |   1 +
 arch/powerpc/platforms/ps3/smp.c          |   4 +-
 arch/powerpc/platforms/pseries/ras.c      |   4 +
 arch/powerpc/platforms/pseries/smp.c      |  22 +++
 arch/powerpc/xmon/xmon.c                  |  15 +-
 19 files changed, 418 insertions(+), 88 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-05-01  2:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-19 18:30 [PATCH 00/10] Improving debugging with NMIs Nicholas Piggin
2016-12-19 18:30 ` [PATCH 01/10] powerpc/64s: add exception macro that does not enable RI Nicholas Piggin
2017-05-01  2:58   ` [01/10] " Michael Ellerman
2016-12-19 18:30 ` [PATCH 02/10] powerpc/64s: exception macro for stack frame and initial register save Nicholas Piggin
2016-12-19 18:30 ` [PATCH 03/10] powerpc/64s: fix system reset vs general interrupt reentrancy Nicholas Piggin
2016-12-19 18:30 ` [PATCH 04/10] powerpc/64s: disallow system reset vs system reset reentrancy Nicholas Piggin
2016-12-19 18:30 ` [PATCH 05/10] powerpc/64s: dedicated system reset interrupt stack Nicholas Piggin
2016-12-19 18:30 ` [PATCH 06/10] powerpc: nmi_enter for system reset Nicholas Piggin
2017-02-07  4:06   ` Michael Ellerman
2016-12-19 18:30 ` [PATCH 07/10] powerpc: add NMI IPI infrastructure Nicholas Piggin
2017-02-03 11:45   ` Nicholas Piggin
2017-02-04  2:49     ` Nicholas Piggin
2016-12-19 18:30 ` [PATCH 08/10] powerpc: add struct smp_ops_t.cause_nmi_ipi operation Nicholas Piggin
2016-12-19 18:30 ` [PATCH 09/10] powerpc/pseries: implement NMI IPI with H_SIGNAL_SYS_RESET Nicholas Piggin
2016-12-19 18:30 ` [PATCH 10/10] powerpc: xmon wait for secondaries before sending IPI Nicholas Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).