RE: [PATCH v8 1/8] xen/cpufreq: introduce new sub-hypercall to propagate CPPC data

2025-09-02 Thread Penny, Zheng
enproject.org > Subject: Re: [PATCH v8 1/8] xen/cpufreq: introduce new sub-hypercall to > propagate > CPPC data > > On 28.08.2025 12:02, Penny Zheng wrote: > > @@ -693,6 +699,120 @@ int acpi_set_pdc_bits(unsigned int acpi_id, > XEN_GUEST_HANDLE(uint32) pdc) > >

Re: [PATCH v8 1/8] xen/cpufreq: introduce new sub-hypercall to propagate CPPC data

2025-08-28 Thread Jan Beulich
On 28.08.2025 12:02, Penny Zheng wrote: > @@ -693,6 +699,120 @@ int acpi_set_pdc_bits(unsigned int acpi_id, > XEN_GUEST_HANDLE(uint32) pdc) > return ret; > } > > +static void print_CPPC(const struct xen_processor_cppc *cppc_data) > +{ > +printk("\t_CPC: highest_perf=%u, lowest_perf=%u,

Re: [PATCH v8 1/8] xen/cpufreq: introduce new sub-hypercall to propagate CPPC data

2025-08-28 Thread Jan Beulich
On 28.08.2025 12:02, Penny Zheng wrote: > In order to provide backward compatibility with existing governors > that represent performance as frequency, like ondemand, the _CPC > table can optionally provide processor frequency range values, Lowest > frequency and Nominal frequency, to let OS use Lo

[PATCH v8 1/8] xen/cpufreq: introduce new sub-hypercall to propagate CPPC data

2025-08-28 Thread Penny Zheng
In order to provide backward compatibility with existing governors that represent performance as frequency, like ondemand, the _CPC table can optionally provide processor frequency range values, Lowest frequency and Nominal frequency, to let OS use Lowest Frequency/ Performance and Nominal Frequenc

[PATCH v8 1/8] xen/cpufreq: introduce new sub-hypercall to propagate CPPC data

2025-08-28 Thread Penny Zheng
In order to provide backward compatibility with existing governors that represent performance as frequency, like ondemand, the _CPC table can optionally provide processor frequency range values, Lowest frequency and Nominal frequency, to let OS use Lowest Frequency/ Performance and Nominal Frequenc