[PATCH-for-9.1 v2 0/3] target/nios2: Remove the deprecated Nios II target

Philippe Mathieu-Daudé posted 3 patches 1 month ago
Failed in applying to current master (apply log)
There is a newer version of this series
MAINTAINERS                                   |   13 -
docs/about/deprecated.rst                     |   11 -
docs/about/emulation.rst                      |    7 -
docs/about/removed-features.rst               |   14 +
docs/system/replay.rst                        |    2 +-
docs/user/main.rst                            |    4 -
configure                                     |    2 -
configs/devices/nios2-softmmu/default.mak     |    6 -
configs/targets/nios2-linux-user.mak          |    1 -
configs/targets/nios2-softmmu.mak             |    2 -
meson.build                                   |    2 -
qapi/machine.json                             |    2 +-
hw/nios2/boot.h                               |   10 -
include/disas/dis-asm.h                       |    5 -
include/exec/poison.h                         |    2 -
include/exec/user/abitypes.h                  |    3 +-
include/hw/intc/nios2_vic.h                   |   66 -
include/sysemu/arch_init.h                    |    1 -
linux-user/nios2/sockbits.h                   |    1 -
linux-user/nios2/syscall_nr.h                 |  333 --
linux-user/nios2/target_cpu.h                 |   49 -
linux-user/nios2/target_elf.h                 |   14 -
linux-user/nios2/target_errno_defs.h          |    7 -
linux-user/nios2/target_fcntl.h               |   11 -
linux-user/nios2/target_mman.h                |   11 -
linux-user/nios2/target_prctl.h               |    1 -
linux-user/nios2/target_proc.h                |    1 -
linux-user/nios2/target_resource.h            |    1 -
linux-user/nios2/target_signal.h              |    9 -
linux-user/nios2/target_structs.h             |    1 -
linux-user/nios2/target_syscall.h             |   37 -
linux-user/nios2/termbits.h                   |    1 -
linux-user/syscall_defs.h                     |    4 +-
target/nios2/cpu-param.h                      |   20 -
target/nios2/cpu-qom.h                        |   18 -
target/nios2/cpu.h                            |  301 --
target/nios2/helper.h                         |   32 -
target/nios2/mmu.h                            |   52 -
tests/tcg/nios2/semicall.h                    |   28 -
disas/nios2.c                                 | 3514 -----------------
hw/intc/nios2_vic.c                           |  313 --
hw/nios2/10m50_devboard.c                     |  181 -
hw/nios2/boot.c                               |  234 --
hw/nios2/generic_nommu.c                      |  101 -
hw/timer/altera_timer.c                       |  244 --
linux-user/elfload.c                          |   99 -
linux-user/nios2/cpu_loop.c                   |  157 -
linux-user/nios2/signal.c                     |  210 -
target/nios2/cpu.c                            |  410 --
target/nios2/helper.c                         |  371 --
target/nios2/mmu.c                            |  216 -
target/nios2/monitor.c                        |   35 -
target/nios2/nios2-semi.c                     |  230 --
target/nios2/op_helper.c                      |  119 -
target/nios2/translate.c                      | 1107 ------
tests/qtest/machine-none-test.c               |    1 -
fpu/softfloat-specialize.c.inc                |    2 +-
.gitlab-ci.d/buildtest.yml                    |    4 +-
.gitlab-ci.d/crossbuild-template.yml          |    2 +-
.gitlab-ci.d/crossbuilds.yml                  |    2 +-
disas/meson.build                             |    1 -
hw/Kconfig                                    |    1 -
hw/intc/Kconfig                               |    3 -
hw/intc/meson.build                           |    1 -
hw/meson.build                                |    1 -
hw/nios2/Kconfig                              |   13 -
hw/nios2/meson.build                          |    6 -
hw/timer/Kconfig                              |    4 -
hw/timer/meson.build                          |    1 -
qemu-options.hx                               |    8 +-
scripts/coverity-scan/COMPONENTS.md           |    3 -
scripts/gensyscalls.sh                        |    1 -
scripts/probe-gdb-support.py                  |    1 -
target/Kconfig                                |    1 -
target/meson.build                            |    1 -
target/nios2/Kconfig                          |    3 -
target/nios2/meson.build                      |   17 -
target/nios2/trace-events                     |   10 -
tests/avocado/boot_linux_console.py           |    8 -
tests/avocado/replay_kernel.py                |   11 -
tests/docker/Makefile.include                 |    5 -
.../debian-nios2-cross.d/build-toolchain.sh   |   87 -
tests/tcg/nios2/10m50-ghrd.ld                 |   70 -
tests/tcg/nios2/Makefile.softmmu-target       |   32 -
tests/tcg/nios2/Makefile.target               |   11 -
tests/tcg/nios2/boot.S                        |  218 -
tests/tcg/nios2/intr.S                        |   31 -
tests/tcg/nios2/test-shadow-1.S               |   40 -
88 files changed, 28 insertions(+), 9198 deletions(-)
delete mode 100644 configs/devices/nios2-softmmu/default.mak
delete mode 100644 configs/targets/nios2-linux-user.mak
delete mode 100644 configs/targets/nios2-softmmu.mak
delete mode 100644 hw/nios2/boot.h
delete mode 100644 include/hw/intc/nios2_vic.h
delete mode 100644 linux-user/nios2/sockbits.h
delete mode 100644 linux-user/nios2/syscall_nr.h
delete mode 100644 linux-user/nios2/target_cpu.h
delete mode 100644 linux-user/nios2/target_elf.h
delete mode 100644 linux-user/nios2/target_errno_defs.h
delete mode 100644 linux-user/nios2/target_fcntl.h
delete mode 100644 linux-user/nios2/target_mman.h
delete mode 100644 linux-user/nios2/target_prctl.h
delete mode 100644 linux-user/nios2/target_proc.h
delete mode 100644 linux-user/nios2/target_resource.h
delete mode 100644 linux-user/nios2/target_signal.h
delete mode 100644 linux-user/nios2/target_structs.h
delete mode 100644 linux-user/nios2/target_syscall.h
delete mode 100644 linux-user/nios2/termbits.h
delete mode 100644 target/nios2/cpu-param.h
delete mode 100644 target/nios2/cpu-qom.h
delete mode 100644 target/nios2/cpu.h
delete mode 100644 target/nios2/helper.h
delete mode 100644 target/nios2/mmu.h
delete mode 100644 tests/tcg/nios2/semicall.h
delete mode 100644 disas/nios2.c
delete mode 100644 hw/intc/nios2_vic.c
delete mode 100644 hw/nios2/10m50_devboard.c
delete mode 100644 hw/nios2/boot.c
delete mode 100644 hw/nios2/generic_nommu.c
delete mode 100644 hw/timer/altera_timer.c
delete mode 100644 linux-user/nios2/cpu_loop.c
delete mode 100644 linux-user/nios2/signal.c
delete mode 100644 target/nios2/cpu.c
delete mode 100644 target/nios2/helper.c
delete mode 100644 target/nios2/mmu.c
delete mode 100644 target/nios2/monitor.c
delete mode 100644 target/nios2/nios2-semi.c
delete mode 100644 target/nios2/op_helper.c
delete mode 100644 target/nios2/translate.c
delete mode 100644 hw/nios2/Kconfig
delete mode 100644 hw/nios2/meson.build
delete mode 100644 target/nios2/Kconfig
delete mode 100644 target/nios2/meson.build
delete mode 100644 target/nios2/trace-events
delete mode 100755 tests/docker/dockerfiles/debian-nios2-cross.d/build-toolchain.sh
delete mode 100644 tests/tcg/nios2/10m50-ghrd.ld
delete mode 100644 tests/tcg/nios2/Makefile.softmmu-target
delete mode 100644 tests/tcg/nios2/Makefile.target
delete mode 100644 tests/tcg/nios2/boot.S
delete mode 100644 tests/tcg/nios2/intr.S
delete mode 100644 tests/tcg/nios2/test-shadow-1.S
[PATCH-for-9.1 v2 0/3] target/nios2: Remove the deprecated Nios II target
Posted by Philippe Mathieu-Daudé 1 month ago
Since v1:
- Remove user emulation too
- Remove ALTERA_TIMER

Philippe Mathieu-Daudé (3):
  fpu/softfloat: Remove mention of TILE-Gx target
  target/nios2: Remove the deprecated Nios II target
  hw/timer: Remove the ALTERA_TIMER model

 MAINTAINERS                                   |   13 -
 docs/about/deprecated.rst                     |   11 -
 docs/about/emulation.rst                      |    7 -
 docs/about/removed-features.rst               |   14 +
 docs/system/replay.rst                        |    2 +-
 docs/user/main.rst                            |    4 -
 configure                                     |    2 -
 configs/devices/nios2-softmmu/default.mak     |    6 -
 configs/targets/nios2-linux-user.mak          |    1 -
 configs/targets/nios2-softmmu.mak             |    2 -
 meson.build                                   |    2 -
 qapi/machine.json                             |    2 +-
 hw/nios2/boot.h                               |   10 -
 include/disas/dis-asm.h                       |    5 -
 include/exec/poison.h                         |    2 -
 include/exec/user/abitypes.h                  |    3 +-
 include/hw/intc/nios2_vic.h                   |   66 -
 include/sysemu/arch_init.h                    |    1 -
 linux-user/nios2/sockbits.h                   |    1 -
 linux-user/nios2/syscall_nr.h                 |  333 --
 linux-user/nios2/target_cpu.h                 |   49 -
 linux-user/nios2/target_elf.h                 |   14 -
 linux-user/nios2/target_errno_defs.h          |    7 -
 linux-user/nios2/target_fcntl.h               |   11 -
 linux-user/nios2/target_mman.h                |   11 -
 linux-user/nios2/target_prctl.h               |    1 -
 linux-user/nios2/target_proc.h                |    1 -
 linux-user/nios2/target_resource.h            |    1 -
 linux-user/nios2/target_signal.h              |    9 -
 linux-user/nios2/target_structs.h             |    1 -
 linux-user/nios2/target_syscall.h             |   37 -
 linux-user/nios2/termbits.h                   |    1 -
 linux-user/syscall_defs.h                     |    4 +-
 target/nios2/cpu-param.h                      |   20 -
 target/nios2/cpu-qom.h                        |   18 -
 target/nios2/cpu.h                            |  301 --
 target/nios2/helper.h                         |   32 -
 target/nios2/mmu.h                            |   52 -
 tests/tcg/nios2/semicall.h                    |   28 -
 disas/nios2.c                                 | 3514 -----------------
 hw/intc/nios2_vic.c                           |  313 --
 hw/nios2/10m50_devboard.c                     |  181 -
 hw/nios2/boot.c                               |  234 --
 hw/nios2/generic_nommu.c                      |  101 -
 hw/timer/altera_timer.c                       |  244 --
 linux-user/elfload.c                          |   99 -
 linux-user/nios2/cpu_loop.c                   |  157 -
 linux-user/nios2/signal.c                     |  210 -
 target/nios2/cpu.c                            |  410 --
 target/nios2/helper.c                         |  371 --
 target/nios2/mmu.c                            |  216 -
 target/nios2/monitor.c                        |   35 -
 target/nios2/nios2-semi.c                     |  230 --
 target/nios2/op_helper.c                      |  119 -
 target/nios2/translate.c                      | 1107 ------
 tests/qtest/machine-none-test.c               |    1 -
 fpu/softfloat-specialize.c.inc                |    2 +-
 .gitlab-ci.d/buildtest.yml                    |    4 +-
 .gitlab-ci.d/crossbuild-template.yml          |    2 +-
 .gitlab-ci.d/crossbuilds.yml                  |    2 +-
 disas/meson.build                             |    1 -
 hw/Kconfig                                    |    1 -
 hw/intc/Kconfig                               |    3 -
 hw/intc/meson.build                           |    1 -
 hw/meson.build                                |    1 -
 hw/nios2/Kconfig                              |   13 -
 hw/nios2/meson.build                          |    6 -
 hw/timer/Kconfig                              |    4 -
 hw/timer/meson.build                          |    1 -
 qemu-options.hx                               |    8 +-
 scripts/coverity-scan/COMPONENTS.md           |    3 -
 scripts/gensyscalls.sh                        |    1 -
 scripts/probe-gdb-support.py                  |    1 -
 target/Kconfig                                |    1 -
 target/meson.build                            |    1 -
 target/nios2/Kconfig                          |    3 -
 target/nios2/meson.build                      |   17 -
 target/nios2/trace-events                     |   10 -
 tests/avocado/boot_linux_console.py           |    8 -
 tests/avocado/replay_kernel.py                |   11 -
 tests/docker/Makefile.include                 |    5 -
 .../debian-nios2-cross.d/build-toolchain.sh   |   87 -
 tests/tcg/nios2/10m50-ghrd.ld                 |   70 -
 tests/tcg/nios2/Makefile.softmmu-target       |   32 -
 tests/tcg/nios2/Makefile.target               |   11 -
 tests/tcg/nios2/boot.S                        |  218 -
 tests/tcg/nios2/intr.S                        |   31 -
 tests/tcg/nios2/test-shadow-1.S               |   40 -
 88 files changed, 28 insertions(+), 9198 deletions(-)
 delete mode 100644 configs/devices/nios2-softmmu/default.mak
 delete mode 100644 configs/targets/nios2-linux-user.mak
 delete mode 100644 configs/targets/nios2-softmmu.mak
 delete mode 100644 hw/nios2/boot.h
 delete mode 100644 include/hw/intc/nios2_vic.h
 delete mode 100644 linux-user/nios2/sockbits.h
 delete mode 100644 linux-user/nios2/syscall_nr.h
 delete mode 100644 linux-user/nios2/target_cpu.h
 delete mode 100644 linux-user/nios2/target_elf.h
 delete mode 100644 linux-user/nios2/target_errno_defs.h
 delete mode 100644 linux-user/nios2/target_fcntl.h
 delete mode 100644 linux-user/nios2/target_mman.h
 delete mode 100644 linux-user/nios2/target_prctl.h
 delete mode 100644 linux-user/nios2/target_proc.h
 delete mode 100644 linux-user/nios2/target_resource.h
 delete mode 100644 linux-user/nios2/target_signal.h
 delete mode 100644 linux-user/nios2/target_structs.h
 delete mode 100644 linux-user/nios2/target_syscall.h
 delete mode 100644 linux-user/nios2/termbits.h
 delete mode 100644 target/nios2/cpu-param.h
 delete mode 100644 target/nios2/cpu-qom.h
 delete mode 100644 target/nios2/cpu.h
 delete mode 100644 target/nios2/helper.h
 delete mode 100644 target/nios2/mmu.h
 delete mode 100644 tests/tcg/nios2/semicall.h
 delete mode 100644 disas/nios2.c
 delete mode 100644 hw/intc/nios2_vic.c
 delete mode 100644 hw/nios2/10m50_devboard.c
 delete mode 100644 hw/nios2/boot.c
 delete mode 100644 hw/nios2/generic_nommu.c
 delete mode 100644 hw/timer/altera_timer.c
 delete mode 100644 linux-user/nios2/cpu_loop.c
 delete mode 100644 linux-user/nios2/signal.c
 delete mode 100644 target/nios2/cpu.c
 delete mode 100644 target/nios2/helper.c
 delete mode 100644 target/nios2/mmu.c
 delete mode 100644 target/nios2/monitor.c
 delete mode 100644 target/nios2/nios2-semi.c
 delete mode 100644 target/nios2/op_helper.c
 delete mode 100644 target/nios2/translate.c
 delete mode 100644 hw/nios2/Kconfig
 delete mode 100644 hw/nios2/meson.build
 delete mode 100644 target/nios2/Kconfig
 delete mode 100644 target/nios2/meson.build
 delete mode 100644 target/nios2/trace-events
 delete mode 100755 tests/docker/dockerfiles/debian-nios2-cross.d/build-toolchain.sh
 delete mode 100644 tests/tcg/nios2/10m50-ghrd.ld
 delete mode 100644 tests/tcg/nios2/Makefile.softmmu-target
 delete mode 100644 tests/tcg/nios2/Makefile.target
 delete mode 100644 tests/tcg/nios2/boot.S
 delete mode 100644 tests/tcg/nios2/intr.S
 delete mode 100644 tests/tcg/nios2/test-shadow-1.S

-- 
2.41.0


Re: [PATCH-for-9.1 v2 0/3] target/nios2: Remove the deprecated Nios II target
Posted by Philippe Mathieu-Daudé 3 weeks, 4 days ago
On 27/3/24 15:48, Philippe Mathieu-Daudé wrote:
> Since v1:
> - Remove user emulation too
> - Remove ALTERA_TIMER
> 
> Philippe Mathieu-Daudé (3):
>    fpu/softfloat: Remove mention of TILE-Gx target
>    target/nios2: Remove the deprecated Nios II target
>    hw/timer: Remove the ALTERA_TIMER model

Patch 1 merged as commit 9988c7b50e, queuing patches
2 and 3 for 9.1, thanks.