linux/arch/powerpc
Kajol Jain 5f0b48c6a1 powerpc/kvm: Add vpa latency counters to kvm_vcpu_arch
Commit e1f288d2f9 ("KVM: PPC: Book3S HV nestedv2: Add support
for reading VPA counters for pseries guests") introduced support for new
Virtual Process Area(VPA) based software counters. These counters are
useful when observing context switch latency of L1 <-> L2. It also
added access to counters in lppaca, which is good enough to understand
latency details per-cpu level. But to extend and aggregate
per-process level(qemu) or per-pid/tid level(vcpu), these
counters also needs to be added as part of kvm_vcpu_arch struct.
Additional code added to update these new kvm_vcpu_arch variables
in do_trace_nested_cs_time function.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Co-developed-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241118114114.208964-3-kjain@linux.ibm.com
2024-11-19 14:11:21 +11:00
..
boot powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00
configs powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00
crypto move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
include powerpc/kvm: Add vpa latency counters to kvm_vcpu_arch 2024-11-19 14:11:21 +11:00
kernel powerpc/Makefile: Allow overriding CPP 2024-11-15 11:59:55 +11:00
kexec powerpc/kexec: Fix return of uninitialized variable 2024-11-15 00:29:46 +11:00
kvm powerpc/kvm: Add vpa latency counters to kvm_vcpu_arch 2024-11-19 14:11:21 +11:00
lib powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static 2024-11-14 14:17:36 +11:00
math-emu powerpc/math-emu: Inhibit W=1 warnings 2022-09-08 11:11:18 +10:00
mm book3s64/hash: Early detect debug_pagealloc size requirement 2024-10-23 18:53:20 +11:00
net powerpc64/bpf: Add support for bpf trampolines 2024-10-31 11:00:55 +11:00
perf powerpc/perf: Add perf interface to expose vpa counters 2024-11-19 14:11:06 +11:00
platforms powerpc/perf: Add perf interface to expose vpa counters 2024-11-19 14:11:06 +11:00
purgatory Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
sysdev powerpc/xive: Use cpumask_intersects() 2024-11-14 22:43:52 +11:00
tools powerpc/ftrace: Fix ftrace bug with KASAN=y 2024-11-10 22:33:51 +11:00
xmon powerpc/xmon: symbol lookup length fixed 2024-11-14 22:36:14 +11:00
Kbuild powerpc64/ftrace: Move ftrace sequence out of line 2024-10-31 11:00:54 +11:00
Kconfig samples/ftrace: Add support for ftrace direct samples on powerpc 2024-10-31 11:00:55 +11:00
Kconfig.debug powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00
Makefile powerpc/Makefile: Allow overriding CPP 2024-11-15 11:59:55 +11:00
Makefile.postlink powerpc/ftrace: Add a postlink script to validate function tracer 2024-10-31 11:00:54 +11:00