Skip to content

RFC reworking cause_ipi and adding global doorbell support

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/64s: change the doorbell IPI calling conventionarch/powerpc/include/asm/dbell.h arch/powerpc/include/asm/smp.h arch/powerpc/include/asm/xics.h +10 more+64 -820 replies
2/2powerpc/64s: use global doorbell on POWER9 in HV modearch/powerpc/include/asm/dbell.h arch/powerpc/include/asm/smp.h arch/powerpc/kernel/dbell.c +3 more+69 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/2] reworking cause_ipi and adding global doorbell support

Hi,

Just after the previous two fixes, I would like to propose changing the way we do doorbell vs interrupt controller IPIs, and add support for global doorbells supported by POWER9 in HV mode.

After this, the platform code knows about doorbells and interrupt controller IPIs, rather than they know about each other.

Thanks,
Nick

Nicholas Piggin (2):
powerpc/64s: change the doorbell IPI calling convention powerpc/64s: use global doorbell on POWER9 in HV mode

 arch/powerpc/include/asm/dbell.h       | 38 ++++++++++++++++++++++-----
 arch/powerpc/include/asm/smp.h         |  4 +--
 arch/powerpc/include/asm/xics.h        |  2 +-
 arch/powerpc/kernel/dbell.c            | 47 ++++++++++++++++++++++------------
 arch/powerpc/kernel/smp.c              | 27 ++++++++++---------
 arch/powerpc/platforms/85xx/smp.c      |  9 +------
 arch/powerpc/platforms/powermac/smp.c  |  2 +-
 arch/powerpc/platforms/powernv/smp.c   | 32 +++++++++++++++++------
 arch/powerpc/platforms/pseries/smp.c   | 28 ++++++++------------
 arch/powerpc/sysdev/xics/icp-hv.c      |  2 +-
 arch/powerpc/sysdev/xics/icp-native.c  | 12 +--------
 arch/powerpc/sysdev/xics/icp-opal.c    |  2 +-
 arch/powerpc/sysdev/xics/xics-common.c |  3 ---
 13 files changed, 118 insertions(+), 90 deletions(-)
Signature · 1 line
2.11.0