[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201112180045.GO29613@gaia>
Date: Thu, 12 Nov 2020 18:00:46 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Ionela Voinescu <ionela.voinescu@....com>
Cc: mark.rutland@....com, sudeep.holla@....com, will@...nel.org,
morten.rasmussen@....com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 3/3] arm64: implement CPPC FFH support using AMUs
On Fri, Nov 06, 2020 at 12:53:34PM +0000, Ionela Voinescu wrote:
> +static inline
> +int counters_read_on_cpu(int cpu, smp_call_func_t func, u64 *val)
> +{
> + if (!cpu_has_amu_feat(cpu))
> + return -EOPNOTSUPP;
> +
> + smp_call_function_single(cpu, func, val, 1);
> +
> + return 0;
> +}
I got lost in the cpufreq call chains. Can this function ever be called
with interrupts disabled?
--
Catalin
Powered by blists - more mailing lists