From: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>,
Nathan Fontenot <nfont@linux.vnet.ibm.com>,
Michael Bringmann <mwb@linux.vnet.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: [RFC PATCH 0/4] Add a tracepoint for DTL entries
Date: Wed, 19 Sep 2018 13:38:17 +0530 [thread overview]
Message-ID: <cover.1537343904.git.naveen.n.rao@linux.vnet.ibm.com> (raw)
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(-)
--
2.18.0
next reply other threads:[~2018-09-19 8:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-19 8:08 Naveen N. Rao [this message]
2018-09-19 8:08 ` [RFC PATCH 1/4] powerpc/pseries: Use macros for referring to the DTL enable mask Naveen N. Rao
2018-09-19 8:08 ` [RFC PATCH 2/4] powerpc/pseries: Do not save the previous DTL mask value Naveen N. Rao
2018-09-19 8:08 ` [RFC PATCH 3/4] powerpc/pseries: Introduce helpers to change the DTL enable mask Naveen N. Rao
2018-09-19 8:08 ` [RFC PATCH 4/4] powerpc/pseries: Introduce dtl_entry tracepoint Naveen N. Rao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1537343904.git.naveen.n.rao@linux.vnet.ibm.com \
--to=naveen.n.rao@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=mwb@linux.vnet.ibm.com \
--cc=nfont@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).