Skip to content

RFC Add a tracepoint for DTL entries

Naveen N. Rao linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/pseries: Use macros for referring to the DTL enable maskarch/powerpc/include/asm/lppaca.h arch/powerpc/platforms/pseries/dtl.c arch/powerpc/platforms/pseries/lpar.c +1 more+14 -90 replies
2/4powerpc/pseries: Do not save the previous DTL mask valuearch/powerpc/platforms/pseries/dtl.c+1 -30 replies
3/4powerpc/pseries: Introduce helpers to change the DTL enable maskarch/powerpc/include/asm/lppaca.h arch/powerpc/platforms/pseries/dtl.c arch/powerpc/platforms/pseries/lpar.c +1 more+71 -40 replies
4/4powerpc/pseries: Introduce dtl_entry tracepointarch/powerpc/include/asm/trace.h arch/powerpc/kernel/time.c arch/powerpc/mm/numa.c+150 -60 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/4] Add a tracepoint for DTL entries

Add a tracepoint for the DTL entries to enable processing the DTL entries via the kernel tracing infrastructure. In addition to that, the tracpoint also exposes where a vcpu was dispatched in a SPLPAR environment, relative to the Power Hypervisor's idea of that vcpu's home node.

This is working fine for me, so posting this out to get some early feedback. The one aspect I need to look into is in terms of updating the pcpu associativity masks on appropriate events.

- Naveen

Naveen N. Rao (4):
powerpc/pseries: Use macros for referring to the DTL enable mask powerpc/pseries: Do not save the previous DTL mask value powerpc/pseries: Introduce helpers to change the DTL enable mask powerpc/pseries: Introduce dtl_entry tracepoint

 arch/powerpc/include/asm/lppaca.h      | 15 ++++
 arch/powerpc/include/asm/trace.h       | 53 +++++++++++++++
 arch/powerpc/kernel/time.c             |  9 +++
 arch/powerpc/mm/numa.c                 | 94 ++++++++++++++++++++++++--
 arch/powerpc/platforms/pseries/dtl.c   | 15 ++--
 arch/powerpc/platforms/pseries/lpar.c  | 64 +++++++++++++++++-
 arch/powerpc/platforms/pseries/setup.c |  2 +-
 7 files changed, 233 insertions(+), 19 deletions(-)
Signature · 1 line
2.18.0