On 6/19/21 12:38 AM, Richard Henderson wrote: > On 6/17/21 10:43 AM, Philippe Mathieu-Daudé wrote: >> Commit 043715d1e0f ("target/mips: Update ITU to utilize SAARI >> and SAAR CP0 registers") declared itc_reconfigure() in public >> namespace, while it is restricted to system emulation. >> >> Similarly commit 5679479b9a1 ("target/mips: Move CP0 helpers >> to sysemu/cp0.c") restricted cpu_mips_soft_irq() definition to >> system emulation, but forgot to restrict its declaration. >> >> Commit a2b0a27d33e ("target/mips: Move TCG source files under >> tcg/ sub directory") restricted mips_cpu_do_unaligned_access() >> to system emulation but forgot to guard the declaration. > > FWIW, I think the unaligned_access tcg_ops hook should be available for > user-only as well, like for tlb_fill. That it is sysemu only at the > moment is a bug that affects user-only atomic access.
OK understood, I'll drop that hunk. > Anyway, > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Thanks!