Re: [PATCH] ACPI: RISC-V: Fix false warning in cppc_read_ffh() for same-CPU reads

From: Jie Zhan

Date: Thu Jun 25 2026 - 08:11:05 EST




On 6/9/2026 7:28 PM, wang.yechao255@xxxxxxxxxx wrote:
> From: Wang Yechao <wang.yechao255@xxxxxxxxxx>
>
> Commit 997c021abc6e ("cpufreq: CPPC: Update FIE arch_freq_scale in
> ticks for non-PCC regs") changed the CPPC Frequency Invariance Engine
> to read AMU counters directly from the scheduler tick for non-PCC
> register spaces (like FFH), instead of deferring to a kthread. This
> means cppc_read_ffh() is now called with IRQs disabled from the tick
> handler, triggering the warning.
>
> This is the same fix as commit df6e4ab654dc ("arm64: topology: Fix
> false warning in counters_read_on_cpu() for same-CPU reads").
>
> Fixes: 997c021abc6e ("cpufreq: CPPC: Update FIE arch_freq_scale in ticks for non-PCC regs")
> Signed-off-by: Wang Yechao <wang.yechao255@xxxxxxxxxx>
Indeed. Thanks for the fix.

Acked-by: Jie Zhan <zhanjie9@xxxxxxxxxxxxx>