linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Add dtl_entry tracepoint
@ 2018-10-25 20:25 Naveen N. Rao
  2018-10-25 20:25 ` [PATCH v1 1/5] powerpc/pseries: Use macros for referring to the DTL enable mask Naveen N. Rao
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Naveen N. Rao @ 2018-10-25 20:25 UTC (permalink / raw)
  To: Michael Ellerman, Paul Mackerras, Nathan Fontenot, Jeremy Kerr,
	Steven Rostedt
  Cc: linuxppc-dev

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


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

end of thread, other threads:[~2018-10-26  7:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 20:25 [PATCH v1 0/5] Add dtl_entry tracepoint Naveen N. Rao
2018-10-25 20:25 ` [PATCH v1 1/5] powerpc/pseries: Use macros for referring to the DTL enable mask Naveen N. Rao
2018-10-25 20:25 ` [PATCH v1 2/5] powerpc/pseries: Do not save the previous DTL mask value Naveen N. Rao
2018-10-25 20:25 ` [PATCH v1 3/5] powerpc/pseries: Fix stolen time accounting when dtl debugfs is used Naveen N. Rao
2018-10-25 21:08   ` Paul Mackerras
2018-10-26  7:40     ` Naveen N. Rao
2018-10-25 20:25 ` [PATCH v1 4/5] powerpc/pseries: Factor out DTL buffer allocation and registration routines Naveen N. Rao
2018-10-25 20:25 ` [PATCH v1 5/5] powerpc/pseries: Introduce dtl_entry tracepoint Naveen N. Rao

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