Re: [PATCH v3 4/5] arch_topology, cpufreq: constify arch_* cpumasks

From: Viresh Kumar
Date: Tue Aug 25 2020 - 02:27:50 EST


On 24-08-20, 22:02, Ionela Voinescu wrote:
> From: Valentin Schneider <valentin.schneider@xxxxxxx>
>
> The passed cpumask arguments to arch_set_freq_scale() and
> arch_freq_counters_available() are only iterated over, so reflect this
> in the prototype. This also allows to pass system cpumasks like
> cpu_online_mask without getting a warning.
>
> Signed-off-by: Valentin Schneider <valentin.schneider@xxxxxxx>
> Signed-off-by: Ionela Voinescu <ionela.voinescu@xxxxxxx>
> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Will Deacon <will@xxxxxxxxxx>
> Cc: Sudeep Holla <sudeep.holla@xxxxxxx>
> Cc: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>
> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> arch/arm64/kernel/topology.c | 2 +-
> drivers/base/arch_topology.c | 4 ++--
> drivers/cpufreq/cpufreq.c | 5 +++--
> include/linux/arch_topology.h | 2 +-
> include/linux/cpufreq.h | 3 ++-
> 5 files changed, 9 insertions(+), 7 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh