Skip to content

QOMify MIPS cpu

Philippe Mathieu-Daudé qemu-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 0 repliesNew
  2. v36 patches 2 repliesSuperseded
  3. v27 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches14 repliesSuperseded

Changes in v4 from the cover letter

- rebased after "generalize parsing of cpu_model (x86/arm)" merge

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mips: move hw/mips/cputimer.c to target/mips/hw/mips/Makefile.objs target/mips/Makefile.objs target/mips/cp0_timer.c+2 -30 replies
2/6mips: introduce internal.h and cleanup cpu.htarget/mips/cp0_timer.c target/mips/cpu.c target/mips/cpu.h +8 more+372 -3530 replies
3/6mips: split cpu_mips_realize_env() out of cpu_mips_init()target/mips/internal.h target/mips/translate.c+13 -70 replies
4/6mips: call cpu_mips_realize_env() from mips_cpu_realizefn()target/mips/cpu.c target/mips/translate.c+3 -10 replies
5/6mips: MIPSCPU model subclassestarget/mips/cpu-qom.h target/mips/cpu.c target/mips/internal.h +2 more+117 -640 replies
6/6mips: replace cpu_mips_init() with cpu_generic_init()hw/mips/cps.c hw/mips/mips_fulong2e.c hw/mips/mips_jazz.c +5 more+7 -250 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchIgor MammedovJames HoganEduardo HabkostHervé Poussineau
1/6T-b T-b A-b
2/6T-b T-b A-b
3/6T-b T-b R-b
4/6T-b T-b R-b
5/6T-b R-b
6/6T-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/6] QOMify MIPS cpu

Hi,

This series is based on Igor's "complete cpu QOMification" [1] but only modify the MIPS part. Igor posted an updated series [2].

Yongbok: this series is now ready to apply to your MIPS tree :)

Regards,

Phil.

[1]: http://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg04414.html
[2]: http://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg03364.html

v4:
- rebased after "generalize parsing of cpu_model (x86/arm)" merge

v3:
- added Eduardo Habkost Acked-by and Reviewed-by
- put Eduardo patch 4 review comment in commit message
- address Eduardo's patch 5 review (use correct type, unnecessary null check)
- drop patch 7 in favor of a "generic mechanism to list CPU models using the QOM hierarchy"

v2:
- added Igor and James Tested-by
- squashed "!fixup mips: now than MIPSCPU is QOMified, mark it abstract"

PS: code movement somehow triggers a "binary vs unary operators" confusion
in checkpatch: "ERROR: space prohibited after that '&' (ctx:WxW)"

Igor Mammedov (2):
mips: MIPSCPU model subclasses
mips: replace cpu_mips_init() with cpu_generic_init()

Philippe Mathieu-Daudé (4):
mips: move hw/mips/cputimer.c to target/mips/
mips: introduce internal.h and cleanup cpu.h
mips: split cpu_mips_realize_env() out of cpu_mips_init()
mips: call cpu_mips_realize_env() from mips_cpu_realizefn()

 target/mips/cpu-qom.h                         |   1 +
 target/mips/cpu.h                             | 357 +---------------------
 target/mips/internal.h                        | 422 ++++++++++++++++++++++++++
 hw/mips/cps.c                                 |   2 +-
 hw/mips/mips_fulong2e.c                       |   2 +-
 hw/mips/mips_jazz.c                           |   2 +-
 hw/mips/mips_malta.c                          |   2 +-
 hw/mips/mips_mipssim.c                        |   2 +-
 hw/mips/mips_r4k.c                            |   2 +-
 hw/mips/cputimer.c => target/mips/cp0_timer.c |   2 +-
 target/mips/cpu.c                             |  54 +++-
 target/mips/gdbstub.c                         |   1 +
 target/mips/helper.c                          |   1 +
 target/mips/kvm.c                             |   1 +
 target/mips/machine.c                         |   1 +
 target/mips/msa_helper.c                      |   1 +
 target/mips/op_helper.c                       |   1 +
 target/mips/translate.c                       |  23 +-
 target/mips/translate_init.c                  |  58 +---
 hw/mips/Makefile.objs                         |   2 +-
 target/mips/Makefile.objs                     |   2 +-
 21 files changed, 500 insertions(+), 439 deletions(-)
 create mode 100644 target/mips/internal.h
 rename hw/mips/cputimer.c => target/mips/cp0_timer.c (99%)
Signature · 1 line
2.14.1