xen/acpi: introduce cppc performance hypercall
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 3 repliesIn review
- v24 patches 6 repliesSuperseded
- v14 patches 3 repliesSuperseded
v2 -> v1 from the cover letter
- rebase to the latest v3 version of "xen/acpi: upload power and performance related data from a PVH dom0"
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xen/acpi: upload power and performance related data from a PVH dom0drivers/ drivers/ include/ | +216 | 3 replies | |
| 2/5 | xen: introduces XEN_PM_PSD sub-hypercall for solely delivery of _PSD infodrivers/ include/ | +56 | 0 replies | |
| 3/5 | acpi/cppc: extract _cpc entry parsing logicdrivers/ | +53 | 0 replies | |
| 4/5 | xen/cppc: get xen-required cppc perf caps datadrivers/ include/ include/ | +105 | 0 replies | |
| 5/5 | xen/cppc: introduce cppc data upload sub-hypercalldrivers/ drivers/ include/ +1 more | +103 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/5] xen/acpi: introduce cppc performance hypercall
When running as Xen dom0 PVH guest, MADT table is customized and may have the "wrong" UID processor number, which is inconsistent with the UID in Processor entry in native DSDT.
As a result, during ACPI boot-up for dom0, linux fails to set up proper processor logical id <-> physical id map(acpi_map_cpuid). Furthermore, It leads to that some ACPI processor feature capibility, like per-cpu cpc_desc structure, failed to be correctly stored and processed.
With upstreaming "amd-pstate CPU Performance Scaling Driver"(
https://lore.kernel.org/all/[email protected]/)
to Xen community, amd-pstate driver is supported on Xen platform. And as Xen is uncapable of parsing the ACPI dynamic table, like _CPC entry, this patch serie introduces a new sub-hypercall XEN_PM_CPPC to deliver CPPC performance capability data.
This patch serie is based on commit "xen/acpi: upload power and performance related data from a PVH dom0"(
https://patchwork.kernel.org/project/xen-devel/patch/[email protected]/),
which is still under review.
v2 -> v1 :
- rebase to the latest v3 version of "xen/acpi: upload power and performance related data from a PVH dom0"
v3 -> v2:
- add new commit of "introduces XEN_PM_PSD sub-hypercall for solely delivery of _PSD info" to be compatible with
https://lore.kernel.org/all/[email protected]/
Penny Zheng (4):
xen: introduces XEN_PM_PSD sub-hypercall for solely delivery of _PSD
info
acpi/cppc: extract _cpc entry parsing logic
xen/cppc: get xen-required cppc perf caps data
xen/cppc: introduce cppc data upload sub-hypercall
Roger Pau Monne (1):
xen/acpi: upload power and performance related data from a PVH dom0
drivers/acpi/cppc_acpi.c | 204 ++++++++++++---- drivers/xen/pcpu.c | 3 +- drivers/xen/xen-acpi-processor.c | 398 +++++++++++++++++++++++++++---- include/acpi/cppc_acpi.h | 5 + include/acpi/processor.h | 2 + include/xen/interface/platform.h | 19 +- include/xen/xen.h | 2 +- 7 files changed, 529 insertions(+), 104 deletions(-)
Signature · 1 line
2.34.1