mbox series

[XEN,v3,0/2] x86: separate powernow/hwp/acpi cpufreq code

Message ID cover.1720596402.git.Sergiy_Kibrik@epam.com (mailing list archive)
Headers show
Series x86: separate powernow/hwp/acpi cpufreq code | expand

Message

Sergiy Kibrik July 10, 2024, 8:25 a.m. UTC
This is another version of a short patch series to make platform-specific parts
of cpufreq optional and dependant on INTEL & AMD config options. This is to
allow for tuning the build for either AMD or Intel platform exclusively and
hence to drop the code that would be left unused.

Per-patch changelog provided to track what changed since v2.

v2 series & related discussion are here:
https://lore.kernel.org/xen-devel/cover.1719832871.git.Sergiy_Kibrik@epam.com/

Sergiy Kibrik (2):
  x86/cpufreq: move ACPI cpufreq driver into separate file
  x86/cpufreq: separate powernow/hwp/acpi cpufreq code

 xen/arch/x86/acpi/cpufreq/Makefile  |   5 +-
 xen/arch/x86/acpi/cpufreq/acpi.c    | 518 ++++++++++++++++++++++++++++
 xen/arch/x86/acpi/cpufreq/cpufreq.c | 512 +--------------------------
 xen/drivers/acpi/pmstat.c           |   5 +-
 xen/drivers/cpufreq/cpufreq.c       |   3 +-
 xen/include/acpi/cpufreq/cpufreq.h  |  10 +
 6 files changed, 542 insertions(+), 511 deletions(-)
 create mode 100644 xen/arch/x86/acpi/cpufreq/acpi.c