Skip to contentSkip to conversation

Drop deprecated lm32 and unicore32

PATCH In review Markus Armbruster 4 participants 8 messages May 3, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

cover Drop deprecated lm32 and unicore32

Markus Armbruster (2):
Drop the deprecated lm32 target
Drop the deprecated unicore32 target

 docs/system/deprecated.rst                    |   16 -
 docs/system/removed-features.rst              |   14 +
 configure                                     |    7 +-
 default-configs/devices/lm32-softmmu.mak      |   12 -
 default-configs/devices/unicore32-softmmu.mak |    6 -
 default-configs/targets/lm32-softmmu.mak      |    2 -
 default-configs/targets/unicore32-softmmu.mak |    1 -
 meson.build                                   |    3 +-
 qapi/machine.json                             |    4 +-
 hw/display/milkymist-vgafb_template.h         |   74 -
 hw/lm32/lm32.h                                |   48 -
 hw/lm32/lm32_hwsetup.h                        |  179 --
 hw/lm32/milkymist-hw.h                        |  133 --
 hw/usb/quirks-ftdi-ids.h                      |    6 -
 hw/usb/quirks.h                               |    1 -
 include/disas/dis-asm.h                       |    3 -
 include/elf.h                                 |    3 +-
 include/exec/poison.h                         |    3 -
 include/hw/char/lm32_juart.h                  |   13 -
 include/hw/display/milkymist_tmu2.h           |   42 -
 include/hw/lm32/lm32_pic.h                    |   10 -
 include/hw/unicore32/puv3.h                   |   40 -
 include/sysemu/arch_init.h                    |    2 -
 target/lm32/cpu-param.h                       |   17 -
 target/lm32/cpu-qom.h                         |   48 -
 target/lm32/cpu.h                             |  262 ---
 target/lm32/helper.h                          |   14 -
 target/unicore32/cpu-param.h                  |   17 -
 target/unicore32/cpu-qom.h                    |   37 -
 target/unicore32/cpu.h                        |  168 --
 target/unicore32/helper.h                     |   62 -
 disas/lm32.c                                  |  361 ---
 hw/audio/milkymist-ac97.c                     |  360 ---
 hw/char/lm32_juart.c                          |  166 --
 hw/char/lm32_uart.c                           |  314 ---
 hw/char/milkymist-uart.c                      |  258 --
 hw/display/milkymist-tmu2.c                   |  551 -----
 hw/display/milkymist-vgafb.c                  |  360 ---
 hw/dma/puv3_dma.c                             |  119 -
 hw/gpio/puv3_gpio.c                           |  154 --
 hw/input/milkymist-softusb.c                  |  319 ---
 hw/intc/lm32_pic.c                            |  195 --
 hw/intc/puv3_intc.c                           |  147 --
 hw/lm32/lm32_boards.c                         |  333 ---
 hw/lm32/milkymist.c                           |  250 --
 hw/misc/milkymist-hpdmc.c                     |  172 --
 hw/misc/milkymist-pfpu.c                      |  548 -----
 hw/misc/puv3_pm.c                             |  159 --
 hw/net/milkymist-minimac2.c                   |  547 -----
 hw/sd/milkymist-memcard.c                     |  335 ---
 hw/timer/lm32_timer.c                         |  249 --
 hw/timer/milkymist-sysctl.c                   |  361 ---
 hw/timer/puv3_ost.c                           |  166 --
 hw/unicore32/puv3.c                           |  145 --
 softmmu/arch_init.c                           |    4 -
 target/lm32/cpu.c                             |  274 ---
 target/lm32/gdbstub.c                         |   92 -
 target/lm32/helper.c                          |  224 --
 target/lm32/lm32-semi.c                       |  212 --
 target/lm32/machine.c                         |   33 -
 target/lm32/op_helper.c                       |  148 --
 target/lm32/translate.c                       | 1237 ----------
 target/unicore32/cpu.c                        |  174 --
 target/unicore32/helper.c                     |  183 --
 target/unicore32/op_helper.c                  |  244 --
 target/unicore32/softmmu.c                    |  280 ---
 target/unicore32/translate.c                  | 2083 -----------------
 target/unicore32/ucf64_helper.c               |  324 ---
 tests/qtest/machine-none-test.c               |    2 -
 fpu/softfloat-specialize.c.inc                |   11 +-
 .gitlab-ci.yml                                |    2 +-
 MAINTAINERS                                   |   40 -
 disas/meson.build                             |    1 -
 hw/Kconfig                                    |    2 -
 hw/audio/meson.build                          |    1 -
 hw/audio/trace-events                         |   12 -
 hw/char/meson.build                           |    3 -
 hw/char/trace-events                          |   17 -
 hw/display/Kconfig                            |    4 -
 hw/display/meson.build                        |    2 -
 hw/display/trace-events                       |   10 -
 hw/dma/meson.build                            |    1 -
 hw/gpio/meson.build                           |    1 -
 hw/input/meson.build                          |    1 -
 hw/input/trace-events                         |    7 -
 hw/intc/meson.build                           |    2 -
 hw/intc/trace-events                          |    9 -
 hw/lm32/Kconfig                               |   18 -
 hw/lm32/meson.build                           |    6 -
 hw/meson.build                                |    2 -
 hw/misc/meson.build                           |    4 -
 hw/misc/trace-events                          |   10 -
 hw/net/meson.build                            |    1 -
 hw/net/trace-events                           |   12 -
 hw/sd/meson.build                             |    1 -
 hw/sd/trace-events                            |    4 -
 hw/timer/meson.build                          |    3 -
 hw/timer/trace-events                         |   17 -
 hw/unicore32/Kconfig                          |    5 -
 hw/unicore32/meson.build                      |    5 -
 qemu-options.hx                               |    4 +-
 target/lm32/README                            |   45 -
 target/lm32/TODO                              |    1 -
 target/lm32/meson.build                       |   15 -
 target/meson.build                            |    2 -
 target/unicore32/meson.build                  |   14 -
 tests/tcg/README                              |    6 -
 tests/tcg/configure.sh                        |    2 +-
 tests/tcg/lm32/Makefile                       |  106 -
 tests/tcg/lm32/crt.S                          |   84 -
 tests/tcg/lm32/helper.S                       |   65 -
 tests/tcg/lm32/linker.ld                      |   55 -
 tests/tcg/lm32/macros.inc                     |   90 -
 tests/tcg/lm32/test_add.S                     |   75 -
 tests/tcg/lm32/test_addi.S                    |   56 -
 tests/tcg/lm32/test_and.S                     |   45 -
 tests/tcg/lm32/test_andhi.S                   |   35 -
 tests/tcg/lm32/test_andi.S                    |   35 -
 tests/tcg/lm32/test_b.S                       |   13 -
 tests/tcg/lm32/test_be.S                      |   48 -
 tests/tcg/lm32/test_bg.S                      |   78 -
 tests/tcg/lm32/test_bge.S                     |   78 -
 tests/tcg/lm32/test_bgeu.S                    |   78 -
 tests/tcg/lm32/test_bgu.S                     |   78 -
 tests/tcg/lm32/test_bi.S                      |   23 -
 tests/tcg/lm32/test_bne.S                     |   48 -
 tests/tcg/lm32/test_break.S                   |   20 -
 tests/tcg/lm32/test_bret.S                    |   38 -
 tests/tcg/lm32/test_call.S                    |   16 -
 tests/tcg/lm32/test_calli.S                   |   15 -
 tests/tcg/lm32/test_cmpe.S                    |   40 -
 tests/tcg/lm32/test_cmpei.S                   |   35 -
 tests/tcg/lm32/test_cmpg.S                    |   64 -
 tests/tcg/lm32/test_cmpge.S                   |   64 -
 tests/tcg/lm32/test_cmpgei.S                  |   70 -
 tests/tcg/lm32/test_cmpgeu.S                  |   64 -
 tests/tcg/lm32/test_cmpgeui.S                 |   70 -
 tests/tcg/lm32/test_cmpgi.S                   |   70 -
 tests/tcg/lm32/test_cmpgu.S                   |   64 -
 tests/tcg/lm32/test_cmpgui.S                  |   70 -
 tests/tcg/lm32/test_cmpne.S                   |   40 -
 tests/tcg/lm32/test_cmpnei.S                  |   35 -
 tests/tcg/lm32/test_divu.S                    |   29 -
 tests/tcg/lm32/test_eret.S                    |   38 -
 tests/tcg/lm32/test_lb.S                      |   49 -
 tests/tcg/lm32/test_lbu.S                     |   49 -
 tests/tcg/lm32/test_lh.S                      |   49 -
 tests/tcg/lm32/test_lhu.S                     |   49 -
 tests/tcg/lm32/test_lw.S                      |   32 -
 tests/tcg/lm32/test_modu.S                    |   35 -
 tests/tcg/lm32/test_mul.S                     |   70 -
 tests/tcg/lm32/test_muli.S                    |   45 -
 tests/tcg/lm32/test_nor.S                     |   51 -
 tests/tcg/lm32/test_nori.S                    |   35 -
 tests/tcg/lm32/test_or.S                      |   51 -
 tests/tcg/lm32/test_orhi.S                    |   35 -
 tests/tcg/lm32/test_ori.S                     |   35 -
 tests/tcg/lm32/test_ret.S                     |   14 -
 tests/tcg/lm32/test_sb.S                      |   32 -
 tests/tcg/lm32/test_scall.S                   |   24 -
 tests/tcg/lm32/test_sextb.S                   |   20 -
 tests/tcg/lm32/test_sexth.S                   |   20 -
 tests/tcg/lm32/test_sh.S                      |   32 -
 tests/tcg/lm32/test_sl.S                      |   45 -
 tests/tcg/lm32/test_sli.S                     |   30 -
 tests/tcg/lm32/test_sr.S                      |   57 -
 tests/tcg/lm32/test_sri.S                     |   40 -
 tests/tcg/lm32/test_sru.S                     |   57 -
 tests/tcg/lm32/test_srui.S                    |   40 -
 tests/tcg/lm32/test_sub.S                     |   75 -
 tests/tcg/lm32/test_sw.S                      |   38 -
 tests/tcg/lm32/test_xnor.S                    |   51 -
 tests/tcg/lm32/test_xnori.S                   |   35 -
 tests/tcg/lm32/test_xor.S                     |   51 -
 tests/tcg/lm32/test_xori.S                    |   35 -
 175 files changed, 30 insertions(+), 16816 deletions(-)
 delete mode 100644 default-configs/devices/lm32-softmmu.mak
 delete mode 100644 default-configs/devices/unicore32-softmmu.mak
 delete mode 100644 default-configs/targets/lm32-softmmu.mak
 delete mode 100644 default-configs/targets/unicore32-softmmu.mak
 delete mode 100644 hw/display/milkymist-vgafb_template.h
 delete mode 100644 hw/lm32/lm32.h
 delete mode 100644 hw/lm32/lm32_hwsetup.h
 delete mode 100644 hw/lm32/milkymist-hw.h
 delete mode 100644 include/hw/char/lm32_juart.h
 delete mode 100644 include/hw/display/milkymist_tmu2.h
 delete mode 100644 include/hw/lm32/lm32_pic.h
 delete mode 100644 include/hw/unicore32/puv3.h
 delete mode 100644 target/lm32/cpu-param.h
 delete mode 100644 target/lm32/cpu-qom.h
 delete mode 100644 target/lm32/cpu.h
 delete mode 100644 target/lm32/helper.h
 delete mode 100644 target/unicore32/cpu-param.h
 delete mode 100644 target/unicore32/cpu-qom.h
 delete mode 100644 target/unicore32/cpu.h
 delete mode 100644 target/unicore32/helper.h
 delete mode 100644 disas/lm32.c
 delete mode 100644 hw/audio/milkymist-ac97.c
 delete mode 100644 hw/char/lm32_juart.c
 delete mode 100644 hw/char/lm32_uart.c
 delete mode 100644 hw/char/milkymist-uart.c
 delete mode 100644 hw/display/milkymist-tmu2.c
 delete mode 100644 hw/display/milkymist-vgafb.c
 delete mode 100644 hw/dma/puv3_dma.c
 delete mode 100644 hw/gpio/puv3_gpio.c
 delete mode 100644 hw/input/milkymist-softusb.c
 delete mode 100644 hw/intc/lm32_pic.c
 delete mode 100644 hw/intc/puv3_intc.c
 delete mode 100644 hw/lm32/lm32_boards.c
 delete mode 100644 hw/lm32/milkymist.c
 delete mode 100644 hw/misc/milkymist-hpdmc.c
 delete mode 100644 hw/misc/milkymist-pfpu.c
 delete mode 100644 hw/misc/puv3_pm.c
 delete mode 100644 hw/net/milkymist-minimac2.c
 delete mode 100644 hw/sd/milkymist-memcard.c
 delete mode 100644 hw/timer/lm32_timer.c
 delete mode 100644 hw/timer/milkymist-sysctl.c
 delete mode 100644 hw/timer/puv3_ost.c
 delete mode 100644 hw/unicore32/puv3.c
 delete mode 100644 target/lm32/cpu.c
 delete mode 100644 target/lm32/gdbstub.c
 delete mode 100644 target/lm32/helper.c
 delete mode 100644 target/lm32/lm32-semi.c
 delete mode 100644 target/lm32/machine.c
 delete mode 100644 target/lm32/op_helper.c
 delete mode 100644 target/lm32/translate.c
 delete mode 100644 target/unicore32/cpu.c
 delete mode 100644 target/unicore32/helper.c
 delete mode 100644 target/unicore32/op_helper.c
 delete mode 100644 target/unicore32/softmmu.c
 delete mode 100644 target/unicore32/translate.c
 delete mode 100644 target/unicore32/ucf64_helper.c
 delete mode 100644 hw/lm32/Kconfig
 delete mode 100644 hw/lm32/meson.build
 delete mode 100644 hw/unicore32/Kconfig
 delete mode 100644 hw/unicore32/meson.build
 delete mode 100644 target/lm32/README
 delete mode 100644 target/lm32/TODO
 delete mode 100644 target/lm32/meson.build
 delete mode 100644 target/unicore32/meson.build
 delete mode 100644 tests/tcg/lm32/Makefile
 delete mode 100644 tests/tcg/lm32/crt.S
 delete mode 100644 tests/tcg/lm32/helper.S
 delete mode 100644 tests/tcg/lm32/linker.ld
 delete mode 100644 tests/tcg/lm32/macros.inc
 delete mode 100644 tests/tcg/lm32/test_add.S
 delete mode 100644 tests/tcg/lm32/test_addi.S
 delete mode 100644 tests/tcg/lm32/test_and.S
 delete mode 100644 tests/tcg/lm32/test_andhi.S
 delete mode 100644 tests/tcg/lm32/test_andi.S
 delete mode 100644 tests/tcg/lm32/test_b.S
 delete mode 100644 tests/tcg/lm32/test_be.S
 delete mode 100644 tests/tcg/lm32/test_bg.S
 delete mode 100644 tests/tcg/lm32/test_bge.S
 delete mode 100644 tests/tcg/lm32/test_bgeu.S
 delete mode 100644 tests/tcg/lm32/test_bgu.S
 delete mode 100644 tests/tcg/lm32/test_bi.S
 delete mode 100644 tests/tcg/lm32/test_bne.S
 delete mode 100644 tests/tcg/lm32/test_break.S
 delete mode 100644 tests/tcg/lm32/test_bret.S
 delete mode 100644 tests/tcg/lm32/test_call.S
 delete mode 100644 tests/tcg/lm32/test_calli.S
 delete mode 100644 tests/tcg/lm32/test_cmpe.S
 delete mode 100644 tests/tcg/lm32/test_cmpei.S
 delete mode 100644 tests/tcg/lm32/test_cmpg.S
 delete mode 100644 tests/tcg/lm32/test_cmpge.S
 delete mode 100644 tests/tcg/lm32/test_cmpgei.S
 delete mode 100644 tests/tcg/lm32/test_cmpgeu.S
 delete mode 100644 tests/tcg/lm32/test_cmpgeui.S
 delete mode 100644 tests/tcg/lm32/test_cmpgi.S
 delete mode 100644 tests/tcg/lm32/test_cmpgu.S
 delete mode 100644 tests/tcg/lm32/test_cmpgui.S
 delete mode 100644 tests/tcg/lm32/test_cmpne.S
 delete mode 100644 tests/tcg/lm32/test_cmpnei.S
 delete mode 100644 tests/tcg/lm32/test_divu.S
 delete mode 100644 tests/tcg/lm32/test_eret.S
 delete mode 100644 tests/tcg/lm32/test_lb.S
 delete mode 100644 tests/tcg/lm32/test_lbu.S
 delete mode 100644 tests/tcg/lm32/test_lh.S
 delete mode 100644 tests/tcg/lm32/test_lhu.S
 delete mode 100644 tests/tcg/lm32/test_lw.S
 delete mode 100644 tests/tcg/lm32/test_modu.S
 delete mode 100644 tests/tcg/lm32/test_mul.S
 delete mode 100644 tests/tcg/lm32/test_muli.S
 delete mode 100644 tests/tcg/lm32/test_nor.S
 delete mode 100644 tests/tcg/lm32/test_nori.S
 delete mode 100644 tests/tcg/lm32/test_or.S
 delete mode 100644 tests/tcg/lm32/test_orhi.S
 delete mode 100644 tests/tcg/lm32/test_ori.S
 delete mode 100644 tests/tcg/lm32/test_ret.S
 delete mode 100644 tests/tcg/lm32/test_sb.S
 delete mode 100644 tests/tcg/lm32/test_scall.S
 delete mode 100644 tests/tcg/lm32/test_sextb.S
 delete mode 100644 tests/tcg/lm32/test_sexth.S
 delete mode 100644 tests/tcg/lm32/test_sh.S
 delete mode 100644 tests/tcg/lm32/test_sl.S
 delete mode 100644 tests/tcg/lm32/test_sli.S
 delete mode 100644 tests/tcg/lm32/test_sr.S
 delete mode 100644 tests/tcg/lm32/test_sri.S
 delete mode 100644 tests/tcg/lm32/test_sru.S
 delete mode 100644 tests/tcg/lm32/test_srui.S
 delete mode 100644 tests/tcg/lm32/test_sub.S
 delete mode 100644 tests/tcg/lm32/test_sw.S
 delete mode 100644 tests/tcg/lm32/test_xnor.S
 delete mode 100644 tests/tcg/lm32/test_xnori.S
 delete mode 100644 tests/tcg/lm32/test_xor.S
 delete mode 100644 tests/tcg/lm32/test_xori.S
Signature · 1 line
2.26.3
#1 lore raw

PATCH 1/2 Drop the deprecated lm32 target

Target lm32 was deprecated in commit d8498005122, v5.2.0. See there for rationale.

Some of its code lives on in device models derived from milkymist
ones: hw/char/digic-uart.c and hw/display/bcm2835_fb.c.

---
 docs/system/deprecated.rst               |    8 -
 docs/system/removed-features.rst         |    7 +
 configure                                |    7 +-
 default-configs/devices/lm32-softmmu.mak |   12 -
 default-configs/targets/lm32-softmmu.mak |    2 -
 meson.build                              |    3 +-
 qapi/machine.json                        |    2 +-
 hw/display/milkymist-vgafb_template.h    |   74 --
 hw/lm32/lm32.h                           |   48 -
 hw/lm32/lm32_hwsetup.h                   |  179 ----
 hw/lm32/milkymist-hw.h                   |  133 ---
 hw/usb/quirks-ftdi-ids.h                 |    6 -
 hw/usb/quirks.h                          |    1 -
 include/disas/dis-asm.h                  |    3 -
 include/exec/poison.h                    |    2 -
 include/hw/char/lm32_juart.h             |   13 -
 include/hw/display/milkymist_tmu2.h      |   42 -
 include/hw/lm32/lm32_pic.h               |   10 -
 include/sysemu/arch_init.h               |    1 -
 target/lm32/cpu-param.h                  |   17 -
 target/lm32/cpu-qom.h                    |   48 -
 target/lm32/cpu.h                        |  262 -----
 target/lm32/helper.h                     |   14 -
 disas/lm32.c                             |  361 -------
 hw/audio/milkymist-ac97.c                |  360 -------
 hw/char/lm32_juart.c                     |  166 ---
 hw/char/lm32_uart.c                      |  314 ------
 hw/char/milkymist-uart.c                 |  258 -----
 hw/display/milkymist-tmu2.c              |  551 ----------
 hw/display/milkymist-vgafb.c             |  360 -------
 hw/input/milkymist-softusb.c             |  319 ------
 hw/intc/lm32_pic.c                       |  195 ----
 hw/lm32/lm32_boards.c                    |  333 ------
 hw/lm32/milkymist.c                      |  250 -----
 hw/misc/milkymist-hpdmc.c                |  172 ---
 hw/misc/milkymist-pfpu.c                 |  548 ----------
 hw/net/milkymist-minimac2.c              |  547 ----------
 hw/sd/milkymist-memcard.c                |  335 ------
 hw/timer/lm32_timer.c                    |  249 -----
 hw/timer/milkymist-sysctl.c              |  361 -------
 softmmu/arch_init.c                      |    2 -
 target/lm32/cpu.c                        |  274 -----
 target/lm32/gdbstub.c                    |   92 --
 target/lm32/helper.c                     |  224 ----
 target/lm32/lm32-semi.c                  |  212 ----
 target/lm32/machine.c                    |   33 -
 target/lm32/op_helper.c                  |  148 ---
 target/lm32/translate.c                  | 1237 ----------------------
 tests/qtest/machine-none-test.c          |    1 -
 fpu/softfloat-specialize.c.inc           |    2 +-
 .gitlab-ci.yml                           |    2 +-
 MAINTAINERS                              |   25 -
 disas/meson.build                        |    1 -
 hw/Kconfig                               |    1 -
 hw/audio/meson.build                     |    1 -
 hw/audio/trace-events                    |   12 -
 hw/char/meson.build                      |    3 -
 hw/char/trace-events                     |   17 -
 hw/display/Kconfig                       |    4 -
 hw/display/meson.build                   |    2 -
 hw/display/trace-events                  |   10 -
 hw/input/meson.build                     |    1 -
 hw/input/trace-events                    |    7 -
 hw/intc/meson.build                      |    1 -
 hw/intc/trace-events                     |    9 -
 hw/lm32/Kconfig                          |   18 -
 hw/lm32/meson.build                      |    6 -
 hw/meson.build                           |    1 -
 hw/misc/meson.build                      |    1 -
 hw/misc/trace-events                     |   10 -
 hw/net/meson.build                       |    1 -
 hw/net/trace-events                      |   12 -
 hw/sd/meson.build                        |    1 -
 hw/sd/trace-events                       |    4 -
 hw/timer/meson.build                     |    2 -
 hw/timer/trace-events                    |   17 -
 qemu-options.hx                          |    4 +-
 target/lm32/README                       |   45 -
 target/lm32/TODO                         |    1 -
 target/lm32/meson.build                  |   15 -
 target/meson.build                       |    1 -
 tests/tcg/README                         |    6 -
 tests/tcg/configure.sh                   |    2 +-
 tests/tcg/lm32/Makefile                  |  106 --
 tests/tcg/lm32/crt.S                     |   84 --
 tests/tcg/lm32/helper.S                  |   65 --
 tests/tcg/lm32/linker.ld                 |   55 -
 tests/tcg/lm32/macros.inc                |   90 --
 tests/tcg/lm32/test_add.S                |   75 --
 tests/tcg/lm32/test_addi.S               |   56 -
 tests/tcg/lm32/test_and.S                |   45 -
 tests/tcg/lm32/test_andhi.S              |   35 -
 tests/tcg/lm32/test_andi.S               |   35 -
 tests/tcg/lm32/test_b.S                  |   13 -
 tests/tcg/lm32/test_be.S                 |   48 -
 tests/tcg/lm32/test_bg.S                 |   78 --
 tests/tcg/lm32/test_bge.S                |   78 --
 tests/tcg/lm32/test_bgeu.S               |   78 --
 tests/tcg/lm32/test_bgu.S                |   78 --
 tests/tcg/lm32/test_bi.S                 |   23 -
 tests/tcg/lm32/test_bne.S                |   48 -
 tests/tcg/lm32/test_break.S              |   20 -
 tests/tcg/lm32/test_bret.S               |   38 -
 tests/tcg/lm32/test_call.S               |   16 -
 tests/tcg/lm32/test_calli.S              |   15 -
 tests/tcg/lm32/test_cmpe.S               |   40 -
 tests/tcg/lm32/test_cmpei.S              |   35 -
 tests/tcg/lm32/test_cmpg.S               |   64 --
 tests/tcg/lm32/test_cmpge.S              |   64 --
 tests/tcg/lm32/test_cmpgei.S             |   70 --
 tests/tcg/lm32/test_cmpgeu.S             |   64 --
 tests/tcg/lm32/test_cmpgeui.S            |   70 --
 tests/tcg/lm32/test_cmpgi.S              |   70 --
 tests/tcg/lm32/test_cmpgu.S              |   64 --
 tests/tcg/lm32/test_cmpgui.S             |   70 --
 tests/tcg/lm32/test_cmpne.S              |   40 -
 tests/tcg/lm32/test_cmpnei.S             |   35 -
 tests/tcg/lm32/test_divu.S               |   29 -
 tests/tcg/lm32/test_eret.S               |   38 -
 tests/tcg/lm32/test_lb.S                 |   49 -
 tests/tcg/lm32/test_lbu.S                |   49 -
 tests/tcg/lm32/test_lh.S                 |   49 -
 tests/tcg/lm32/test_lhu.S                |   49 -
 tests/tcg/lm32/test_lw.S                 |   32 -
 tests/tcg/lm32/test_modu.S               |   35 -
 tests/tcg/lm32/test_mul.S                |   70 --
 tests/tcg/lm32/test_muli.S               |   45 -
 tests/tcg/lm32/test_nor.S                |   51 -
 tests/tcg/lm32/test_nori.S               |   35 -
 tests/tcg/lm32/test_or.S                 |   51 -
 tests/tcg/lm32/test_orhi.S               |   35 -
 tests/tcg/lm32/test_ori.S                |   35 -
 tests/tcg/lm32/test_ret.S                |   14 -
 tests/tcg/lm32/test_sb.S                 |   32 -
 tests/tcg/lm32/test_scall.S              |   24 -
 tests/tcg/lm32/test_sextb.S              |   20 -
 tests/tcg/lm32/test_sexth.S              |   20 -
 tests/tcg/lm32/test_sh.S                 |   32 -
 tests/tcg/lm32/test_sl.S                 |   45 -
 tests/tcg/lm32/test_sli.S                |   30 -
 tests/tcg/lm32/test_sr.S                 |   57 -
 tests/tcg/lm32/test_sri.S                |   40 -
 tests/tcg/lm32/test_sru.S                |   57 -
 tests/tcg/lm32/test_srui.S               |   40 -
 tests/tcg/lm32/test_sub.S                |   75 --
 tests/tcg/lm32/test_sw.S                 |   38 -
 tests/tcg/lm32/test_xnor.S               |   51 -
 tests/tcg/lm32/test_xnori.S              |   35 -
 tests/tcg/lm32/test_xor.S                |   51 -
 tests/tcg/lm32/test_xori.S               |   35 -
 150 files changed, 17 insertions(+), 12237 deletions(-)
 delete mode 100644 default-configs/devices/lm32-softmmu.mak
 delete mode 100644 default-configs/targets/lm32-softmmu.mak
 delete mode 100644 hw/display/milkymist-vgafb_template.h
 delete mode 100644 hw/lm32/lm32.h
 delete mode 100644 hw/lm32/lm32_hwsetup.h
 delete mode 100644 hw/lm32/milkymist-hw.h
 delete mode 100644 include/hw/char/lm32_juart.h
 delete mode 100644 include/hw/display/milkymist_tmu2.h
 delete mode 100644 include/hw/lm32/lm32_pic.h
 delete mode 100644 target/lm32/cpu-param.h
 delete mode 100644 target/lm32/cpu-qom.h
 delete mode 100644 target/lm32/cpu.h
 delete mode 100644 target/lm32/helper.h
 delete mode 100644 disas/lm32.c
 delete mode 100644 hw/audio/milkymist-ac97.c
 delete mode 100644 hw/char/lm32_juart.c
 delete mode 100644 hw/char/lm32_uart.c
 delete mode 100644 hw/char/milkymist-uart.c
 delete mode 100644 hw/display/milkymist-tmu2.c
 delete mode 100644 hw/display/milkymist-vgafb.c
 delete mode 100644 hw/input/milkymist-softusb.c
 delete mode 100644 hw/intc/lm32_pic.c
 delete mode 100644 hw/lm32/lm32_boards.c
 delete mode 100644 hw/lm32/milkymist.c
 delete mode 100644 hw/misc/milkymist-hpdmc.c
 delete mode 100644 hw/misc/milkymist-pfpu.c
 delete mode 100644 hw/net/milkymist-minimac2.c
 delete mode 100644 hw/sd/milkymist-memcard.c
 delete mode 100644 hw/timer/lm32_timer.c
 delete mode 100644 hw/timer/milkymist-sysctl.c
 delete mode 100644 target/lm32/cpu.c
 delete mode 100644 target/lm32/gdbstub.c
 delete mode 100644 target/lm32/helper.c
 delete mode 100644 target/lm32/lm32-semi.c
 delete mode 100644 target/lm32/machine.c
 delete mode 100644 target/lm32/op_helper.c
 delete mode 100644 target/lm32/translate.c
 delete mode 100644 hw/lm32/Kconfig
 delete mode 100644 hw/lm32/meson.build
 delete mode 100644 target/lm32/README
 delete mode 100644 target/lm32/TODO
 delete mode 100644 target/lm32/meson.build
 delete mode 100644 tests/tcg/lm32/Makefile
 delete mode 100644 tests/tcg/lm32/crt.S
 delete mode 100644 tests/tcg/lm32/helper.S
 delete mode 100644 tests/tcg/lm32/linker.ld
 delete mode 100644 tests/tcg/lm32/macros.inc
 delete mode 100644 tests/tcg/lm32/test_add.S
 delete mode 100644 tests/tcg/lm32/test_addi.S
 delete mode 100644 tests/tcg/lm32/test_and.S
 delete mode 100644 tests/tcg/lm32/test_andhi.S
 delete mode 100644 tests/tcg/lm32/test_andi.S
 delete mode 100644 tests/tcg/lm32/test_b.S
 delete mode 100644 tests/tcg/lm32/test_be.S
 delete mode 100644 tests/tcg/lm32/test_bg.S
 delete mode 100644 tests/tcg/lm32/test_bge.S
 delete mode 100644 tests/tcg/lm32/test_bgeu.S
 delete mode 100644 tests/tcg/lm32/test_bgu.S
 delete mode 100644 tests/tcg/lm32/test_bi.S
 delete mode 100644 tests/tcg/lm32/test_bne.S
 delete mode 100644 tests/tcg/lm32/test_break.S
 delete mode 100644 tests/tcg/lm32/test_bret.S
 delete mode 100644 tests/tcg/lm32/test_call.S
 delete mode 100644 tests/tcg/lm32/test_calli.S
 delete mode 100644 tests/tcg/lm32/test_cmpe.S
 delete mode 100644 tests/tcg/lm32/test_cmpei.S
 delete mode 100644 tests/tcg/lm32/test_cmpg.S
 delete mode 100644 tests/tcg/lm32/test_cmpge.S
 delete mode 100644 tests/tcg/lm32/test_cmpgei.S
 delete mode 100644 tests/tcg/lm32/test_cmpgeu.S
 delete mode 100644 tests/tcg/lm32/test_cmpgeui.S
 delete mode 100644 tests/tcg/lm32/test_cmpgi.S
 delete mode 100644 tests/tcg/lm32/test_cmpgu.S
 delete mode 100644 tests/tcg/lm32/test_cmpgui.S
 delete mode 100644 tests/tcg/lm32/test_cmpne.S
 delete mode 100644 tests/tcg/lm32/test_cmpnei.S
 delete mode 100644 tests/tcg/lm32/test_divu.S
 delete mode 100644 tests/tcg/lm32/test_eret.S
 delete mode 100644 tests/tcg/lm32/test_lb.S
 delete mode 100644 tests/tcg/lm32/test_lbu.S
 delete mode 100644 tests/tcg/lm32/test_lh.S
 delete mode 100644 tests/tcg/lm32/test_lhu.S
 delete mode 100644 tests/tcg/lm32/test_lw.S
 delete mode 100644 tests/tcg/lm32/test_modu.S
 delete mode 100644 tests/tcg/lm32/test_mul.S
 delete mode 100644 tests/tcg/lm32/test_muli.S
 delete mode 100644 tests/tcg/lm32/test_nor.S
 delete mode 100644 tests/tcg/lm32/test_nori.S
 delete mode 100644 tests/tcg/lm32/test_or.S
 delete mode 100644 tests/tcg/lm32/test_orhi.S
 delete mode 100644 tests/tcg/lm32/test_ori.S
 delete mode 100644 tests/tcg/lm32/test_ret.S
 delete mode 100644 tests/tcg/lm32/test_sb.S
 delete mode 100644 tests/tcg/lm32/test_scall.S
 delete mode 100644 tests/tcg/lm32/test_sextb.S
 delete mode 100644 tests/tcg/lm32/test_sexth.S
 delete mode 100644 tests/tcg/lm32/test_sh.S
 delete mode 100644 tests/tcg/lm32/test_sl.S
 delete mode 100644 tests/tcg/lm32/test_sli.S
 delete mode 100644 tests/tcg/lm32/test_sr.S
 delete mode 100644 tests/tcg/lm32/test_sri.S
 delete mode 100644 tests/tcg/lm32/test_sru.S
 delete mode 100644 tests/tcg/lm32/test_srui.S
 delete mode 100644 tests/tcg/lm32/test_sub.S
 delete mode 100644 tests/tcg/lm32/test_sw.S
 delete mode 100644 tests/tcg/lm32/test_xnor.S
 delete mode 100644 tests/tcg/lm32/test_xnori.S
 delete mode 100644 tests/tcg/lm32/test_xor.S
 delete mode 100644 tests/tcg/lm32/test_xori.S
docs/system/deprecated.rst +0 -8
index edebf9ecd8..e914d34298 100644
@@ -198,14 +198,6 @@ from Linux upstream kernel, declare it deprecated.
 System emulator CPUS
 --------------------
 
-``lm32`` CPUs (since 5.2.0)
-'''''''''''''''''''''''''''
-
-The ``lm32`` guest CPU support is deprecated and will be removed in
-a future version of QEMU. The only public user of this architecture
-was the milkymist project, which has been dead for years; there was
-never an upstream Linux port.
-
 ``unicore32`` CPUs (since 5.2.0)
 ''''''''''''''''''''''''''''''''
 
docs/system/removed-features.rst +7 -0
index 2133a5b9eb..e9850e4b96 100644
@@ -292,6 +292,13 @@ Nobody was using this CPU emulation in QEMU, and there were no test images
 available to make sure that the code is still working, so it has been removed
 without replacement.
 
+``lm32`` CPUs (removed in 6.1.0)
+'''''''''''''''''''''''''''
+
+The only public user of this architecture was the milkymist project,
+which has been dead for years; there was never an upstream Linux
+port.  Removed without replacement.
+
 System emulator machines
 ------------------------
 
configure +3 -4
index 4f374b4889..cccd0f8bb7 100755
@@ -1660,7 +1660,7 @@ if [ "$ARCH" = "unknown" ]; then
 fi
 
 default_target_list=""
-deprecated_targets_list=ppc64abi32-linux-user,lm32-softmmu,unicore32-softmmu
+deprecated_targets_list=ppc64abi32-linux-user,unicore32-softmmu
 deprecated_features=""
 mak_wilds=""
 
@@ -3613,7 +3613,7 @@ case "$fdt" in
 esac
 
 ##########################################
-# opengl probe (for sdl2, gtk, milkymist-tmu2)
+# opengl probe (for sdl2, gtk)
 
 gbm="no"
 if $pkg_config gbm; then
@@ -6251,14 +6251,13 @@ fi
 # UNLINK is used to remove symlinks from older development versions
 # that might get into the way when doing "git update" without doing
 # a "make distclean" in between.
-DIRS="tests tests/tcg tests/tcg/lm32 tests/qapi-schema tests/qtest/libqos"
+DIRS="tests tests/tcg tests/qapi-schema tests/qtest/libqos"
 DIRS="$DIRS tests/qtest tests/qemu-iotests tests/vm tests/fp tests/qgraph"
 DIRS="$DIRS docs docs/interop fsdev scsi"
 DIRS="$DIRS pc-bios/optionrom pc-bios/s390-ccw"
 DIRS="$DIRS roms/seabios"
 DIRS="$DIRS contrib/plugins/"
 LINKS="Makefile"
-LINKS="$LINKS tests/tcg/lm32/Makefile"
 LINKS="$LINKS tests/tcg/Makefile.target"
 LINKS="$LINKS pc-bios/optionrom/Makefile"
 LINKS="$LINKS pc-bios/s390-ccw/Makefile"
default-configs/devices/lm32-softmmu.mak deleted +0 -12
deleted file mode 100644
index 1bce3f6e8b..0000000000
@@ -1,12 +0,0 @@
-# Default configuration for lm32-softmmu
-
-# Uncomment the following lines to disable these optional devices:
-#
-#CONFIG_MILKYMIST_TMU2=n        # disabling it actually causes compile-time failures
-
-CONFIG_SEMIHOSTING=y
-
-# Boards:
-#
-CONFIG_LM32_EVR=y
-CONFIG_MILKYMIST=y
default-configs/targets/lm32-softmmu.mak deleted +0 -2
deleted file mode 100644
index 55e7184a3d..0000000000
@@ -1,2 +0,0 @@
-TARGET_ARCH=lm32
-TARGET_WORDS_BIGENDIAN=y
meson.build +1 -2
index a8e42314d8..4e99189a34 100644
@@ -834,7 +834,7 @@ if 'CONFIG_VTE' in config_host
                            link_args: config_host['VTE_LIBS'].split())
 endif
 x11 = not_found
-if gtkx11.found() or 'lm32-softmmu' in target_dirs
+if gtkx11.found()
   x11 = dependency('x11', method: 'pkg-config', required: gtkx11.found(),
                    kwargs: static_kwargs)
 endif
