Messages in this thread | | | Date | Thu, 12 Nov 2020 18:00:46 +0000 | From | Catalin Marinas <> | 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
| |