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

Jie Zhan zhanjie9 at hisilicon.com
Thu Jun 25 05:10:48 PDT 2026



On 6/9/2026 7:28 PM, wang.yechao255 at zte.com.cn wrote:
> From: Wang Yechao <wang.yechao255 at zte.com.cn>
> 
> 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 at zte.com.cn>
Indeed.  Thanks for the fix.

Acked-by: Jie Zhan <zhanjie9 at hisilicon.com>



More information about the linux-riscv mailing list