[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH v2 0/2] x86: separate powernow/hwp/acpi cpufreq code
This short series aims 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. The initial v1 patch has been extended to not only cover HWP & Powernow drivers, but additionally ACPI driver is moved outside of cpufreq generic code and as Intel-dependant piece is put under CONFIG_INTEL option. Patch v1 & related discussion are here: https://lore.kernel.org/xen-devel/20240604093406.2448552-1-Sergiy_Kibrik@xxxxxxxx/ 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 | 622 ++++++++++++++++++++++++++++ xen/arch/x86/acpi/cpufreq/cpufreq.c | 598 +------------------------- xen/drivers/acpi/pmstat.c | 2 +- xen/drivers/cpufreq/cpufreq.c | 3 +- xen/drivers/cpufreq/utility.c | 2 +- xen/include/acpi/cpufreq/cpufreq.h | 10 + 7 files changed, 644 insertions(+), 598 deletions(-) create mode 100644 xen/arch/x86/acpi/cpufreq/acpi.c -- 2.25.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |