Skip to content

*** SUBJECT HERE ***

Guan Xuetao qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9unicore32-softmmu: make exceptions generated in unicore32 architecturecpu-exec.c linux-user/main.c target-unicore32/cpu.h+7 -30 replies
2/9unicore32-softmmu: implement some softmmu specific functionstarget-unicore32/helper.c target-unicore32/uc32_softmmu.c+280 -120 replies
3/9unicore32-softmmu: add coprocessor 0 and ocd instruction supporttarget-unicore32/helper.c target-unicore32/helper.h target-unicore32/op_helper.c +1 more+265 -470 replies
4/9unicore32-softmmu: make sure that kernel can access user spacetarget-unicore32/translate.c+24 -90 replies
5/9unicore32-softmmu: initialize ucv2 cputarget-unicore32/cpu.c target-unicore32/cpu.h+14 -53 replies
6/9unicore32-softmmu: add generic cpu state save/load functionstarget-unicore32/machine.c+99 -03 replies
7/9unicore32-softmmu: add puv3 soc supporthw/pkunity/puv3.c hw/pkunity/puv3.h hw/pkunity/puv3_dma.c +4 more+863 -02 replies
8/9unicore32-softmmu: add config and makefile supportMakefile.target arch_init.c arch_init.h +2 more+16 -03 replies
9/9unicore32-softmmu: add maintainer informationMAINTAINERS+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/9] *** SUBJECT HERE ***

These patches implement softmmu support on unicore32 architecture.

UniCore32 CPU is embedded in PKUnity-3 SoC, so we add hw/pkunity dir to contain all puv3 devices simulation codes together.
Only minimal system control modules are simulated, to make linux kernel boot and busybox run in initramfs.

Any advice is greatly appreciated.

Thanks,

Guan Xuetao

---

Guan Xuetao (9):
unicore32-softmmu: make exceptions generated in unicore32
architecture
unicore32-softmmu: implement some softmmu specific functions
unicore32-softmmu: add coprocessor 0 and ocd instruction support
unicore32-softmmu: make sure that kernel can access user space
unicore32-softmmu: initialize ucv2 cpu
unicore32-softmmu: add generic cpu state save/load functions
unicore32-softmmu: add puv3 soc support
unicore32-softmmu: add config and makefile support
unicore32-softmmu: add maintainer information

 MAINTAINERS                           |    7 +
 Makefile.target                       |    5 +
 arch_init.c                           |    2 +
 arch_init.h                           |    1 +
 configure                             |    4 +
 cpu-exec.c                            |    1 +
 default-configs/unicore32-softmmu.mak |    4 +
 hw/pkunity/puv3.c                     |  130 ++++++++++++++++
 hw/pkunity/puv3.h                     |   49 ++++++
 hw/pkunity/puv3_dma.c                 |  109 +++++++++++++
 hw/pkunity/puv3_gpio.c                |  141 +++++++++++++++++
 hw/pkunity/puv3_intc.c                |  135 +++++++++++++++++
 hw/pkunity/puv3_ost.c                 |  151 +++++++++++++++++++
 hw/pkunity/puv3_pm.c                  |  148 ++++++++++++++++++
 linux-user/main.c                     |    3 +-
 target-unicore32/cpu.c                |   17 ++-
 target-unicore32/cpu.h                |    8 +-
 target-unicore32/helper.c             |   48 +-----
 target-unicore32/helper.h             |   15 +-
 target-unicore32/machine.c            |   99 ++++++++++++
 target-unicore32/op_helper.c          |  187 +++++++++++++++++++++++-
 target-unicore32/translate.c          |  106 ++++++++++++-
 target-unicore32/uc32_softmmu.c       |  267 +++++++++++++++++++++++++++++++++
 23 files changed, 1568 insertions(+), 69 deletions(-)
 create mode 100644 default-configs/unicore32-softmmu.mak
 create mode 100644 hw/pkunity/puv3.c
 create mode 100644 hw/pkunity/puv3.h
 create mode 100644 hw/pkunity/puv3_dma.c
 create mode 100644 hw/pkunity/puv3_gpio.c
 create mode 100644 hw/pkunity/puv3_intc.c
 create mode 100644 hw/pkunity/puv3_ost.c
 create mode 100644 hw/pkunity/puv3_pm.c
 create mode 100644 target-unicore32/machine.c
 create mode 100644 target-unicore32/uc32_softmmu.c