@@ -1197,7 +1197,6 @@ disassemblers = {
   'i386' : ['CONFIG_I386_DIS'],
   'x86_64' : ['CONFIG_I386_DIS'],
   'x32' : ['CONFIG_I386_DIS'],
-  'lm32' : ['CONFIG_LM32_DIS'],
   'm68k' : ['CONFIG_M68K_DIS'],
   'microblaze' : ['CONFIG_MICROBLAZE_DIS'],
   'mips' : ['CONFIG_MIPS_DIS'],
qapi/machine.json +1 -1
index f1e2ccceba..37a7e34195 100644
@@ -29,7 +29,7 @@
 # Since: 3.0
 ##
 { 'enum' : 'SysEmuTarget',
-  'data' : [ 'aarch64', 'alpha', 'arm', 'avr', 'cris', 'hppa', 'i386', 'lm32',
+  'data' : [ 'aarch64', 'alpha', 'arm', 'avr', 'cris', 'hppa', 'i386',
              'm68k', 'microblaze', 'microblazeel', 'mips', 'mips64',
              'mips64el', 'mipsel', 'nios2', 'or1k', 'ppc',
              'ppc64', 'riscv32', 'riscv64', 'rx', 's390x', 'sh4',
hw/display/milkymist-vgafb_template.h deleted +0 -74

74 lines not on this page · raw message

hw/lm32/lm32.h deleted +0 -48

48 lines not on this page · raw message

hw/lm32/lm32_hwsetup.h deleted +0 -179

179 lines not on this page · raw message

hw/lm32/milkymist-hw.h deleted +0 -133

133 lines not on this page · raw message

hw/usb/quirks-ftdi-ids.h +0 -6
index 57c12ef662..01aca55ca7 100644
@@ -1221,12 +1221,6 @@
 #define FTDI_SCIENCESCOPE_LS_LOGBOOK_PID	0xFF1C
 #define FTDI_SCIENCESCOPE_HS_LOGBOOK_PID	0xFF1D
 
-/*
- * Milkymist One JTAG/Serial
- */
-#define QIHARDWARE_VID			0x20B7
-#define MILKYMISTONE_JTAGSERIAL_PID	0x0713
-
 /*
  * CTI GmbH RS485 Converter http://www.cti-lean.com/
  */
hw/usb/quirks.h +0 -1
index 50ef2f9c2e..c3e595f40b 100644
@@ -904,7 +904,6 @@ static const struct usb_device_id usbredir_ftdi_serial_ids[] = {
     { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_HS_LOGBOOK_PID) },
     { USB_DEVICE(FTDI_VID, FTDI_CINTERION_MC55I_PID) },
     { USB_DEVICE(FTDI_VID, FTDI_DOTEC_PID) },
-    { USB_DEVICE(QIHARDWARE_VID, MILKYMISTONE_JTAGSERIAL_PID) },
     { USB_DEVICE(ST_VID, ST_STMCLT1030_PID) },
     { USB_DEVICE(FTDI_VID, FTDI_RF_R106) },
     { USB_DEVICE(FTDI_VID, FTDI_DISTORTEC_JTAG_LOCK_PICK_PID) },
include/disas/dis-asm.h +0 -3
index 038d288316..68b5dc590c 100644
@@ -243,8 +243,6 @@ enum bfd_architecture
 #define bfd_mach_nios2          0
 #define bfd_mach_nios2r1        1
 #define bfd_mach_nios2r2        2
-  bfd_arch_lm32,       /* Lattice Mico32 */
-#define bfd_mach_lm32 1
   bfd_arch_rx,       /* Renesas RX */
 #define bfd_mach_rx            0x75
 #define bfd_mach_rx_v2         0x76
@@ -451,7 +449,6 @@ int print_insn_crisv32          (bfd_vma, disassemble_info*);
 int print_insn_crisv10          (bfd_vma, disassemble_info*);
 int print_insn_microblaze       (bfd_vma, disassemble_info*);
 int print_insn_ia64             (bfd_vma, disassemble_info*);
-int print_insn_lm32             (bfd_vma, disassemble_info*);
 int print_insn_big_nios2        (bfd_vma, disassemble_info*);
 int print_insn_little_nios2     (bfd_vma, disassemble_info*);
 int print_insn_xtensa           (bfd_vma, disassemble_info*);
include/exec/poison.h +0 -2
index de972bfd8e..b102e3cbf0 100644
@@ -12,7 +12,6 @@
 #pragma GCC poison TARGET_CRIS
 #pragma GCC poison TARGET_HEXAGON
 #pragma GCC poison TARGET_HPPA
-#pragma GCC poison TARGET_LM32
 #pragma GCC poison TARGET_M68K
 #pragma GCC poison TARGET_MICROBLAZE
 #pragma GCC poison TARGET_MIPS
@@ -73,7 +72,6 @@
 #pragma GCC poison CONFIG_HPPA_DIS
 #pragma GCC poison CONFIG_I386_DIS
 #pragma GCC poison CONFIG_HEXAGON_DIS
-#pragma GCC poison CONFIG_LM32_DIS
 #pragma GCC poison CONFIG_M68K_DIS
 #pragma GCC poison CONFIG_MICROBLAZE_DIS
 #pragma GCC poison CONFIG_MIPS_DIS
include/hw/char/lm32_juart.h deleted +0 -13
deleted file mode 100644
index 6fce278326..0000000000
@@ -1,13 +0,0 @@
-#ifndef QEMU_HW_CHAR_LM32_JUART_H
-#define QEMU_HW_CHAR_LM32_JUART_H
-
-#include "hw/qdev-core.h"
-
-#define TYPE_LM32_JUART "lm32-juart"
-
-uint32_t lm32_juart_get_jtx(DeviceState *d);
-uint32_t lm32_juart_get_jrx(DeviceState *d);
-void lm32_juart_set_jtx(DeviceState *d, uint32_t jtx);
-void lm32_juart_set_jrx(DeviceState *d, uint32_t jrx);
-
-#endif /* QEMU_HW_CHAR_LM32_JUART_H */
include/hw/display/milkymist_tmu2.h deleted +0 -42

42 lines not on this page · raw message

include/hw/lm32/lm32_pic.h deleted +0 -10
deleted file mode 100644
index 9e5e038437..0000000000
@@ -1,10 +0,0 @@
-#ifndef QEMU_HW_LM32_PIC_H
-#define QEMU_HW_LM32_PIC_H
-
-
-uint32_t lm32_pic_get_ip(DeviceState *d);
-uint32_t lm32_pic_get_im(DeviceState *d);
-void lm32_pic_set_ip(DeviceState *d, uint32_t ip);
-void lm32_pic_set_im(DeviceState *d, uint32_t im);
-
-#endif /* QEMU_HW_LM32_PIC_H */
include/sysemu/arch_init.h +0 -1
index 44e3734d18..fc002b84de 100644
@@ -9,7 +9,6 @@ enum {
     QEMU_ARCH_CRIS = (1 << 2),
     QEMU_ARCH_I386 = (1 << 3),
     QEMU_ARCH_M68K = (1 << 4),
-    QEMU_ARCH_LM32 = (1 << 5),
     QEMU_ARCH_MICROBLAZE = (1 << 6),
     QEMU_ARCH_MIPS = (1 << 7),
     QEMU_ARCH_PPC = (1 << 8),
target/lm32/cpu-param.h deleted +0 -17
deleted file mode 100644
index d89574ad19..0000000000
@@ -1,17 +0,0 @@
-/*
- * LatticeMico32 cpu parameters for qemu.
- *
- * Copyright (c) 2010 Michael Walle <[email protected]>
- * SPDX-License-Identifier: LGPL-2.0+
- */
-
-#ifndef LM32_CPU_PARAM_H
-#define LM32_CPU_PARAM_H 1
-
-#define TARGET_LONG_BITS 32
-#define TARGET_PAGE_BITS 12
-#define TARGET_PHYS_ADDR_SPACE_BITS 32
-#define TARGET_VIRT_ADDR_SPACE_BITS 32
-#define NB_MMU_MODES 1
-
-#endif
target/lm32/cpu-qom.h deleted +0 -48

48 lines not on this page · raw message

target/lm32/cpu.h deleted +0 -262

262 lines not on this page · raw message

target/lm32/helper.h deleted +0 -14
deleted file mode 100644
index 445578c439..0000000000
@@ -1,14 +0,0 @@
-DEF_HELPER_2(raise_exception, void, env, i32)
-DEF_HELPER_1(hlt, void, env)
-DEF_HELPER_3(wcsr_bp, void, env, i32, i32)
-DEF_HELPER_3(wcsr_wp, void, env, i32, i32)
-DEF_HELPER_2(wcsr_dc, void, env, i32)
-DEF_HELPER_2(wcsr_im, void, env, i32)
-DEF_HELPER_2(wcsr_ip, void, env, i32)
-DEF_HELPER_2(wcsr_jtx, void, env, i32)
-DEF_HELPER_2(wcsr_jrx, void, env, i32)
-DEF_HELPER_1(rcsr_im, i32, env)
-DEF_HELPER_1(rcsr_ip, i32, env)
-DEF_HELPER_1(rcsr_jtx, i32, env)
-DEF_HELPER_1(rcsr_jrx, i32, env)
-DEF_HELPER_1(ill, void, env)
disas/lm32.c deleted +0 -361

361 lines not on this page · raw message

hw/audio/milkymist-ac97.c deleted +0 -360

360 lines not on this page · raw message

hw/char/lm32_juart.c deleted +0 -166

166 lines not on this page · raw message

hw/char/lm32_uart.c deleted +0 -314

314 lines not on this page · raw message

hw/char/milkymist-uart.c deleted +0 -258

258 lines not on this page · raw message

hw/display/milkymist-tmu2.c deleted +0 -551

551 lines not on this page · raw message

hw/display/milkymist-vgafb.c deleted +0 -360

360 lines not on this page · raw message

hw/input/milkymist-softusb.c deleted +0 -319

319 lines not on this page · raw message

hw/intc/lm32_pic.c deleted +0 -195

195 lines not on this page · raw message

hw/lm32/lm32_boards.c deleted +0 -333

333 lines not on this page · raw message

hw/lm32/milkymist.c deleted +0 -250

250 lines not on this page · raw message

hw/misc/milkymist-hpdmc.c deleted +0 -172

172 lines not on this page · raw message

hw/misc/milkymist-pfpu.c deleted +0 -548

548 lines not on this page · raw message

hw/net/milkymist-minimac2.c deleted +0 -547

547 lines not on this page · raw message

hw/sd/milkymist-memcard.c deleted +0 -335

335 lines not on this page · raw message

hw/timer/lm32_timer.c deleted +0 -249

249 lines not on this page · raw message

hw/timer/milkymist-sysctl.c deleted +0 -361

361 lines not on this page · raw message

softmmu/arch_init.c +0 -2
index 23b798da94..337f829965 100644

Lines of this file are not shown. View the raw message.

target/lm32/cpu.c deleted +0 -274

274 lines not on this page · raw message

target/lm32/gdbstub.c deleted +0 -92

92 lines not on this page · raw message

target/lm32/helper.c deleted +0 -224

224 lines not on this page · raw message

target/lm32/lm32-semi.c deleted +0 -212

212 lines not on this page · raw message

target/lm32/machine.c deleted +0 -33
deleted file mode 100644
index 365eaa2e47..0000000000

Lines of this file are not shown. View the raw message.

target/lm32/op_helper.c deleted +0 -148

148 lines not on this page · raw message

target/lm32/translate.c deleted +0 -1237

1,237 lines not on this page · raw message

tests/qtest/machine-none-test.c +0 -1
index 5feada15dc..0ec1549648 100644

Lines of this file are not shown. View the raw message.

fpu/softfloat-specialize.c.inc +1 -1
index 291502156e..45b7bf81dc 100644

Lines of this file are not shown. View the raw message.

.gitlab-ci.yml +1 -1
index 9970d91809..708e03e94e 100644

Lines of this file are not shown. View the raw message.

MAINTAINERS +0 -25
index 7b9683732a..5b4cd11498 100644

Lines of this file are not shown. View the raw message.

disas/meson.build +0 -1
index 39a5475ff6..449f99e1de 100644

Lines of this file are not shown. View the raw message.

hw/Kconfig +0 -1
index 559b7636f4..10a48d1492 100644

Lines of this file are not shown. View the raw message.

hw/audio/meson.build +0 -1
index 32c42bdebe..e48a9fc73d 100644

Lines of this file are not shown. View the raw message.

hw/audio/trace-events +0 -12
index 60556b4a97..432e10712f 100644

Lines of this file are not shown. View the raw message.

hw/char/meson.build +0 -3
index da5bb8b762..31bf506398 100644

Lines of this file are not shown. View the raw message.

hw/char/trace-events +0 -17
index 76d52938ea..76d303b953 100644

Lines of this file are not shown. View the raw message.

hw/display/Kconfig +0 -4
index ca46b5830e..a2306b67d8 100644

Lines of this file are not shown. View the raw message.

hw/display/meson.build +0 -2
index 9d79e3951d..738e553ec4 100644

Lines of this file are not shown. View the raw message.

hw/display/trace-events +0 -10
index 957b8ba994..9fccca18a1 100644

Lines of this file are not shown. View the raw message.

hw/input/meson.build +0 -1
index 0042c3f0dc..8deb011d4a 100644

Lines of this file are not shown. View the raw message.

hw/input/trace-events +0 -7
index 1dd8ad6018..33741e74f5 100644

Lines of this file are not shown. View the raw message.

hw/intc/meson.build +0 -1
index 1c299039f6..cc7a140f3f 100644

Lines of this file are not shown. View the raw message.

hw/intc/trace-events +0 -9
index c9ab17234b..626bb554b2 100644

Lines of this file are not shown. View the raw message.

hw/lm32/Kconfig deleted +0 -18
deleted file mode 100644
index 8ac94205d7..0000000000

Lines of this file are not shown. View the raw message.

hw/lm32/meson.build deleted +0 -6
deleted file mode 100644
index 42d6f8db3d..0000000000

Lines of this file are not shown. View the raw message.

hw/meson.build +0 -1
index 503cbc974f..56ce810c4b 100644

Lines of this file are not shown. View the raw message.

hw/misc/meson.build +0 -1
index 21034dc60a..2afdd82232 100644

Lines of this file are not shown. View the raw message.

hw/misc/trace-events +0 -10
index d0a89eb059..0752217636 100644

Lines of this file are not shown. View the raw message.

hw/net/meson.build +0 -1
index af0749c42b..bdf71f1f40 100644

Lines of this file are not shown. View the raw message.

hw/net/trace-events +0 -12
index baf25ffa7e..314e21fa99 100644

Lines of this file are not shown. View the raw message.

hw/sd/meson.build +0 -1
index 9c29691e13..f1ce357a3b 100644

Lines of this file are not shown. View the raw message.

hw/sd/trace-events +0 -4
index 4140e48540..e185d07a1d 100644

Lines of this file are not shown. View the raw message.

hw/timer/meson.build +0 -2
index 598d058506..f2081d261a 100644

Lines of this file are not shown. View the raw message.

hw/timer/trace-events +0 -17
index f8b9db25c2..029fb56280 100644

Lines of this file are not shown. View the raw message.

qemu-options.hx +2 -2
index fd21002bd6..c9e7fe2d75 100644

Lines of this file are not shown. View the raw message.

target/lm32/README deleted +0 -45

45 lines not on this page · raw message

target/lm32/TODO deleted +0 -1
deleted file mode 100644
index e163c42ebe..0000000000

Lines of this file are not shown. View the raw message.

target/lm32/meson.build deleted +0 -15
deleted file mode 100644
index ef0eef07f1..0000000000

Lines of this file are not shown. View the raw message.

target/meson.build +0 -1
index 289a654caf..ccc87f30f3 100644

Lines of this file are not shown. View the raw message.

tests/tcg/README +0 -6
index 2a58f9a058..706bb185b4 100644

Lines of this file are not shown. View the raw message.

tests/tcg/configure.sh +1 -1
index fa1a4261a4..8f20ce065d 100755

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/Makefile deleted +0 -106

106 lines not on this page · raw message

tests/tcg/lm32/crt.S deleted +0 -84

84 lines not on this page · raw message

tests/tcg/lm32/helper.S deleted +0 -65

65 lines not on this page · raw message

tests/tcg/lm32/linker.ld deleted +0 -55

55 lines not on this page · raw message

tests/tcg/lm32/macros.inc deleted +0 -90

90 lines not on this page · raw message

tests/tcg/lm32/test_add.S deleted +0 -75

75 lines not on this page · raw message

tests/tcg/lm32/test_addi.S deleted +0 -56

56 lines not on this page · raw message

tests/tcg/lm32/test_and.S deleted +0 -45

45 lines not on this page · raw message

tests/tcg/lm32/test_andhi.S deleted +0 -35
deleted file mode 100644
index 4f73af550b..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_andi.S deleted +0 -35
deleted file mode 100644
index da1b0a32f7..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_b.S deleted +0 -13
deleted file mode 100644
index 98172d8a95..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_be.S deleted +0 -48

48 lines not on this page · raw message

tests/tcg/lm32/test_bg.S deleted +0 -78

78 lines not on this page · raw message

tests/tcg/lm32/test_bge.S deleted +0 -78

78 lines not on this page · raw message

tests/tcg/lm32/test_bgeu.S deleted +0 -78

78 lines not on this page · raw message

tests/tcg/lm32/test_bgu.S deleted +0 -78

78 lines not on this page · raw message

tests/tcg/lm32/test_bi.S deleted +0 -23
deleted file mode 100644
index a1fbd6fc07..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_bne.S deleted +0 -48

48 lines not on this page · raw message

tests/tcg/lm32/test_break.S deleted +0 -20
deleted file mode 100644
index 0384fc6128..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_bret.S deleted +0 -38
deleted file mode 100644
index 645210e434..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_call.S deleted +0 -16
deleted file mode 100644
index 1b91a5f2be..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_calli.S deleted +0 -15
deleted file mode 100644
index 1d87ae6e21..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_cmpe.S deleted +0 -40
deleted file mode 100644
index 60a885500b..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_cmpei.S deleted +0 -35
deleted file mode 100644
index c3d3566ad3..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_cmpg.S deleted +0 -64

64 lines not on this page · raw message

tests/tcg/lm32/test_cmpge.S deleted +0 -64

64 lines not on this page · raw message

tests/tcg/lm32/test_cmpgei.S deleted +0 -70

70 lines not on this page · raw message

tests/tcg/lm32/test_cmpgeu.S deleted +0 -64

64 lines not on this page · raw message

tests/tcg/lm32/test_cmpgeui.S deleted +0 -70

70 lines not on this page · raw message

tests/tcg/lm32/test_cmpgi.S deleted +0 -70

70 lines not on this page · raw message

tests/tcg/lm32/test_cmpgu.S deleted +0 -64

64 lines not on this page · raw message

tests/tcg/lm32/test_cmpgui.S deleted +0 -70

70 lines not on this page · raw message

tests/tcg/lm32/test_cmpne.S deleted +0 -40
deleted file mode 100644
index 0f1078114c..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_cmpnei.S deleted +0 -35
deleted file mode 100644
index 060dd9d394..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_divu.S deleted +0 -29
deleted file mode 100644
index f381d095c5..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_eret.S deleted +0 -38
deleted file mode 100644
index 6830bd1abf..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_lb.S deleted +0 -49

49 lines not on this page · raw message

tests/tcg/lm32/test_lbu.S deleted +0 -49

49 lines not on this page · raw message

tests/tcg/lm32/test_lh.S deleted +0 -49

49 lines not on this page · raw message

tests/tcg/lm32/test_lhu.S deleted +0 -49

49 lines not on this page · raw message

tests/tcg/lm32/test_lw.S deleted +0 -32
deleted file mode 100644
index 996e5f8c88..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_modu.S deleted +0 -35
deleted file mode 100644
index 42486900b4..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_mul.S deleted +0 -70

70 lines not on this page · raw message

tests/tcg/lm32/test_muli.S deleted +0 -45

45 lines not on this page · raw message

tests/tcg/lm32/test_nor.S deleted +0 -51

51 lines not on this page · raw message

tests/tcg/lm32/test_nori.S deleted +0 -35
deleted file mode 100644
index d00309c73e..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_or.S deleted +0 -51

51 lines not on this page · raw message

tests/tcg/lm32/test_orhi.S deleted +0 -35
deleted file mode 100644
index 78b7600e03..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_ori.S deleted +0 -35
deleted file mode 100644
index 3d576cdb8b..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_ret.S deleted +0 -14
deleted file mode 100644
index 320264f148..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sb.S deleted +0 -32
deleted file mode 100644
index b15a89d342..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_scall.S deleted +0 -24
deleted file mode 100644
index 46032f841d..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sextb.S deleted +0 -20
deleted file mode 100644
index 58db8ee8b9..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sexth.S deleted +0 -20
deleted file mode 100644
index a059ec3ee6..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sh.S deleted +0 -32
deleted file mode 100644
index bba10224f6..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sl.S deleted +0 -45

45 lines not on this page · raw message

tests/tcg/lm32/test_sli.S deleted +0 -30
deleted file mode 100644
index a421de9014..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sr.S deleted +0 -57

57 lines not on this page · raw message

tests/tcg/lm32/test_sri.S deleted +0 -40
deleted file mode 100644
index c1be907b5b..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sru.S deleted +0 -57

57 lines not on this page · raw message

tests/tcg/lm32/test_srui.S deleted +0 -40
deleted file mode 100644
index 872c374121..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_sub.S deleted +0 -75

75 lines not on this page · raw message

tests/tcg/lm32/test_sw.S deleted +0 -38
deleted file mode 100644
index 2b1c017e7b..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_xnor.S deleted +0 -51

51 lines not on this page · raw message

tests/tcg/lm32/test_xnori.S deleted +0 -35
deleted file mode 100644
index 9d9c3c6780..0000000000

Lines of this file are not shown. View the raw message.

tests/tcg/lm32/test_xor.S deleted +0 -51

51 lines not on this page · raw message

tests/tcg/lm32/test_xori.S deleted +0 -35
deleted file mode 100644
index 2051699f12..0000000000

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.26.3

Part of the diff is not shown here. View the raw message.

Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] Drop the deprecated lm32 target

Am 2021-05-03 10:40, schrieb Markus Armbruster:

Quoted 5 lines

Target lm32 was deprecated in commit d8498005122, v5.2.0. See there for rationale.

Some of its code lives on in device models derived from milkymist
ones: hw/char/digic-uart.c and hw/display/bcm2835_fb.c.

yaay ;)

Quoted 2 lines
#3 lore raw

Re: [PATCH 1/2] Drop the deprecated lm32 target

Quoted 8 lines · Michael Walle

Am 2021-05-03 10:40, schrieb Markus Armbruster:

Quoted 5 lines

Target lm32 was deprecated in commit d8498005122, v5.2.0. See there for rationale.

Some of its code lives on in device models derived from milkymist
ones: hw/char/digic-uart.c and hw/display/bcm2835_fb.c.

yaay ;)

Even at a glance, it was obvious to me that a lot of care went into the code being removed. Thanks for serving as its maintainer!

Quoted 4 lines
Quoted 2 lines

And for this, too :)

#4 lore raw

PATCH 2/2 Drop the deprecated unicore32 target

In reply to Markus Armbruster

Target unicore32 was deprecated in commit 8e4ff4a8d2b, v5.2.0. See there for rationale.

---
 docs/system/deprecated.rst                    |    8 -
 docs/system/removed-features.rst              |    9 +-
 configure                                     |    2 +-
 default-configs/devices/unicore32-softmmu.mak |    6 -
 default-configs/targets/unicore32-softmmu.mak |    1 -
 qapi/machine.json                             |    2 +-
 include/elf.h                                 |    3 +-
 include/exec/poison.h                         |    1 -
 include/hw/unicore32/puv3.h                   |   40 -
 include/sysemu/arch_init.h                    |    1 -
 target/unicore32/cpu-param.h                  |   17 -
 target/unicore32/cpu-qom.h                    |   37 -
 target/unicore32/cpu.h                        |  168 --
 target/unicore32/helper.h                     |   62 -
 hw/dma/puv3_dma.c                             |  119 -
 hw/gpio/puv3_gpio.c                           |  154 --
 hw/intc/puv3_intc.c                           |  147 --
 hw/misc/puv3_pm.c                             |  159 --
 hw/timer/puv3_ost.c                           |  166 --
 hw/unicore32/puv3.c                           |  145 --
 softmmu/arch_init.c                           |    2 -
 target/unicore32/cpu.c                        |  174 --
 target/unicore32/helper.c                     |  183 --
 target/unicore32/op_helper.c                  |  244 --
 target/unicore32/softmmu.c                    |  280 ---
 target/unicore32/translate.c                  | 2083 -----------------
 target/unicore32/ucf64_helper.c               |  324 ---
 tests/qtest/machine-none-test.c               |    1 -
 fpu/softfloat-specialize.c.inc                |   11 +-
 .gitlab-ci.yml                                |    2 +-
 MAINTAINERS                                   |   15 -
 hw/Kconfig                                    |    1 -
 hw/dma/meson.build                            |    1 -
 hw/gpio/meson.build                           |    1 -
 hw/intc/meson.build                           |    1 -
 hw/meson.build                                |    1 -
 hw/misc/meson.build                           |    3 -
 hw/timer/meson.build                          |    1 -
 hw/unicore32/Kconfig                          |    5 -
 hw/unicore32/meson.build                      |    5 -
 target/meson.build                            |    1 -
 target/unicore32/meson.build                  |   14 -
 42 files changed, 17 insertions(+), 4583 deletions(-)
 delete mode 100644 default-configs/devices/unicore32-softmmu.mak
 delete mode 100644 default-configs/targets/unicore32-softmmu.mak
 delete mode 100644 include/hw/unicore32/puv3.h
 delete mode 100644 target/unicore32/cpu-param.h
 delete mode 100644 target/unicore32/cpu-qom.h
 delete mode 100644 target/unicore32/cpu.h
 delete mode 100644 target/unicore32/helper.h
 delete mode 100644 hw/dma/puv3_dma.c
 delete mode 100644 hw/gpio/puv3_gpio.c
 delete mode 100644 hw/intc/puv3_intc.c
 delete mode 100644 hw/misc/puv3_pm.c
 delete mode 100644 hw/timer/puv3_ost.c
 delete mode 100644 hw/unicore32/puv3.c
 delete mode 100644 target/unicore32/cpu.c
 delete mode 100644 target/unicore32/helper.c
 delete mode 100644 target/unicore32/op_helper.c
 delete mode 100644 target/unicore32/softmmu.c
 delete mode 100644 target/unicore32/translate.c
 delete mode 100644 target/unicore32/ucf64_helper.c
 delete mode 100644 hw/unicore32/Kconfig
 delete mode 100644 hw/unicore32/meson.build
 delete mode 100644 target/unicore32/meson.build
docs/system/deprecated.rst +0 -8
index e914d34298..2592c4fbd5 100644
@@ -198,14 +198,6 @@ from Linux upstream kernel, declare it deprecated.
 System emulator CPUS
 --------------------
 
-``unicore32`` CPUs (since 5.2.0)
-''''''''''''''''''''''''''''''''
-
-The ``unicore32`` guest CPU support is deprecated and will be removed in
-a future version of QEMU. Support for this CPU was removed from the
-upstream Linux kernel, and there is no available upstream toolchain
-to build binaries for it.
-
 ``Icelake-Client`` CPU Model (since 5.2.0)
 ''''''''''''''''''''''''''''''''''''''''''
 
docs/system/removed-features.rst +8 -1
index e9850e4b96..b399084438 100644
@@ -293,12 +293,19 @@ available to make sure that the code is still working, so it has been removed
 without replacement.
 
 ``lm32`` CPUs (removed in 6.1.0)
-'''''''''''''''''''''''''''
+''''''''''''''''''''''''''''''''
 
 The only public user of this architecture was the milkymist project,
 which has been dead for years; there was never an upstream Linux
 port.  Removed without replacement.
 
+``unicore32`` CPUs (since 6.1.0)
+''''''''''''''''''''''''''''''''
+
+Support for this CPU was removed from the upstream Linux kernel, and
+there is no available upstream toolchain to build binaries for it.
+Removed without replacement.
+
 System emulator machines
 ------------------------
 
configure +1 -1
index cccd0f8bb7..7824341d5b 100755
@@ -1660,7 +1660,7 @@ if [ "$ARCH" = "unknown" ]; then
 fi
 
 default_target_list=""
-deprecated_targets_list=ppc64abi32-linux-user,unicore32-softmmu
+deprecated_targets_list=ppc64abi32-linux-user
 deprecated_features=""
 mak_wilds=""
 
default-configs/devices/unicore32-softmmu.mak deleted +0 -6
deleted file mode 100644
index 899288e3d7..0000000000
@@ -1,6 +0,0 @@
-# Default configuration for unicore32-softmmu
-
-# Boards:
-#
-CONFIG_PUV3=y
-CONFIG_SEMIHOSTING=y
default-configs/targets/unicore32-softmmu.mak deleted +0 -1
deleted file mode 100644
index 57331e94fe..0000000000
@@ -1 +0,0 @@
-TARGET_ARCH=unicore32
qapi/machine.json +1 -1
index 37a7e34195..58a9c86b36 100644
@@ -33,7 +33,7 @@
              'm68k', 'microblaze', 'microblazeel', 'mips', 'mips64',
              'mips64el', 'mipsel', 'nios2', 'or1k', 'ppc',
              'ppc64', 'riscv32', 'riscv64', 'rx', 's390x', 'sh4',
-             'sh4eb', 'sparc', 'sparc64', 'tricore', 'unicore32',
+             'sh4eb', 'sparc', 'sparc64', 'tricore',
              'x86_64', 'xtensa', 'xtensaeb' ] }
 
 ##
include/elf.h +1 -2
index 33ed830ec3..033bcc9576 100644
@@ -174,9 +174,8 @@ typedef struct mips_elf_abiflags_v0 {
 
 #define EM_OPENRISC     92        /* OpenCores OpenRISC */
 
-#define EM_UNICORE32    110     /* UniCore32 */
-
 #define EM_HEXAGON      164     /* Qualcomm Hexagon */
+
 #define EM_RX           173     /* Renesas RX family */
 
 #define EM_RISCV        243     /* RISC-V */
include/exec/poison.h +0 -1
index b102e3cbf0..8fc7530b6e 100644
@@ -30,7 +30,6 @@
 #pragma GCC poison TARGET_SPARC
 #pragma GCC poison TARGET_SPARC64
 #pragma GCC poison TARGET_TRICORE
-#pragma GCC poison TARGET_UNICORE32
 #pragma GCC poison TARGET_XTENSA
 
 #pragma GCC poison TARGET_ALIGNED_ONLY
include/hw/unicore32/puv3.h deleted +0 -40
deleted file mode 100644
index f587a1f622..0000000000
@@ -1,40 +0,0 @@
-/*
- * Misc PKUnity SoC declarations
- *
- * Copyright (C) 2010-2012 Guan Xuetao
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation, or any later version.
- * See the COPYING file in the top-level directory.
- */
-
-#ifndef QEMU_HW_PUV3_H
-#define QEMU_HW_PUV3_H
-
-#define PUV3_REGS_OFFSET        (0x1000) /* 4K is reasonable */
-
-/* Hardware interrupts */
-#define PUV3_IRQS_NR            (32)
-
-#define PUV3_IRQS_GPIOLOW0      (0)
-#define PUV3_IRQS_GPIOLOW1      (1)
-#define PUV3_IRQS_GPIOLOW2      (2)
-#define PUV3_IRQS_GPIOLOW3      (3)
-#define PUV3_IRQS_GPIOLOW4      (4)
-#define PUV3_IRQS_GPIOLOW5      (5)
-#define PUV3_IRQS_GPIOLOW6      (6)
-#define PUV3_IRQS_GPIOLOW7      (7)
-#define PUV3_IRQS_GPIOHIGH      (8)
-#define PUV3_IRQS_PS2_KBD       (22)
-#define PUV3_IRQS_PS2_AUX       (23)
-#define PUV3_IRQS_OST0          (26)
-
-/* All puv3_*.c use DPRINTF for debug. */
-#ifdef DEBUG_PUV3
-#define DPRINTF(fmt, ...) printf("%s: " fmt , __func__, ## __VA_ARGS__)
-#else
-#define DPRINTF(fmt, ...) do {} while (0)
-#endif
-
-#endif /* QEMU_HW_PUV3_H */
include/sysemu/arch_init.h +0 -1
index fc002b84de..e723c467eb 100644
@@ -17,7 +17,6 @@ enum {
     QEMU_ARCH_SPARC = (1 << 11),
     QEMU_ARCH_XTENSA = (1 << 12),
     QEMU_ARCH_OPENRISC = (1 << 13),
-    QEMU_ARCH_UNICORE32 = (1 << 14),
     QEMU_ARCH_TRICORE = (1 << 16),
     QEMU_ARCH_NIOS2 = (1 << 17),
     QEMU_ARCH_HPPA = (1 << 18),
target/unicore32/cpu-param.h deleted +0 -17
deleted file mode 100644
index 94d8a5daa1..0000000000
@@ -1,17 +0,0 @@
-/*
- * UniCore32 cpu parameters for qemu.
- *
- * Copyright (C) 2010-2012 Guan Xuetao
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#ifndef UNICORE32_CPU_PARAM_H
-#define UNICORE32_CPU_PARAM_H 1
-
-#define TARGET_LONG_BITS                32
-#define TARGET_PAGE_BITS                12
-#define TARGET_PHYS_ADDR_SPACE_BITS     32
-#define TARGET_VIRT_ADDR_SPACE_BITS     32
-#define NB_MMU_MODES      2
-
-#endif
target/unicore32/cpu-qom.h deleted +0 -37
deleted file mode 100644
index 43621e7479..0000000000
@@ -1,37 +0,0 @@
-/*
- * QEMU UniCore32 CPU
- *
- * Copyright (c) 2012 SUSE LINUX Products GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation, or (at your option) any
- * later version. See the COPYING file in the top-level directory.
- */
-#ifndef QEMU_UC32_CPU_QOM_H
-#define QEMU_UC32_CPU_QOM_H
-
-#include "hw/core/cpu.h"
-#include "qom/object.h"
-
-#define TYPE_UNICORE32_CPU "unicore32-cpu"
-
-OBJECT_DECLARE_TYPE(UniCore32CPU, UniCore32CPUClass,
-                    UNICORE32_CPU)
-
-/**
- * UniCore32CPUClass:
- * @parent_realize: The parent class' realize handler.
- *
- * A UniCore32 CPU model.
- */
-struct UniCore32CPUClass {
-    /*< private >*/
-    CPUClass parent_class;
-    /*< public >*/
-
-    DeviceRealize parent_realize;
-};
-
-
-#endif
target/unicore32/cpu.h deleted +0 -168

168 lines not on this page · raw message

target/unicore32/helper.h deleted +0 -62

62 lines not on this page · raw message

hw/dma/puv3_dma.c deleted +0 -119

119 lines not on this page · raw message

hw/gpio/puv3_gpio.c deleted +0 -154

154 lines not on this page · raw message

hw/intc/puv3_intc.c deleted +0 -147

147 lines not on this page · raw message

hw/misc/puv3_pm.c deleted +0 -159

159 lines not on this page · raw message

hw/timer/puv3_ost.c deleted +0 -166

166 lines not on this page · raw message

hw/unicore32/puv3.c deleted +0 -145

145 lines not on this page · raw message

softmmu/arch_init.c +0 -2
index 337f829965..e0254e822d 100644
@@ -82,8 +82,6 @@ int graphic_depth = 32;
 #define QEMU_ARCH QEMU_ARCH_SPARC
 #elif defined(TARGET_TRICORE)
 #define QEMU_ARCH QEMU_ARCH_TRICORE
-#elif defined(TARGET_UNICORE32)
-#define QEMU_ARCH QEMU_ARCH_UNICORE32
 #elif defined(TARGET_XTENSA)
 #define QEMU_ARCH QEMU_ARCH_XTENSA
 #elif defined(TARGET_AVR)
target/unicore32/cpu.c deleted +0 -174

174 lines not on this page · raw message

target/unicore32/helper.c deleted +0 -183

183 lines not on this page · raw message

target/unicore32/op_helper.c deleted +0 -244

244 lines not on this page · raw message

target/unicore32/softmmu.c deleted +0 -280

280 lines not on this page · raw message

target/unicore32/translate.c deleted +0 -2083

816 lines not on this page · raw message

target/unicore32/ucf64_helper.c deleted +0 -324

324 lines not on this page · raw message

tests/qtest/machine-none-test.c +0 -1
index 0ec1549648..138101b46a 100644

Lines of this file are not shown. View the raw message.

fpu/softfloat-specialize.c.inc +5 -6
index 45b7bf81dc..b5b50537bf 100644

Lines of this file are not shown. View the raw message.

.gitlab-ci.yml +1 -1
index 708e03e94e..11030e0fd6 100644

Lines of this file are not shown. View the raw message.

MAINTAINERS +0 -15
index 5b4cd11498..029a18fdad 100644

Lines of this file are not shown. View the raw message.

hw/Kconfig +0 -1
index 10a48d1492..aa10357adf 100644

Lines of this file are not shown. View the raw message.

hw/dma/meson.build +0 -1
index 5c78a4e05f..f3f0661bc3 100644

Lines of this file are not shown. View the raw message.

hw/gpio/meson.build +0 -1
index 79568f00ce..7bd6a57264 100644

Lines of this file are not shown. View the raw message.

hw/intc/meson.build +0 -1
index cc7a140f3f..6e52a166e3 100644

Lines of this file are not shown. View the raw message.

hw/meson.build +0 -1
index 56ce810c4b..6bdbae0e81 100644

Lines of this file are not shown. View the raw message.

hw/misc/meson.build +0 -3
index 2afdd82232..9b6fd1facb 100644

Lines of this file are not shown. View the raw message.

hw/timer/meson.build +0 -1
index f2081d261a..157f540ecd 100644

Lines of this file are not shown. View the raw message.

hw/unicore32/Kconfig deleted +0 -5
deleted file mode 100644
index 4443a29dd2..0000000000

Lines of this file are not shown. View the raw message.

hw/unicore32/meson.build deleted +0 -5
deleted file mode 100644
index fc26d6bcab..0000000000

Lines of this file are not shown. View the raw message.

target/meson.build +0 -1
index ccc87f30f3..2f6940255e 100644

Lines of this file are not shown. View the raw message.

target/unicore32/meson.build deleted +0 -14
deleted file mode 100644
index 0fa78772eb..0000000000

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.26.3

Part of the diff is not shown here. View the raw message.

Acked-by on v1 2/2
#5 lore raw

Re: [PATCH 2/2] Drop the deprecated unicore32 target

Quoted 6 lines · Markus Armbruster

Target unicore32 was deprecated in commit 8e4ff4a8d2b, v5.2.0. See there for rationale.

---

[...]

Quoted 24 lines
docs/system/deprecated.rst +0 -8
index e914d34298..2592c4fbd5 100644
@@ -198,14 +198,6 @@ from Linux upstream kernel, declare it deprecated.
  System emulator CPUS
  --------------------
 
-``unicore32`` CPUs (since 5.2.0)
-''''''''''''''''''''''''''''''''
-
-The ``unicore32`` guest CPU support is deprecated and will be removed in
-a future version of QEMU. Support for this CPU was removed from the
-upstream Linux kernel, and there is no available upstream toolchain
-to build binaries for it.
-
  ``Icelake-Client`` CPU Model (since 5.2.0)
  ''''''''''''''''''''''''''''''''''''''''''
 
docs/system/removed-features.rst +0 -0
index e9850e4b96..b399084438 100644

docs/system/removed-features.rst available to make sure that the code is still working, so it has been removed · line 296

Quoted 5 lines
docs/system/removed-features.rst +1 -1
@@ -293,12 +293,19 @@ available to make sure that the code is still working, so it has been removed
  without replacement.
 
  ``lm32`` CPUs (removed in 6.1.0)
-'''''''''''''''''''''''''''
+''''''''''''''''''''''''''''''''

Nit: That hunk should go into the previous patch.

Quoted 17 lines
fpu/softfloat-specialize.c.inc +1 -1
index 45b7bf81dc..b5b50537bf 100644
@@ -103,7 +103,7 @@ static inline bool snan_bit_is_one(float_status *status)
  {
  #if defined(TARGET_MIPS)
      return status->snan_bit_is_one;
-#elif defined(TARGET_HPPA) || defined(TARGET_UNICORE32) || defined(TARGET_SH4)
+#elif defined(TARGET_HPPA) || defined(TARGET_SH4)
      return 1;
  #else
      return 0;
@@ -146,11 +146,10 @@ static FloatParts parts_default_nan(float_status *status)
      /* snan_bit_is_one, set msb-1.  */
      frac = 1ULL << (DECOMPOSED_BINARY_POINT - 2);
  #else

fpu/softfloat-specialize.c.inc static FloatParts parts_default_nan(float_status *status) · line 153

Quoted 10 lines
fpu/softfloat-specialize.c.inc +4 -5
-    /* This case is true for Alpha, ARM, MIPS, OpenRISC, PPC, RISC-V,
-     * S390, SH4, TriCore, and Xtensa.  I cannot find documentation
-     * for Unicore32; the choice from the original commit is unchanged.
-     * Our other supported targets, CRIS, Nios2, and Tile,
-     * do not have floating-point.
+    /*
+     * This case is true for Alpha, ARM, MIPS, OpenRISC, PPC, RISC-V,
+     * S390, SH4, TriCore, and Xtensa.  Our other supported targets,
+     * CRIS, Nios2, and Tile, do not have floating-point.
       */

I guess you'll get a conflict here with my moxie removal patch... but that should be easy to solve.

FWIW:

#7 lore raw
In reply to Markus Armbruster
Patchew URL: https://patchew.org/QEMU/[email protected]/

Patchew URL: https://patchew.org/QEMU/[email protected]/

Hi,

This series seems to have some coding style problems. See output below for more information:

Type: series
Message-id: [email protected]
Subject: [PATCH 0/2] Drop deprecated lm32 and unicore32

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
- [tag update] patchew/[email protected] -> patchew/[email protected]
* [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'
c70774a Drop the deprecated unicore32 target
3299efe Drop the deprecated lm32 target

=== OUTPUT BEGIN ===
1/2 Checking commit 3299efeaeca9 (Drop the deprecated lm32 target)
ERROR: line over 90 characters
#9969: FILE: tests/tcg/configure.sh:99:
+ alpha|cris|hexagon|hppa|i386|microblaze|microblazeel|m68k|openrisc|riscv64|s390x|sh4|sparc64)

total: 1 errors, 0 warnings, 494 lines checked

Patch 1/2 has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.

2/2 Checking commit c70774a52a24 (Drop the deprecated unicore32 target) === OUTPUT END ===

Test command exited with code: 1

The full log is available at
http://patchew.org/logs/[email protected]/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]