mbox series

[0/3] hw/mips: Cleanup in preparation of heterogenous prototype

Message ID 20231009171443.12145-1-philmd@linaro.org
Headers show
Series hw/mips: Cleanup in preparation of heterogenous prototype | expand

Message

Philippe Mathieu-Daudé Oct. 9, 2023, 5:14 p.m. UTC
Prepare few MIPS hardware to be integrated in a
heterogeneous machine:
- Restrict MIPS-specific HW declaration to target/mips/
- Replace MIPSCPU by ArchCPU in common HW

Philippe Mathieu-Daudé (3):
  hw/mips: Merge 'hw/mips/cpudevs.h' with 'target/mips/cpu.h'
  hw/misc/mips_itu: Declare itc_reconfigure() in 'hw/misc/mips_itu.h'
  hw/misc/mips_itu: Make MIPSITUState target agnostic

 include/hw/mips/cpudevs.h           | 14 --------------
 include/hw/misc/mips_itu.h          |  4 +++-
 target/mips/cpu.h                   |  7 +++----
 hw/mips/cps.c                       |  1 -
 hw/mips/fuloong2e.c                 |  1 -
 hw/mips/jazz.c                      |  1 -
 hw/mips/loongson3_virt.c            |  1 -
 hw/mips/malta.c                     |  1 -
 hw/mips/mips_int.c                  |  1 -
 hw/mips/mipssim.c                   |  1 -
 hw/misc/mips_itu.c                  |  4 ++--
 target/mips/sysemu/cp0_timer.c      |  1 -
 target/mips/tcg/sysemu/cp0_helper.c |  1 +
 target/mips/tcg/sysemu/tlb_helper.c |  1 -
 14 files changed, 9 insertions(+), 30 deletions(-)
 delete mode 100644 include/hw/mips/cpudevs.h

Comments

Richard Henderson Oct. 10, 2023, 4:54 p.m. UTC | #1
On 10/9/23 10:14, Philippe Mathieu-Daudé wrote:
> Prepare few MIPS hardware to be integrated in a
> heterogeneous machine:
> - Restrict MIPS-specific HW declaration to target/mips/
> - Replace MIPSCPU by ArchCPU in common HW
> 
> Philippe Mathieu-Daudé (3):
>    hw/mips: Merge 'hw/mips/cpudevs.h' with 'target/mips/cpu.h'
>    hw/misc/mips_itu: Declare itc_reconfigure() in 'hw/misc/mips_itu.h'
>    hw/misc/mips_itu: Make MIPSITUState target agnostic

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Philippe Mathieu-Daudé Oct. 16, 2023, 9:05 a.m. UTC | #2
On 9/10/23 19:14, Philippe Mathieu-Daudé wrote:

> Philippe Mathieu-Daudé (3):
>    hw/mips: Merge 'hw/mips/cpudevs.h' with 'target/mips/cpu.h'
>    hw/misc/mips_itu: Declare itc_reconfigure() in 'hw/misc/mips_itu.h'
>    hw/misc/mips_itu: Make MIPSITUState target agnostic

Queued to mips-next.