Skip to content

Add dtl_entry tracepoint

Naveen N. Rao linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc/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/5powerpc/pseries: Do not save the previous DTL mask valuearch/powerpc/platforms/pseries/dtl.c+1 -30 replies
3/5powerpc/pseries: Fix stolen time accounting when dtl debugfs is usedarch/powerpc/kernel/time.c+5 -22 replies
4/5powerpc/pseries: Factor out DTL buffer allocation and registration routinesarch/powerpc/include/asm/plpar_wrappers.h arch/powerpc/platforms/pseries/lpar.c arch/powerpc/platforms/pseries/setup.c+52 -500 replies
5/5powerpc/pseries: Introduce dtl_entry tracepointarch/powerpc/include/asm/plpar_wrappers.h arch/powerpc/include/asm/trace.h arch/powerpc/kernel/entry_64.S +3 more+434 -80 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/5] Add dtl_entry tracepoint

This is v1 of the patches for providing a tracepoint for processing the dispatch trace log entries from the hypervisor in a shared processor LPAR. The previous RFC can be found here:
https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=66340

Since the RFC, this series has been expanded/generalized to support !CONFIG_VIRT_CPU_ACCOUNTING_NATIVE and has been tested in different configurations. The dispatch distance calculation has also been updated to use the platform provided information better.

Also, patch 3 is new and fixes an issue with stolen time accounting when the dtl debugfs interface is in use.

- Naveen

Naveen N. Rao (5):
powerpc/pseries: Use macros for referring to the DTL enable mask powerpc/pseries: Do not save the previous DTL mask value powerpc/pseries: Fix stolen time accounting when dtl debugfs is used powerpc/pseries: Factor out DTL buffer allocation and registration
routines
powerpc/pseries: Introduce dtl_entry tracepoint

 arch/powerpc/include/asm/lppaca.h         |  11 +
 arch/powerpc/include/asm/plpar_wrappers.h |   9 +
 arch/powerpc/include/asm/trace.h          |  55 +++++
 arch/powerpc/kernel/entry_64.S            |  39 ++++
 arch/powerpc/kernel/time.c                |   7 +-
 arch/powerpc/mm/numa.c                    | 144 ++++++++++++-
 arch/powerpc/platforms/pseries/dtl.c      |  22 +-
 arch/powerpc/platforms/pseries/lpar.c     | 249 ++++++++++++++++++++--
 arch/powerpc/platforms/pseries/setup.c    |  34 +--
 9 files changed, 502 insertions(+), 68 deletions(-)
Signature · 1 line
2.19.1