Re: [PATCH v6 0/2] Improve VM CPUfreq and task placement behavior

From: David Dai
Date: Wed May 22 2024 - 14:22:39 EST


Hi Viresh,

On Tue, May 21, 2024 at 12:41 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 20-05-24, 21:30, David Dai wrote:
> > v5 -> v6:
> > -Updated driver to use .target instead of .target_index
>
> May have missed the discussion, but why is this done ?

Since the driver now queries the device for frequency info, the
interface allows for the VMM(Virtual Machine Manager) to optionally
use tables depending on the use case. Target is used in the driver to
support both configurations where either the table is used or if only
max_perf is used(where the guest can vote from [1-max_perf]).

Thanks,
David
>
> --
> viresh