Skip to content

Intel vPMU improvements

Teddy Astie xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/vpmu: Expose up to 8 Intel event selectors in PV Dom0xen/arch/x86/pv/emul-priv-op.c+2 -21 reply
2/6x86/vpmu: Expose PEBS and DS area in PV modexen/arch/x86/pv/emul-priv-op.c+4 -06 replies
3/6x86: Define some Intel vPMU leafsxen/arch/x86/cpu/vpmu_intel.c xen/arch/x86/domain.c xen/include/xen/lib/x86/cpu-policy.h+12 -45 replies
4/6x86/vpmu: Sanitise Intel PMU versionxen/arch/x86/cpu-policy.c xen/arch/x86/cpu/vpmu_intel.c+34 -32 replies
5/6x86/vpmu: Limit to using supported general/fixed countersxen/arch/x86/cpu-policy.c xen/arch/x86/cpu/vpmu_intel.c+21 -01 reply
6/6x86/vpmu: Allow PMU version 6xen/arch/x86/cpu/vpmu_intel.c+2 -11 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJan Beulich
1/6R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Intel vPMU improvements

First patch fix a problem that prevents vPMU from properly working with a PV domain on a processor that doesn't have hyperthreading.

The second patch adds a missing PEBS/DS_AREA MSR handler for PV.

The next patches tries to introduce a proper CPUID handling and restrict some hardware limits to Xen ones.

Last patch allow vPMU to work with PMU version 6 (Intel Core Ultra and alike).

Teddy Astie (6):
x86/vpmu: Expose up to 8 Intel event selectors in PV Dom0 x86/vpmu: Expose PEBS and DS area in PV mode
x86: Define some Intel vPMU leafs
x86/vpmu: Sanitise Intel PMU version
x86/vpmu: Limit to using supported general/fixed counters x86/vpmu: Allow PMU version 6

 xen/arch/x86/cpu-policy.c            | 39 +++++++++++++++++++++++++++-
 xen/arch/x86/cpu/vpmu_intel.c        | 24 ++++++++++++++---
 xen/arch/x86/domain.c                |  2 +-
 xen/arch/x86/pv/emul-priv-op.c       |  8 ++++--
 xen/include/xen/lib/x86/cpu-policy.h | 10 ++++++-
 5 files changed, 74 insertions(+), 9 deletions(-)
Signature · 10 lines
2.53.0



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech