Drop deprecated lm32 and unicore32
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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,2 +0,0 @@ -TARGET_ARCH=lm32 -TARGET_WORDS_BIGENDIAN=y
meson.build +1 -2
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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/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
target/lm32/README deleted +0 -45
45 lines not on this page · 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_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_bne.S deleted +0 -48
48 lines not on this page · 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_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_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_or.S deleted +0 -51
51 lines not on this page · raw message
tests/tcg/lm32/test_sl.S deleted +0 -45
45 lines not on this page · raw message
tests/tcg/lm32/test_sr.S deleted +0 -57
57 lines not on this page · raw message
tests/tcg/lm32/test_sru.S deleted +0 -57
57 lines not on this page · raw message
tests/tcg/lm32/test_sub.S deleted +0 -75
75 lines not on this page · raw message
tests/tcg/lm32/test_xnor.S deleted +0 -51
51 lines not on this page · raw message
tests/tcg/lm32/test_xor.S deleted +0 -51
51 lines not on this page · 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.
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.candhw/display/bcm2835_fb.c.
yaay ;)
Quoted 2 lines
Cc Michael Walle <[email protected]>Signed-off-by Markus Armbruster <[email protected]>
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.candhw/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
Cc Michael Walle <[email protected]>Signed-off-by Markus Armbruster <[email protected]>Acked-by Michael Walle <[email protected]>
And for this, too :)
PATCH 2/2 Drop the deprecated unicore32 target
In reply to Markus ArmbrusterTarget 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1 +0,0 @@ -TARGET_ARCH=unicore32
qapi/machine.json +1 -1
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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.
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.Cc Guan Xuetao <[email protected]>Signed-off-by Markus Armbruster <[email protected]>---
[...]
Quoted 24 lines
docs/system/deprecated.rst +0
-8@@ -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
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@@ -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:
Forgot to mention it's based on Thomas's "[PATCH] Remove the deprecated moxie target".
Based-on: <[email protected]>
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]