Re: [PATCH] cpufreq: Allow accessing freq_table for offline CPUs

From: Rafael J. Wysocki
Date: Thu Jul 09 2015 - 19:44:25 EST


On Thursday, July 09, 2015 10:43:56 AM Viresh Kumar wrote:
> On 09-07-15, 02:40, Rafael J. Wysocki wrote:
> > The above sentence is completely unclear to anyone unfamiliar with the
> > code in question.
> >
> > The fix is to access the policy data structure for the given CPU directly
> > (which also returns a valid policy for offline CPUs), but the policy
> > itself has to be active (meaning that at least one CPU using it is online)
> > for the frequency table to be returned.
> >
> > Right?
>
> Yeah..

Applied with minor tweaks to the subject & changelog, thanks!


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/