Message ID | 20240319154258.71206-1-philmd@linaro.org |
---|---|
Headers | show |
Series | accel/tcg: Introduce TCGCPUOps::get_cpu_state() handler | expand |
(Forgot to Cc Claudio to keep him updated) On 19/3/24 16:42, Philippe Mathieu-Daudé wrote: > Hi, > > This series introduce a generic get_cpu_state() handler in > TCGCPUOps and convert each target to it. > > This is required to get a single cpu_get_tb_cpu_state() > for heterogeneous emulation (since this method is called > by accel/tcg/). > > Regards, > > Phil. > > Philippe Mathieu-Daudé (27): > accel/tcg: Ensure frontends define restore_state_to_opc handler > accel/tcg: Introduce TCGCPUOps::get_cpu_state() handler > target/alpha: Convert to TCGCPUOps::get_cpu_state() > target/arm: Restrict TCG-specific declarations > target/arm: Convert to TCGCPUOps::get_cpu_state() > target/avr: Convert to TCGCPUOps::get_cpu_state() > target/cris: Convert to TCGCPUOps::get_cpu_state() > target/hexagon: Convert to TCGCPUOps::get_cpu_state() > target/hppa: Convert to TCGCPUOps::get_cpu_state() > target/i386: Convert to TCGCPUOps::get_cpu_state() > target/loongarch: Convert to TCGCPUOps::get_cpu_state() > target/m68k: Convert to TCGCPUOps::get_cpu_state() > target/microblaze: Convert to TCGCPUOps::get_cpu_state() > target/mips: Convert to TCGCPUOps::get_cpu_state() > target/nios2: Convert to TCGCPUOps::get_cpu_state() > target/openrisc: Convert to TCGCPUOps::get_cpu_state() > target/ppc: Indent ppc_tcg_ops[] with 4 spaces > target/ppc: Convert to TCGCPUOps::get_cpu_state() > target/riscv: Convert to TCGCPUOps::get_cpu_state() > target/rx: Convert to TCGCPUOps::get_cpu_state() > target/s390x: Restrict TCG-specific declarations > target/s390x: Convert to TCGCPUOps::get_cpu_state() > target/sh4: Convert to TCGCPUOps::get_cpu_state() > target/sparc: Convert to TCGCPUOps::get_cpu_state() > target/tricore: Convert to TCGCPUOps::get_cpu_state() > target/xtensa: Convert to TCGCPUOps::get_cpu_state() > accel/tcg: Remove check on TARGET_HAS_CPU_GET_TB_CPU_STATE
Thanks Philippe, I fear I am unable to really be uptodate, but it's great to see all the cleanup you and others have done! Ciao, Claudio On 3/19/24 16:48, Philippe Mathieu-Daudé wrote: > (Forgot to Cc Claudio to keep him updated) > > On 19/3/24 16:42, Philippe Mathieu-Daudé wrote: >> Hi, >> >> This series introduce a generic get_cpu_state() handler in >> TCGCPUOps and convert each target to it. >> >> This is required to get a single cpu_get_tb_cpu_state() >> for heterogeneous emulation (since this method is called >> by accel/tcg/). >> >> Regards, >> >> Phil. >> >> Philippe Mathieu-Daudé (27): >> accel/tcg: Ensure frontends define restore_state_to_opc handler >> accel/tcg: Introduce TCGCPUOps::get_cpu_state() handler >> target/alpha: Convert to TCGCPUOps::get_cpu_state() >> target/arm: Restrict TCG-specific declarations >> target/arm: Convert to TCGCPUOps::get_cpu_state() >> target/avr: Convert to TCGCPUOps::get_cpu_state() >> target/cris: Convert to TCGCPUOps::get_cpu_state() >> target/hexagon: Convert to TCGCPUOps::get_cpu_state() >> target/hppa: Convert to TCGCPUOps::get_cpu_state() >> target/i386: Convert to TCGCPUOps::get_cpu_state() >> target/loongarch: Convert to TCGCPUOps::get_cpu_state() >> target/m68k: Convert to TCGCPUOps::get_cpu_state() >> target/microblaze: Convert to TCGCPUOps::get_cpu_state() >> target/mips: Convert to TCGCPUOps::get_cpu_state() >> target/nios2: Convert to TCGCPUOps::get_cpu_state() >> target/openrisc: Convert to TCGCPUOps::get_cpu_state() >> target/ppc: Indent ppc_tcg_ops[] with 4 spaces >> target/ppc: Convert to TCGCPUOps::get_cpu_state() >> target/riscv: Convert to TCGCPUOps::get_cpu_state() >> target/rx: Convert to TCGCPUOps::get_cpu_state() >> target/s390x: Restrict TCG-specific declarations >> target/s390x: Convert to TCGCPUOps::get_cpu_state() >> target/sh4: Convert to TCGCPUOps::get_cpu_state() >> target/sparc: Convert to TCGCPUOps::get_cpu_state() >> target/tricore: Convert to TCGCPUOps::get_cpu_state() >> target/xtensa: Convert to TCGCPUOps::get_cpu_state() >> accel/tcg: Remove check on TARGET_HAS_CPU_GET_TB_CPU_STATE >
On 3/19/24 05:42, Philippe Mathieu-Daudé wrote: > Philippe Mathieu-Daudé (27): > accel/tcg: Ensure frontends define restore_state_to_opc handler > accel/tcg: Introduce TCGCPUOps::get_cpu_state() handler > target/alpha: Convert to TCGCPUOps::get_cpu_state() > target/arm: Restrict TCG-specific declarations > target/arm: Convert to TCGCPUOps::get_cpu_state() > target/avr: Convert to TCGCPUOps::get_cpu_state() > target/cris: Convert to TCGCPUOps::get_cpu_state() > target/hexagon: Convert to TCGCPUOps::get_cpu_state() > target/hppa: Convert to TCGCPUOps::get_cpu_state() > target/i386: Convert to TCGCPUOps::get_cpu_state() > target/loongarch: Convert to TCGCPUOps::get_cpu_state() > target/m68k: Convert to TCGCPUOps::get_cpu_state() > target/microblaze: Convert to TCGCPUOps::get_cpu_state() > target/mips: Convert to TCGCPUOps::get_cpu_state() > target/nios2: Convert to TCGCPUOps::get_cpu_state() > target/openrisc: Convert to TCGCPUOps::get_cpu_state() > target/ppc: Indent ppc_tcg_ops[] with 4 spaces > target/ppc: Convert to TCGCPUOps::get_cpu_state() > target/riscv: Convert to TCGCPUOps::get_cpu_state() > target/rx: Convert to TCGCPUOps::get_cpu_state() > target/s390x: Restrict TCG-specific declarations > target/s390x: Convert to TCGCPUOps::get_cpu_state() > target/sh4: Convert to TCGCPUOps::get_cpu_state() > target/sparc: Convert to TCGCPUOps::get_cpu_state() > target/tricore: Convert to TCGCPUOps::get_cpu_state() > target/xtensa: Convert to TCGCPUOps::get_cpu_state() > accel/tcg: Remove check on TARGET_HAS_CPU_GET_TB_CPU_STATE Modulo 3 notes, Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~