[PATCH v1 0/5] Add dtl_entry tracepoint

Naveen N. Rao naveen.n.rao at linux.vnet.ibm.com
Fri Oct 26 07:25:41 AEDT 2018


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(-)

-- 
2.19.1



More information about the Linuxppc-dev mailing list