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(-)
--
2.53.0
--
Teddy Astie | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech