Skip to contentSkip to conversation

nds32: Remove the architecture

PATCH Applied Alan Kao 2 participants 3 messages Mar 2, 2022 – Mar 7, 2022

Subsystems (16)
lore
Share & tools
lore

Alan Kao

author
#0 lore raw

PATCH 1/1 nds32: Remove the architecture

Previous discussion is here:
https://www.spinics.net/lists/linux-mm/msg286280.html

---
 .../andestech,ativic32.txt                    |   19 -
 .../bindings/nds32/andestech-boards           |   40 -
 .../devicetree/bindings/nds32/atl2c.txt       |   28 -
 .../devicetree/bindings/nds32/cpus.txt        |   38 -
 .../devicetree/bindings/perf/nds32v3-pmu.txt  |   17 -
 .../timer/andestech,atcpit100-timer.txt       |   33 -
 .../features/core/cBPF-JIT/arch-support.txt   |    1 -
 .../features/core/eBPF-JIT/arch-support.txt   |    1 -
 .../core/generic-idle-thread/arch-support.txt |    1 -
 .../core/jump-labels/arch-support.txt         |    1 -
 .../core/thread-info-in-task/arch-support.txt |    1 -
 .../features/core/tracehook/arch-support.txt  |    1 -
 .../features/debug/KASAN/arch-support.txt     |    1 -
 .../debug/debug-vm-pgtable/arch-support.txt   |    1 -
 .../debug/gcov-profile-all/arch-support.txt   |    1 -
 .../features/debug/kcov/arch-support.txt      |    1 -
 .../features/debug/kgdb/arch-support.txt      |    1 -
 .../features/debug/kmemleak/arch-support.txt  |    1 -
 .../debug/kprobes-on-ftrace/arch-support.txt  |    1 -
 .../features/debug/kprobes/arch-support.txt   |    1 -
 .../debug/kretprobes/arch-support.txt         |    1 -
 .../features/debug/optprobes/arch-support.txt |    1 -
 .../debug/stackprotector/arch-support.txt     |    1 -
 .../features/debug/uprobes/arch-support.txt   |    1 -
 .../debug/user-ret-profiler/arch-support.txt  |    1 -
 .../io/dma-contiguous/arch-support.txt        |    1 -
 .../locking/cmpxchg-local/arch-support.txt    |    1 -
 .../features/locking/lockdep/arch-support.txt |    1 -
 .../locking/queued-rwlocks/arch-support.txt   |    1 -
 .../locking/queued-spinlocks/arch-support.txt |    1 -
 .../perf/kprobes-event/arch-support.txt       |    1 -
 .../features/perf/perf-regs/arch-support.txt  |    1 -
 .../perf/perf-stackdump/arch-support.txt      |    1 -
 .../membarrier-sync-core/arch-support.txt     |    1 -
 .../sched/numa-balancing/arch-support.txt     |    1 -
 .../seccomp/seccomp-filter/arch-support.txt   |    1 -
 .../time/arch-tick-broadcast/arch-support.txt |    1 -
 .../time/clockevents/arch-support.txt         |    1 -
 .../time/context-tracking/arch-support.txt    |    1 -
 .../time/irq-time-acct/arch-support.txt       |    1 -
 .../time/virt-cpuacct/arch-support.txt        |    1 -
 .../features/vm/ELF-ASLR/arch-support.txt     |    1 -
 .../features/vm/PG_uncached/arch-support.txt  |    1 -
 .../features/vm/THP/arch-support.txt          |    1 -
 .../features/vm/TLB/arch-support.txt          |    1 -
 .../features/vm/huge-vmap/arch-support.txt    |    1 -
 .../features/vm/ioremap_prot/arch-support.txt |    1 -
 .../features/vm/pte_special/arch-support.txt  |    1 -
 MAINTAINERS                                   |   12 -
 arch/nds32/Kbuild                             |    4 -
 arch/nds32/Kconfig                            |  102 --
 arch/nds32/Kconfig.cpu                        |  218 ---
 arch/nds32/Kconfig.debug                      |    2 -
 arch/nds32/Makefile                           |   63 -
 arch/nds32/boot/.gitignore                    |    2 -
 arch/nds32/boot/Makefile                      |   16 -
 arch/nds32/boot/dts/Makefile                  |    2 -
 arch/nds32/boot/dts/ae3xx.dts                 |   90 -
 arch/nds32/configs/defconfig                  |  104 --
 arch/nds32/include/asm/Kbuild                 |    8 -
 arch/nds32/include/asm/assembler.h            |   39 -
 arch/nds32/include/asm/barrier.h              |   15 -
 arch/nds32/include/asm/bitfield.h             |  985 -----------
 arch/nds32/include/asm/cache.h                |   12 -
 arch/nds32/include/asm/cache_info.h           |   13 -
 arch/nds32/include/asm/cacheflush.h           |   53 -
 arch/nds32/include/asm/current.h              |   12 -
 arch/nds32/include/asm/delay.h                |   39 -
 arch/nds32/include/asm/elf.h                  |  180 --
 arch/nds32/include/asm/fixmap.h               |   29 -
 arch/nds32/include/asm/fpu.h                  |  126 --
 arch/nds32/include/asm/fpuemu.h               |   44 -
 arch/nds32/include/asm/ftrace.h               |   46 -
 arch/nds32/include/asm/futex.h                |  101 --
 arch/nds32/include/asm/highmem.h              |   65 -
 arch/nds32/include/asm/io.h                   |   84 -
 arch/nds32/include/asm/irqflags.h             |   41 -
 arch/nds32/include/asm/l2_cache.h             |  137 --
 arch/nds32/include/asm/linkage.h              |   11 -
 arch/nds32/include/asm/memory.h               |   91 -
 arch/nds32/include/asm/mmu.h                  |   12 -
 arch/nds32/include/asm/mmu_context.h          |   62 -
 arch/nds32/include/asm/nds32.h                |   82 -
 arch/nds32/include/asm/nds32_fpu_inst.h       |  109 --
 arch/nds32/include/asm/page.h                 |   64 -
 arch/nds32/include/asm/perf_event.h           |   16 -
 arch/nds32/include/asm/pgalloc.h              |   62 -
 arch/nds32/include/asm/pgtable.h              |  377 -----
 arch/nds32/include/asm/pmu.h                  |  386 -----
 arch/nds32/include/asm/proc-fns.h             |   44 -
 arch/nds32/include/asm/processor.h            |  104 --
 arch/nds32/include/asm/ptrace.h               |   77 -
 arch/nds32/include/asm/sfp-machine.h          |  158 --
 arch/nds32/include/asm/shmparam.h             |   19 -
 arch/nds32/include/asm/stacktrace.h           |   39 -
 arch/nds32/include/asm/string.h               |   17 -
 arch/nds32/include/asm/suspend.h              |   11 -
 arch/nds32/include/asm/swab.h                 |   35 -
 arch/nds32/include/asm/syscall.h              |  142 --
 arch/nds32/include/asm/syscalls.h             |   14 -
 arch/nds32/include/asm/thread_info.h          |   76 -
 arch/nds32/include/asm/tlb.h                  |   11 -
 arch/nds32/include/asm/tlbflush.h             |   46 -
 arch/nds32/include/asm/uaccess.h              |  286 ----
 arch/nds32/include/asm/unistd.h               |    6 -
 arch/nds32/include/asm/vdso.h                 |   24 -
 arch/nds32/include/asm/vdso_datapage.h        |   37 -
 arch/nds32/include/asm/vdso_timer_info.h      |   14 -
 arch/nds32/include/asm/vermagic.h             |    9 -
 arch/nds32/include/asm/vmalloc.h              |    4 -
 arch/nds32/include/uapi/asm/Kbuild            |    2 -
 arch/nds32/include/uapi/asm/auxvec.h          |   19 -
 arch/nds32/include/uapi/asm/byteorder.h       |   13 -
 arch/nds32/include/uapi/asm/cachectl.h        |   14 -
 arch/nds32/include/uapi/asm/fp_udfiex_crtl.h  |   16 -
 arch/nds32/include/uapi/asm/param.h           |   11 -
 arch/nds32/include/uapi/asm/ptrace.h          |   25 -
 arch/nds32/include/uapi/asm/sigcontext.h      |   84 -
 arch/nds32/include/uapi/asm/unistd.h          |   16 -
 arch/nds32/kernel/.gitignore                  |    2 -
 arch/nds32/kernel/Makefile                    |   33 -
 arch/nds32/kernel/asm-offsets.c               |   28 -
 arch/nds32/kernel/atl2c.c                     |   65 -
 arch/nds32/kernel/cacheinfo.c                 |   49 -
 arch/nds32/kernel/devtree.c                   |   19 -
 arch/nds32/kernel/dma.c                       |   82 -
 arch/nds32/kernel/ex-entry.S                  |  177 --
 arch/nds32/kernel/ex-exit.S                   |  193 ---
 arch/nds32/kernel/ex-scall.S                  |  100 --
 arch/nds32/kernel/fpu.c                       |  266 ---
 arch/nds32/kernel/ftrace.c                    |  278 ---
 arch/nds32/kernel/head.S                      |  197 ---
 arch/nds32/kernel/irq.c                       |    9 -
 arch/nds32/kernel/module.c                    |  278 ---
 arch/nds32/kernel/nds32_ksyms.c               |   25 -
 arch/nds32/kernel/perf_event_cpu.c            | 1500 -----------------
 arch/nds32/kernel/pm.c                        |   80 -
 arch/nds32/kernel/process.c                   |  257 ---
 arch/nds32/kernel/ptrace.c                    |  118 --
 arch/nds32/kernel/setup.c                     |  369 ----
 arch/nds32/kernel/signal.c                    |  384 -----
 arch/nds32/kernel/sleep.S                     |  131 --
 arch/nds32/kernel/stacktrace.c                |   53 -
 arch/nds32/kernel/sys_nds32.c                 |   84 -
 arch/nds32/kernel/syscall_table.c             |   17 -
 arch/nds32/kernel/time.c                      |   11 -
 arch/nds32/kernel/traps.c                     |  354 ----
 arch/nds32/kernel/vdso.c                      |  231 ---
 arch/nds32/kernel/vdso/.gitignore             |    2 -
 arch/nds32/kernel/vdso/Makefile               |   79 -
 arch/nds32/kernel/vdso/datapage.S             |   21 -
 arch/nds32/kernel/vdso/gen_vdso_offsets.sh    |   15 -
 arch/nds32/kernel/vdso/gettimeofday.c         |  269 ---
 arch/nds32/kernel/vdso/note.S                 |   11 -
 arch/nds32/kernel/vdso/sigreturn.S            |   19 -
 arch/nds32/kernel/vdso/vdso.S                 |   18 -
 arch/nds32/kernel/vdso/vdso.lds.S             |   75 -
 arch/nds32/kernel/vmlinux.lds.S               |   70 -
 arch/nds32/lib/Makefile                       |    4 -
 arch/nds32/lib/clear_user.S                   |   42 -
 arch/nds32/lib/copy_from_user.S               |   45 -
 arch/nds32/lib/copy_page.S                    |   40 -
 arch/nds32/lib/copy_template.S                |   69 -
 arch/nds32/lib/copy_to_user.S                 |   45 -
 arch/nds32/lib/memcpy.S                       |   30 -
 arch/nds32/lib/memmove.S                      |   70 -
 arch/nds32/lib/memset.S                       |   33 -
 arch/nds32/lib/memzero.S                      |   18 -
 arch/nds32/math-emu/Makefile                  |   10 -
 arch/nds32/math-emu/faddd.c                   |   24 -
 arch/nds32/math-emu/fadds.c                   |   24 -
 arch/nds32/math-emu/fcmpd.c                   |   24 -
 arch/nds32/math-emu/fcmps.c                   |   24 -
 arch/nds32/math-emu/fd2s.c                    |   22 -
 arch/nds32/math-emu/fd2si.c                   |   30 -
 arch/nds32/math-emu/fd2siz.c                  |   30 -
 arch/nds32/math-emu/fd2ui.c                   |   30 -
 arch/nds32/math-emu/fd2uiz.c                  |   30 -
 arch/nds32/math-emu/fdivd.c                   |   27 -
 arch/nds32/math-emu/fdivs.c                   |   26 -
 arch/nds32/math-emu/fmuld.c                   |   23 -
 arch/nds32/math-emu/fmuls.c                   |   23 -
 arch/nds32/math-emu/fnegd.c                   |   21 -
 arch/nds32/math-emu/fnegs.c                   |   21 -
 arch/nds32/math-emu/fpuemu.c                  |  406 -----
 arch/nds32/math-emu/fs2d.c                    |   23 -
 arch/nds32/math-emu/fs2si.c                   |   29 -
 arch/nds32/math-emu/fs2siz.c                  |   29 -
 arch/nds32/math-emu/fs2ui.c                   |   29 -
 arch/nds32/math-emu/fs2uiz.c                  |   30 -
 arch/nds32/math-emu/fsi2d.c                   |   22 -
 arch/nds32/math-emu/fsi2s.c                   |   22 -
 arch/nds32/math-emu/fsqrtd.c                  |   21 -
 arch/nds32/math-emu/fsqrts.c                  |   21 -
 arch/nds32/math-emu/fsubd.c                   |   27 -
 arch/nds32/math-emu/fsubs.c                   |   27 -
 arch/nds32/math-emu/fui2d.c                   |   22 -
 arch/nds32/math-emu/fui2s.c                   |   22 -
 arch/nds32/mm/Makefile                        |   10 -
 arch/nds32/mm/alignment.c                     |  578 -------
 arch/nds32/mm/cacheflush.c                    |  338 ----
 arch/nds32/mm/extable.c                       |   16 -
 arch/nds32/mm/fault.c                         |  396 -----
 arch/nds32/mm/init.c                          |  263 ---
 arch/nds32/mm/mm-nds32.c                      |   96 --
 arch/nds32/mm/mmap.c                          |   73 -
 arch/nds32/mm/proc.c                          |  536 ------
 arch/nds32/mm/tlb.c                           |   50 -
 drivers/clocksource/Kconfig                   |    9 -
 drivers/clocksource/timer-atcpit100.c         |  266 ---
 drivers/irqchip/Makefile                      |    1 -
 drivers/irqchip/irq-ativic32.c                |  156 --
 drivers/net/ethernet/faraday/Kconfig          |   12 +-
 drivers/video/console/Kconfig                 |    2 +-
 scripts/recordmcount.pl                       |    3 -
 tools/include/asm/barrier.h                   |    2 -
 tools/perf/arch/nds32/Build                   |    1 -
 tools/perf/arch/nds32/util/Build              |    1 -
 tools/perf/arch/nds32/util/header.c           |   29 -
 tools/testing/selftests/vDSO/vdso_config.h    |    4 -
 220 files changed, 6 insertions(+), 15826 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt
 delete mode 100644 Documentation/devicetree/bindings/nds32/andestech-boards
 delete mode 100644 Documentation/devicetree/bindings/nds32/atl2c.txt
 delete mode 100644 Documentation/devicetree/bindings/nds32/cpus.txt
 delete mode 100644 Documentation/devicetree/bindings/perf/nds32v3-pmu.txt
 delete mode 100644 Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
 delete mode 100644 arch/nds32/Kbuild
 delete mode 100644 arch/nds32/Kconfig
 delete mode 100644 arch/nds32/Kconfig.cpu
 delete mode 100644 arch/nds32/Kconfig.debug
 delete mode 100644 arch/nds32/Makefile
 delete mode 100644 arch/nds32/boot/.gitignore
 delete mode 100644 arch/nds32/boot/Makefile
 delete mode 100644 arch/nds32/boot/dts/Makefile
 delete mode 100644 arch/nds32/boot/dts/ae3xx.dts
 delete mode 100644 arch/nds32/configs/defconfig
 delete mode 100644 arch/nds32/include/asm/Kbuild
 delete mode 100644 arch/nds32/include/asm/assembler.h
 delete mode 100644 arch/nds32/include/asm/barrier.h
 delete mode 100644 arch/nds32/include/asm/bitfield.h
 delete mode 100644 arch/nds32/include/asm/cache.h
 delete mode 100644 arch/nds32/include/asm/cache_info.h
 delete mode 100644 arch/nds32/include/asm/cacheflush.h
 delete mode 100644 arch/nds32/include/asm/current.h
 delete mode 100644 arch/nds32/include/asm/delay.h
 delete mode 100644 arch/nds32/include/asm/elf.h
 delete mode 100644 arch/nds32/include/asm/fixmap.h
 delete mode 100644 arch/nds32/include/asm/fpu.h
 delete mode 100644 arch/nds32/include/asm/fpuemu.h
 delete mode 100644 arch/nds32/include/asm/ftrace.h
 delete mode 100644 arch/nds32/include/asm/futex.h
 delete mode 100644 arch/nds32/include/asm/highmem.h
 delete mode 100644 arch/nds32/include/asm/io.h
 delete mode 100644 arch/nds32/include/asm/irqflags.h
 delete mode 100644 arch/nds32/include/asm/l2_cache.h
 delete mode 100644 arch/nds32/include/asm/linkage.h
 delete mode 100644 arch/nds32/include/asm/memory.h
 delete mode 100644 arch/nds32/include/asm/mmu.h
 delete mode 100644 arch/nds32/include/asm/mmu_context.h
 delete mode 100644 arch/nds32/include/asm/nds32.h
 delete mode 100644 arch/nds32/include/asm/nds32_fpu_inst.h
 delete mode 100644 arch/nds32/include/asm/page.h
 delete mode 100644 arch/nds32/include/asm/perf_event.h
 delete mode 100644 arch/nds32/include/asm/pgalloc.h
 delete mode 100644 arch/nds32/include/asm/pgtable.h
 delete mode 100644 arch/nds32/include/asm/pmu.h
 delete mode 100644 arch/nds32/include/asm/proc-fns.h
 delete mode 100644 arch/nds32/include/asm/processor.h
 delete mode 100644 arch/nds32/include/asm/ptrace.h
 delete mode 100644 arch/nds32/include/asm/sfp-machine.h
 delete mode 100644 arch/nds32/include/asm/shmparam.h
 delete mode 100644 arch/nds32/include/asm/stacktrace.h
 delete mode 100644 arch/nds32/include/asm/string.h
 delete mode 100644 arch/nds32/include/asm/suspend.h
 delete mode 100644 arch/nds32/include/asm/swab.h
 delete mode 100644 arch/nds32/include/asm/syscall.h
 delete mode 100644 arch/nds32/include/asm/syscalls.h
 delete mode 100644 arch/nds32/include/asm/thread_info.h
 delete mode 100644 arch/nds32/include/asm/tlb.h
 delete mode 100644 arch/nds32/include/asm/tlbflush.h
 delete mode 100644 arch/nds32/include/asm/uaccess.h
 delete mode 100644 arch/nds32/include/asm/unistd.h
 delete mode 100644 arch/nds32/include/asm/vdso.h
 delete mode 100644 arch/nds32/include/asm/vdso_datapage.h
 delete mode 100644 arch/nds32/include/asm/vdso_timer_info.h
 delete mode 100644 arch/nds32/include/asm/vermagic.h
 delete mode 100644 arch/nds32/include/asm/vmalloc.h
 delete mode 100644 arch/nds32/include/uapi/asm/Kbuild
 delete mode 100644 arch/nds32/include/uapi/asm/auxvec.h
 delete mode 100644 arch/nds32/include/uapi/asm/byteorder.h
 delete mode 100644 arch/nds32/include/uapi/asm/cachectl.h
 delete mode 100644 arch/nds32/include/uapi/asm/fp_udfiex_crtl.h
 delete mode 100644 arch/nds32/include/uapi/asm/param.h
 delete mode 100644 arch/nds32/include/uapi/asm/ptrace.h
 delete mode 100644 arch/nds32/include/uapi/asm/sigcontext.h
 delete mode 100644 arch/nds32/include/uapi/asm/unistd.h
 delete mode 100644 arch/nds32/kernel/.gitignore
 delete mode 100644 arch/nds32/kernel/Makefile
 delete mode 100644 arch/nds32/kernel/asm-offsets.c
 delete mode 100644 arch/nds32/kernel/atl2c.c
 delete mode 100644 arch/nds32/kernel/cacheinfo.c
 delete mode 100644 arch/nds32/kernel/devtree.c
 delete mode 100644 arch/nds32/kernel/dma.c
 delete mode 100644 arch/nds32/kernel/ex-entry.S
 delete mode 100644 arch/nds32/kernel/ex-exit.S
 delete mode 100644 arch/nds32/kernel/ex-scall.S
 delete mode 100644 arch/nds32/kernel/fpu.c
 delete mode 100644 arch/nds32/kernel/ftrace.c
 delete mode 100644 arch/nds32/kernel/head.S
 delete mode 100644 arch/nds32/kernel/irq.c
 delete mode 100644 arch/nds32/kernel/module.c
 delete mode 100644 arch/nds32/kernel/nds32_ksyms.c
 delete mode 100644 arch/nds32/kernel/perf_event_cpu.c
 delete mode 100644 arch/nds32/kernel/pm.c
 delete mode 100644 arch/nds32/kernel/process.c
 delete mode 100644 arch/nds32/kernel/ptrace.c
 delete mode 100644 arch/nds32/kernel/setup.c
 delete mode 100644 arch/nds32/kernel/signal.c
 delete mode 100644 arch/nds32/kernel/sleep.S
 delete mode 100644 arch/nds32/kernel/stacktrace.c
 delete mode 100644 arch/nds32/kernel/sys_nds32.c
 delete mode 100644 arch/nds32/kernel/syscall_table.c
 delete mode 100644 arch/nds32/kernel/time.c
 delete mode 100644 arch/nds32/kernel/traps.c
 delete mode 100644 arch/nds32/kernel/vdso.c
 delete mode 100644 arch/nds32/kernel/vdso/.gitignore
 delete mode 100644 arch/nds32/kernel/vdso/Makefile
 delete mode 100644 arch/nds32/kernel/vdso/datapage.S
 delete mode 100755 arch/nds32/kernel/vdso/gen_vdso_offsets.sh
 delete mode 100644 arch/nds32/kernel/vdso/gettimeofday.c
 delete mode 100644 arch/nds32/kernel/vdso/note.S
 delete mode 100644 arch/nds32/kernel/vdso/sigreturn.S
 delete mode 100644 arch/nds32/kernel/vdso/vdso.S
 delete mode 100644 arch/nds32/kernel/vdso/vdso.lds.S
 delete mode 100644 arch/nds32/kernel/vmlinux.lds.S
 delete mode 100644 arch/nds32/lib/Makefile
 delete mode 100644 arch/nds32/lib/clear_user.S
 delete mode 100644 arch/nds32/lib/copy_from_user.S
 delete mode 100644 arch/nds32/lib/copy_page.S
 delete mode 100644 arch/nds32/lib/copy_template.S
 delete mode 100644 arch/nds32/lib/copy_to_user.S
 delete mode 100644 arch/nds32/lib/memcpy.S
 delete mode 100644 arch/nds32/lib/memmove.S
 delete mode 100644 arch/nds32/lib/memset.S
 delete mode 100644 arch/nds32/lib/memzero.S
 delete mode 100644 arch/nds32/math-emu/Makefile
 delete mode 100644 arch/nds32/math-emu/faddd.c
 delete mode 100644 arch/nds32/math-emu/fadds.c
 delete mode 100644 arch/nds32/math-emu/fcmpd.c
 delete mode 100644 arch/nds32/math-emu/fcmps.c
 delete mode 100644 arch/nds32/math-emu/fd2s.c
 delete mode 100644 arch/nds32/math-emu/fd2si.c
 delete mode 100644 arch/nds32/math-emu/fd2siz.c
 delete mode 100644 arch/nds32/math-emu/fd2ui.c
 delete mode 100644 arch/nds32/math-emu/fd2uiz.c
 delete mode 100644 arch/nds32/math-emu/fdivd.c
 delete mode 100644 arch/nds32/math-emu/fdivs.c
 delete mode 100644 arch/nds32/math-emu/fmuld.c
 delete mode 100644 arch/nds32/math-emu/fmuls.c
 delete mode 100644 arch/nds32/math-emu/fnegd.c
 delete mode 100644 arch/nds32/math-emu/fnegs.c
 delete mode 100644 arch/nds32/math-emu/fpuemu.c
 delete mode 100644 arch/nds32/math-emu/fs2d.c
 delete mode 100644 arch/nds32/math-emu/fs2si.c
 delete mode 100644 arch/nds32/math-emu/fs2siz.c
 delete mode 100644 arch/nds32/math-emu/fs2ui.c
 delete mode 100644 arch/nds32/math-emu/fs2uiz.c
 delete mode 100644 arch/nds32/math-emu/fsi2d.c
 delete mode 100644 arch/nds32/math-emu/fsi2s.c
 delete mode 100644 arch/nds32/math-emu/fsqrtd.c
 delete mode 100644 arch/nds32/math-emu/fsqrts.c
 delete mode 100644 arch/nds32/math-emu/fsubd.c
 delete mode 100644 arch/nds32/math-emu/fsubs.c
 delete mode 100644 arch/nds32/math-emu/fui2d.c
 delete mode 100644 arch/nds32/math-emu/fui2s.c
 delete mode 100644 arch/nds32/mm/Makefile
 delete mode 100644 arch/nds32/mm/alignment.c
 delete mode 100644 arch/nds32/mm/cacheflush.c
 delete mode 100644 arch/nds32/mm/extable.c
 delete mode 100644 arch/nds32/mm/fault.c
 delete mode 100644 arch/nds32/mm/init.c
 delete mode 100644 arch/nds32/mm/mm-nds32.c
 delete mode 100644 arch/nds32/mm/mmap.c
 delete mode 100644 arch/nds32/mm/proc.c
 delete mode 100644 arch/nds32/mm/tlb.c
 delete mode 100644 drivers/clocksource/timer-atcpit100.c
 delete mode 100644 drivers/irqchip/irq-ativic32.c
 delete mode 100644 tools/perf/arch/nds32/Build
 delete mode 100644 tools/perf/arch/nds32/util/Build
 delete mode 100644 tools/perf/arch/nds32/util/header.c
Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt deleted +0 -19
deleted file mode 100644
index f4b4193d830e..000000000000
@@ -1,19 +0,0 @@
-* Andestech Internal Vector Interrupt Controller
-
-The Internal Vector Interrupt Controller (IVIC) is a basic interrupt controller
-suitable for a simpler SoC platform not requiring a more sophisticated and
-bigger External Vector Interrupt Controller.
-
-
-Main node required properties:
-
-- compatible : should at least contain  "andestech,ativic32".
-- interrupt-controller : Identifies the node as an interrupt controller
-- #interrupt-cells: 1 cells and refer to interrupt-controller/interrupts
-
-Examples:
-	intc: interrupt-controller {
-		compatible = "andestech,ativic32";
-		#interrupt-cells = <1>;
-		interrupt-controller;
-	};
Documentation/devicetree/bindings/nds32/andestech-boards deleted +0 -40
deleted file mode 100644
index f5d75693e3c7..000000000000
@@ -1,40 +0,0 @@
-Andestech(nds32) AE3XX Platform
------------------------------------------------------------------------------
-The AE3XX prototype demonstrates the AE3XX example platform on the FPGA. It
-is composed of one Andestech(nds32) processor and AE3XX.
-
-Required properties (in root node):
-- compatible = "andestech,ae3xx";
-
-Example:
-/dts-v1/;
-/ {
-	compatible = "andestech,ae3xx";
-	#address-cells = <1>;
-	#size-cells = <1>;
-	interrupt-parent = <&intc>;
-};
-
-Andestech(nds32) AG101P Platform
------------------------------------------------------------------------------
-AG101P is a generic SoC Platform IP that works with any of Andestech(nds32)
-processors to provide a cost-effective and high performance solution for
-majority of embedded systems in variety of application domains. Users may
-simply attach their IP on one of the system buses together with certain glue
-logics to complete a SoC solution for a specific application. With
-comprehensive simulation and design environments, users may evaluate the
-system performance of their applications and track bugs of their designs
-efficiently. The optional hardware development platform further provides real
-system environment for early prototyping and software/hardware co-development.
-
-Required properties (in root node):
-	compatible = "andestech,ag101p";
-
-Example:
-/dts-v1/;
-/ {
-	compatible = "andestech,ag101p";
-	#address-cells = <1>;
-	#size-cells = <1>;
-	interrupt-parent = <&intc>;
-};
Documentation/devicetree/bindings/nds32/atl2c.txt deleted +0 -28
deleted file mode 100644
index da8ab8e7ae9b..000000000000
@@ -1,28 +0,0 @@
-* Andestech L2 cache Controller
-
-The level-2 cache controller plays an important role in reducing memory latency
-for high performance systems, such as thoese designs with AndesCore processors.
-Level-2 cache controller in general enhances overall system performance
-signigicantly and the system power consumption might be reduced as well by
-reducing DRAM accesses.
-
-This binding specifies what properties must be available in the device tree
-representation of an Andestech L2 cache controller.
-
-Required properties:
-	- compatible:
-		Usage: required
-		Value type: <string>
-		Definition: "andestech,atl2c"
-	- reg : Physical base address and size of cache controller's memory mapped
-	- cache-unified : Specifies the cache is a unified cache.
-	- cache-level : Should be set to 2 for a level 2 cache.
-
-* Example
-
-	cache-controller@e0500000 {
-		compatible = "andestech,atl2c";
-		reg = <0xe0500000 0x1000>;
-		cache-unified;
-		cache-level = <2>;
-	};
Documentation/devicetree/bindings/nds32/cpus.txt deleted +0 -38
deleted file mode 100644
index 6f9e311b6589..000000000000
@@ -1,38 +0,0 @@
-* Andestech Processor Binding
-
-This binding specifies what properties must be available in the device tree
-representation of a Andestech Processor Core, which is the root node in the
-tree.
-
-Required properties:
-
-	- compatible:
-		Usage: required
-		Value type: <string>
-		Definition: Should be "andestech,<core_name>", "andestech,nds32v3" as fallback.
-		Must contain "andestech,nds32v3" as the most generic value, in addition to
-		one of the following identifiers for a particular CPU core:
-		"andestech,n13"
-		"andestech,n15"
-		"andestech,d15"
-		"andestech,n10"
-		"andestech,d10"
-	- device_type
-		Usage: required
-		Value type: <string>
-		Definition: must be "cpu"
-	- reg: Contains CPU index.
-	- clock-frequency: Contains the clock frequency for CPU, in Hz.
-
-* Examples
-
-/ {
-	cpus {
-		cpu@0 {
-			device_type = "cpu";
-			compatible = "andestech,n13", "andestech,nds32v3";
-			reg = <0x0>;
-			clock-frequency = <60000000>
-		};
-	};
-};
Documentation/devicetree/bindings/perf/nds32v3-pmu.txt deleted +0 -17
deleted file mode 100644
index 1bd15785b4ae..000000000000
@@ -1,17 +0,0 @@
-* NDS32 Performance Monitor Units
-
-NDS32 core have a PMU for counting cpu and cache events like cache misses.
-The NDS32 PMU representation in the device tree should be done as under:
-
-Required properties:
-
-- compatible :
-	"andestech,nds32v3-pmu"
-
-- interrupts : The interrupt number for NDS32 PMU is 13.
-
-Example:
-pmu{
-	compatible = "andestech,nds32v3-pmu";
-	interrupts = <13>;
-}
Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt deleted +0 -33
deleted file mode 100644
index 4c9ea5989e35..000000000000
@@ -1,33 +0,0 @@
-Andestech ATCPIT100 timer
-------------------------------------------------------------------
-ATCPIT100 is a generic IP block from Andes Technology, embedded in
-Andestech AE3XX platforms and other designs.
-
-This timer is a set of compact multi-function timers, which can be
-used as pulse width modulators (PWM) as well as simple timers.
-
-It supports up to 4 PIT channels. Each PIT channel is a
-multi-function timer and provide the following usage scenarios:
-One 32-bit timer
-Two 16-bit timers
-Four 8-bit timers
-One 16-bit PWM
-One 16-bit timer and one 8-bit PWM
-Two 8-bit timer and one 8-bit PWM
-
-Required properties:
-- compatible	: Should be "andestech,atcpit100"
-- reg		: Address and length of the register set
-- interrupts	: Reference to the timer interrupt
-- clocks 	: a clock to provide the tick rate for "andestech,atcpit100"
-- clock-names 	: should be "PCLK" for the peripheral clock source.
-
-Examples:
-
-timer0: timer@f0400000 {
-	compatible = "andestech,atcpit100";
-	reg = <0xf0400000 0x1000>;
-	interrupts = <2>;
-	clocks = <&apb>;
-	clock-names = "PCLK";
-};
Documentation/features/core/cBPF-JIT/arch-support.txt +0 -1
index e59b5215402d..77bd6974dd6d 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/core/eBPF-JIT/arch-support.txt +0 -1
index dcbd8679f514..d5ab547b2be6 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/core/generic-idle-thread/arch-support.txt +0 -1
index 4efcba7b5239..ddb3762ca7f5 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: |  ok  |
     |      parisc: |  ok  |
Documentation/features/core/jump-labels/arch-support.txt +0 -1
index 0c801d1bd2da..d5380ef68713 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/core/thread-info-in-task/arch-support.txt +0 -1
index bc74d8beea72..0654ba3a42ff 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: |  ok  |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/core/tracehook/arch-support.txt +0 -1
index af34308fce7f..8e95dc0c7b90 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: |  ok  |
     |       nios2: |  ok  |
     |    openrisc: |  ok  |
     |      parisc: |  ok  |
Documentation/features/debug/KASAN/arch-support.txt +0 -1
index c244ac7eee26..407ca1d91242 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/debug-vm-pgtable/arch-support.txt +0 -1
index fa83403b4aec..83eafe1a7f68 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/gcov-profile-all/arch-support.txt +0 -1
index b39c1a5de3f3..49e0dda11227 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: |  ok  |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/kcov/arch-support.txt +0 -1
index 7e44013cc320..3d34b724ddae 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/kgdb/arch-support.txt +0 -1
index 2cb0576f9180..7aa073d908c5 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: |  ok  |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: |  ok  |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/debug/kmemleak/arch-support.txt +0 -1
index e9ac415f8aec..5c784ff9768a 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: |  ok  |
     |        mips: |  ok  |
-    |       nds32: |  ok  |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +0 -1
index 96156e8802a7..a1f6e98c6b1f 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/debug/kprobes/arch-support.txt +0 -1
index ee95ed61909a..e7e7015175e7 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/debug/kretprobes/arch-support.txt +0 -1
index 612cb97d47b8..838eb53a6fa5 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/debug/optprobes/arch-support.txt +0 -1
index d6ff141a6122..6358b00b1723 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/stackprotector/arch-support.txt +0 -1
index ad4de22a71ab..f6cdf781305f 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/uprobes/arch-support.txt +0 -1
index 8bd5548a4485..0b871e797d24 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/debug/user-ret-profiler/arch-support.txt +0 -1
index 2a3fe812a5fa..a2feda7adff1 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/io/dma-contiguous/arch-support.txt +0 -1
index bece89586efa..9b407f26d45e 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: |  ok  |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/locking/cmpxchg-local/arch-support.txt +0 -1
index 52bdda004f5c..090520b0e02d 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/locking/lockdep/arch-support.txt +0 -1
index a8cd163c8b7e..6d840b103537 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: |  ok  |
     |        mips: |  ok  |
-    |       nds32: |  ok  |
     |       nios2: | TODO |
     |    openrisc: |  ok  |
     |      parisc: | TODO |
Documentation/features/locking/queued-rwlocks/arch-support.txt +0 -1
index 8c85949752b3..de586be05d64 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: |  ok  |
     |      parisc: | TODO |
Documentation/features/locking/queued-spinlocks/arch-support.txt +0 -1
index 5f4e1b3841af..29d0c8b7b1c5 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: |  ok  |
     |      parisc: | TODO |
Documentation/features/perf/kprobes-event/arch-support.txt +0 -1
index 78f3fe080f0e..881a8a50e41e 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: |  ok  |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/perf/perf-regs/arch-support.txt +0 -1
index 5bf3b1854a1f..7639a796a8e1 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/perf/perf-stackdump/arch-support.txt +0 -1
index d88659bb4fc1..df1a4c679a45 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/sched/membarrier-sync-core/arch-support.txt +0 -1
index 883d33b265d6..51b7afc937f1 100644
@@ -40,7 +40,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/sched/numa-balancing/arch-support.txt +0 -1
index 9affb7c2c500..d0e308135434 100644
@@ -17,7 +17,6 @@
     |        m68k: |  ..  |
     |  microblaze: |  ..  |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: |  ..  |
     |    openrisc: |  ..  |
     |      parisc: |  ..  |
Documentation/features/seccomp/seccomp-filter/arch-support.txt +0 -1
index 26eec58ab819..05613c5ff560 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/time/arch-tick-broadcast/arch-support.txt +0 -1
index 8dcaab070c7b..b4c96ebab7e3 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/time/clockevents/arch-support.txt +0 -1
index 9a81cb03b1fd..3f6976052e2a 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: |  ok  |
     |        mips: |  ok  |
-    |       nds32: |  ok  |
     |       nios2: |  ok  |
     |    openrisc: |  ok  |
     |      parisc: | TODO |
Documentation/features/time/context-tracking/arch-support.txt +0 -1
index 4ed116c2ec39..bb1c1801553e 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/time/irq-time-acct/arch-support.txt +0 -1
index bc30c15557c7..3cea25b80c8c 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ..  |
Documentation/features/time/virt-cpuacct/arch-support.txt +0 -1
index 050de43bbbb9..5163a60a1c1e 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/vm/ELF-ASLR/arch-support.txt +0 -1
index 2949c99fbb2f..73ec761f1e27 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: |  ok  |
Documentation/features/vm/PG_uncached/arch-support.txt +0 -1
index 6cde38458596..9066a90b38d9 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/vm/THP/arch-support.txt +0 -1
index 7dbd6967b37e..f717ab792e5a 100644
@@ -17,7 +17,6 @@
     |        m68k: |  ..  |
     |  microblaze: |  ..  |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: |  ..  |
     |    openrisc: |  ..  |
     |      parisc: | TODO |
Documentation/features/vm/TLB/arch-support.txt +0 -1
index e1c3a4c4d107..6fa76a37f299 100644
@@ -17,7 +17,6 @@
     |        m68k: |  ..  |
     |  microblaze: |  ..  |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: |  ..  |
     |    openrisc: |  ..  |
     |      parisc: | TODO |
Documentation/features/vm/huge-vmap/arch-support.txt +0 -1
index bc53905a0306..6e1792ee37fe 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/vm/ioremap_prot/arch-support.txt +0 -1
index 9a0c8783b84d..a6dcbe5f47b6 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
Documentation/features/vm/pte_special/arch-support.txt +0 -1
index 40b969f3a6bb..376477749c42 100644
@@ -17,7 +17,6 @@
     |        m68k: | TODO |
     |  microblaze: | TODO |
     |        mips: |  ok  |
-    |       nds32: | TODO |
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
MAINTAINERS +0 -12
index 1ba1e4af2cbc..41992140b155 100644
@@ -1229,18 +1229,6 @@ S:	Supported
 F:	drivers/clk/analogbits/*
 F:	include/linux/clk/analogbits*
 
-ANDES ARCHITECTURE
-M:	Nick Hu <[email protected]>
-M:	Greentime Hu <[email protected]>
-M:	Vincent Chen <[email protected]>
-S:	Supported
-T:	git https://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git
-F:	Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt
-F:	Documentation/devicetree/bindings/nds32/
-F:	arch/nds32/
-N:	nds32
-K:	nds32
-
 ANDROID CONFIG FRAGMENTS
 M:	Rob Herring <[email protected]>
 S:	Supported
arch/nds32/Kbuild deleted +0 -4
deleted file mode 100644
index 4e39f7abdeb6..000000000000
@@ -1,4 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-
-# for cleaning
-subdir- += boot
arch/nds32/Kconfig deleted +0 -102

102 lines not on this page · raw message

arch/nds32/Kconfig.cpu deleted +0 -218

218 lines not on this page · raw message

arch/nds32/Kconfig.debug deleted +0 -2
deleted file mode 100644
index 295942fe3fd5..000000000000
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-# dummy file, do not delete
arch/nds32/Makefile deleted +0 -63

63 lines not on this page · raw message

arch/nds32/boot/.gitignore deleted +0 -2
deleted file mode 100644
index 9182a3a1ea0a..000000000000
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-/Image
arch/nds32/boot/Makefile deleted +0 -16
deleted file mode 100644
index c4cc0c2689f7..000000000000
@@ -1,16 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-targets := Image Image.gz
-
-$(obj)/Image: vmlinux FORCE
-	$(call if_changed,objcopy)
-
-$(obj)/Image.gz: $(obj)/Image FORCE
-	$(call if_changed,gzip)
-
-install: $(obj)/Image
-	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
-	$(obj)/Image System.map "$(INSTALL_PATH)"
-
-zinstall: $(obj)/Image.gz
-	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
-	$(obj)/Image.gz System.map "$(INSTALL_PATH)"
arch/nds32/boot/dts/Makefile deleted +0 -2
deleted file mode 100644
index 4fc69562eae8..000000000000
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_OF) += $(addsuffix .dtb.o, $(CONFIG_NDS32_BUILTIN_DTB))
arch/nds32/boot/dts/ae3xx.dts deleted +0 -90

90 lines not on this page · raw message

arch/nds32/configs/defconfig deleted +0 -104

104 lines not on this page · raw message

arch/nds32/include/asm/Kbuild deleted +0 -8
deleted file mode 100644
index 82a4453c9c2d..000000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-generic-y += asm-offsets.h
-generic-y += cmpxchg.h
-generic-y += export.h
-generic-y += gpio.h
-generic-y += kvm_para.h
-generic-y += parport.h
-generic-y += user.h
arch/nds32/include/asm/assembler.h deleted +0 -39
deleted file mode 100644
index 5e7c56926049..000000000000
@@ -1,39 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-// Copyright (C) 2005-2017 Andes Technology Corporation
-
-#ifndef __NDS32_ASSEMBLER_H__
-#define __NDS32_ASSEMBLER_H__
-
-.macro gie_disable
-	setgie.d
-	dsb
-.endm
-
-.macro gie_enable
-	setgie.e
-	dsb
-.endm
-
-.macro gie_save oldpsw
-	mfsr \oldpsw, $ir0
-	setgie.d
-        dsb
-.endm
-
-.macro gie_restore oldpsw
-	andi \oldpsw, \oldpsw, #0x1
-	beqz \oldpsw, 7001f
-	setgie.e
-	dsb
-7001:
-.endm
-
-
-#define USER(insn,  reg, addr, opr)	\
-9999:	insn  reg, addr, opr;		\
-	.section __ex_table,"a";	\
-	.align 3;			\
-	.long	9999b, 9001f;		\
-	.previous
-
-#endif /* __NDS32_ASSEMBLER_H__ */
arch/nds32/include/asm/barrier.h deleted +0 -15
deleted file mode 100644
index 16413172fd50..000000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-// Copyright (C) 2005-2017 Andes Technology Corporation
-
-#ifndef __NDS32_ASM_BARRIER_H
-#define __NDS32_ASM_BARRIER_H
-
-#ifndef __ASSEMBLY__
-#define mb()		asm volatile("msync all":::"memory")
-#define rmb()		asm volatile("msync all":::"memory")
-#define wmb()		asm volatile("msync store":::"memory")
-#include <asm-generic/barrier.h>
-
-#endif	/* __ASSEMBLY__ */
-
-#endif	/* __NDS32_ASM_BARRIER_H */
arch/nds32/include/asm/bitfield.h deleted +0 -985

985 lines not on this page · raw message

arch/nds32/include/asm/cache.h deleted +0 -12
deleted file mode 100644
index fc3c41b59169..000000000000
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-// Copyright (C) 2005-2017 Andes Technology Corporation
-
-#ifndef __NDS32_CACHE_H__
-#define __NDS32_CACHE_H__
-
-#define L1_CACHE_BYTES	32
-#define L1_CACHE_SHIFT	5
-
-#define ARCH_DMA_MINALIGN   L1_CACHE_BYTES
-
-#endif /* __NDS32_CACHE_H__ */
arch/nds32/include/asm/cache_info.h deleted +0 -13
deleted file mode 100644
index e89d8078f3a6..000000000000
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-// Copyright (C) 2005-2017 Andes Technology Corporation
-
-struct cache_info {
-	unsigned char ways;
-	unsigned char line_size;
-	unsigned short sets;
-	unsigned short size;
-#if defined(CONFIG_CPU_CACHE_ALIASING)
-	unsigned short aliasing_num;
-	unsigned int aliasing_mask;
-#endif
-};
arch/nds32/include/asm/cacheflush.h deleted +0 -53

53 lines not on this page · raw message

arch/nds32/include/asm/current.h deleted +0 -12
deleted file mode 100644
index 65d30096142b..000000000000
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-// Copyright (C) 2005-2017 Andes Technology Corporation
-
-#ifndef _ASM_NDS32_CURRENT_H
-#define _ASM_NDS32_CURRENT_H
-
-#ifndef __ASSEMBLY__
-register struct task_struct *current asm("$r25");
-#endif /* __ASSEMBLY__ */
-#define tsk $r25
-
-#endif /* _ASM_NDS32_CURRENT_H */
arch/nds32/include/asm/delay.h deleted +0 -39
deleted file mode 100644
index 56ea3894f8f8..000000000000
@@ -1,39 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-// Copyright (C) 2005-2017 Andes Technology Corporation
-
-#ifndef __NDS32_DELAY_H__
-#define __NDS32_DELAY_H__
-
-#include <asm/param.h>
-
-/* There is no clocksource cycle counter in the CPU. */
-static inline void __delay(unsigned long loops)
-{
-	__asm__ __volatile__(".align 2\n"
-			     "1:\n"
-			     "\taddi\t%0, %0, -1\n"
-			     "\tbgtz\t%0, 1b\n"
-			     :"=r"(loops)
-			     :"0"(loops));
-}
-
-static inline void __udelay(unsigned long usecs, unsigned long lpj)
-{
-	usecs *= (unsigned long)(((0x8000000000000000ULL / (500000 / HZ)) +
-				  0x80000000ULL) >> 32);
-	usecs = (unsigned long)(((unsigned long long)usecs * lpj) >> 32);
-	__delay(usecs);
-}
-
-#define udelay(usecs) __udelay((usecs), loops_per_jiffy)
-
-/* make sure "usecs *= ..." in udelay do not overflow. */
-#if HZ >= 1000
-#define MAX_UDELAY_MS	1
-#elif HZ <= 200
-#define MAX_UDELAY_MS	5
-#else
-#define MAX_UDELAY_MS	(1000 / HZ)
-#endif
-
-#endif
arch/nds32/include/asm/elf.h deleted +0 -180

180 lines not on this page · raw message

arch/nds32/include/asm/fixmap.h deleted +0 -29
deleted file mode 100644
index 2fa09a2de428..000000000000
@@ -1,29 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-// Copyright (C) 2005-2017 Andes Technology Corporation
-
-#ifndef __ASM_NDS32_FIXMAP_H
-#define __ASM_NDS32_FIXMAP_H
-
-#ifdef CONFIG_HIGHMEM
-#include <linux/threads.h>
-#include <asm/kmap_size.h>
-#endif
-
-enum fixed_addresses {
-	FIX_HOLE,
-	FIX_KMAP_RESERVED,
-	FIX_KMAP_BEGIN,
-#ifdef CONFIG_HIGHMEM
-	FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1,
-#endif
-	FIX_EARLYCON_MEM_BASE,
-	__end_of_fixed_addresses
-};
-#define FIXADDR_TOP             ((unsigned long) (-(16 * PAGE_SIZE)))
-#define FIXADDR_SIZE		((__end_of_fixed_addresses) << PAGE_SHIFT)
-#define FIXADDR_START		(FIXADDR_TOP - FIXADDR_SIZE)
-#define FIXMAP_PAGE_IO		__pgprot(PAGE_DEVICE)
-void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
-
-#include <asm-generic/fixmap.h>
-#endif /* __ASM_NDS32_FIXMAP_H */
arch/nds32/include/asm/fpu.h deleted +0 -126

126 lines not on this page · raw message

arch/nds32/include/asm/fpuemu.h deleted +0 -44

44 lines not on this page · raw message

arch/nds32/include/asm/ftrace.h deleted +0 -46

46 lines not on this page · raw message

arch/nds32/include/asm/futex.h deleted +0 -101

101 lines not on this page · raw message

arch/nds32/include/asm/highmem.h deleted +0 -65

65 lines not on this page · raw message

arch/nds32/include/asm/io.h deleted +0 -84

84 lines not on this page · raw message

arch/nds32/include/asm/irqflags.h deleted +0 -41

41 lines not on this page · raw message

arch/nds32/include/asm/l2_cache.h deleted +0 -137

18 lines not on this page · raw message

arch/nds32/include/asm/linkage.h deleted +0 -11
deleted file mode 100644
index a696469abb70..000000000000

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

arch/nds32/include/asm/memory.h deleted +0 -91

91 lines not on this page · raw message

arch/nds32/include/asm/mmu.h deleted +0 -12
deleted file mode 100644
index 89d63afee455..000000000000

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

arch/nds32/include/asm/mmu_context.h deleted +0 -62

62 lines not on this page · raw message

arch/nds32/include/asm/nds32.h deleted +0 -82

82 lines not on this page · raw message

arch/nds32/include/asm/nds32_fpu_inst.h deleted +0 -109

109 lines not on this page · raw message

arch/nds32/include/asm/page.h deleted +0 -64

64 lines not on this page · raw message

arch/nds32/include/asm/perf_event.h deleted +0 -16
deleted file mode 100644
index fcdff02acc14..000000000000

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

arch/nds32/include/asm/pgalloc.h deleted +0 -62

62 lines not on this page · raw message

arch/nds32/include/asm/pgtable.h deleted +0 -377

377 lines not on this page · raw message

arch/nds32/include/asm/pmu.h deleted +0 -386

386 lines not on this page · raw message

arch/nds32/include/asm/proc-fns.h deleted +0 -44

44 lines not on this page · raw message

arch/nds32/include/asm/processor.h deleted +0 -104

104 lines not on this page · raw message

arch/nds32/include/asm/ptrace.h deleted +0 -77

77 lines not on this page · raw message

arch/nds32/include/asm/sfp-machine.h deleted +0 -158

158 lines not on this page · raw message

arch/nds32/include/asm/shmparam.h deleted +0 -19
deleted file mode 100644
index 3aeee946973d..000000000000

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

arch/nds32/include/asm/stacktrace.h deleted +0 -39
deleted file mode 100644
index 6bf7c777bda4..000000000000

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

arch/nds32/include/asm/string.h deleted +0 -17
deleted file mode 100644
index cae8fe16de98..000000000000

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

arch/nds32/include/asm/suspend.h deleted +0 -11
deleted file mode 100644
index 6ed2418af1ac..000000000000

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

arch/nds32/include/asm/swab.h deleted +0 -35
deleted file mode 100644
index 362a466f2976..000000000000

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

arch/nds32/include/asm/syscall.h deleted +0 -142

142 lines not on this page · raw message

arch/nds32/include/asm/syscalls.h deleted +0 -14
deleted file mode 100644
index 4e7216082a67..000000000000

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

arch/nds32/include/asm/thread_info.h deleted +0 -76

76 lines not on this page · raw message

arch/nds32/include/asm/tlb.h deleted +0 -11
deleted file mode 100644
index 672603804a3b..000000000000

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

arch/nds32/include/asm/tlbflush.h deleted +0 -46

46 lines not on this page · raw message

arch/nds32/include/asm/uaccess.h deleted +0 -286

286 lines not on this page · raw message

arch/nds32/include/asm/unistd.h deleted +0 -6
deleted file mode 100644
index bf5e2d440913..000000000000

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

arch/nds32/include/asm/vdso.h deleted +0 -24
deleted file mode 100644
index 89b113ffc3dc..000000000000

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

arch/nds32/include/asm/vdso_datapage.h deleted +0 -37
deleted file mode 100644
index 74c68802021e..000000000000

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

arch/nds32/include/asm/vdso_timer_info.h deleted +0 -14
deleted file mode 100644
index 328439ce37db..000000000000

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

arch/nds32/include/asm/vermagic.h deleted +0 -9
deleted file mode 100644
index f772e7ba33f1..000000000000

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

arch/nds32/include/asm/vmalloc.h deleted +0 -4
deleted file mode 100644
index caeed3898419..000000000000

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

arch/nds32/include/uapi/asm/Kbuild deleted +0 -2
deleted file mode 100644
index e78470141932..000000000000

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

arch/nds32/include/uapi/asm/auxvec.h deleted +0 -19
deleted file mode 100644
index bc0b92ab8c15..000000000000

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

arch/nds32/include/uapi/asm/byteorder.h deleted +0 -13
deleted file mode 100644
index c264ef12c49c..000000000000

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

arch/nds32/include/uapi/asm/cachectl.h deleted +0 -14
deleted file mode 100644
index 31b9b439d819..000000000000

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

arch/nds32/include/uapi/asm/fp_udfiex_crtl.h deleted +0 -16
deleted file mode 100644
index f17396db16ec..000000000000

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

arch/nds32/include/uapi/asm/param.h deleted +0 -11
deleted file mode 100644
index 48d00328d328..000000000000

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

arch/nds32/include/uapi/asm/ptrace.h deleted +0 -25
deleted file mode 100644
index d76217c7c010..000000000000

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

arch/nds32/include/uapi/asm/sigcontext.h deleted +0 -84

84 lines not on this page · raw message

arch/nds32/include/uapi/asm/unistd.h deleted +0 -16
deleted file mode 100644
index 410795e280fe..000000000000

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

arch/nds32/kernel/.gitignore deleted +0 -2
deleted file mode 100644
index bbb90f92d051..000000000000

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

arch/nds32/kernel/Makefile deleted +0 -33
deleted file mode 100644
index 394df3f6442c..000000000000

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

arch/nds32/kernel/asm-offsets.c deleted +0 -28
deleted file mode 100644
index 3541d5981de7..000000000000

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

arch/nds32/kernel/atl2c.c deleted +0 -65

65 lines not on this page · raw message

arch/nds32/kernel/cacheinfo.c deleted +0 -49

49 lines not on this page · raw message

arch/nds32/kernel/devtree.c deleted +0 -19
deleted file mode 100644
index bdce0fe5af9f..000000000000

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

arch/nds32/kernel/dma.c deleted +0 -82

82 lines not on this page · raw message

arch/nds32/kernel/ex-entry.S deleted +0 -177

177 lines not on this page · raw message

arch/nds32/kernel/ex-exit.S deleted +0 -193

193 lines not on this page · raw message

arch/nds32/kernel/ex-scall.S deleted +0 -100

100 lines not on this page · raw message

arch/nds32/kernel/fpu.c deleted +0 -266

266 lines not on this page · raw message

arch/nds32/kernel/ftrace.c deleted +0 -278

278 lines not on this page · raw message

arch/nds32/kernel/head.S deleted +0 -197

197 lines not on this page · raw message

arch/nds32/kernel/irq.c deleted +0 -9
deleted file mode 100644
index 6ff5a672be27..000000000000

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

arch/nds32/kernel/module.c deleted +0 -278

278 lines not on this page · raw message

arch/nds32/kernel/nds32_ksyms.c deleted +0 -25
deleted file mode 100644
index 20719e42ae36..000000000000

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

arch/nds32/kernel/perf_event_cpu.c deleted +0 -1500

1,500 lines not on this page · raw message

arch/nds32/kernel/pm.c deleted +0 -80

80 lines not on this page · raw message

arch/nds32/kernel/process.c deleted +0 -257

257 lines not on this page · raw message

arch/nds32/kernel/ptrace.c deleted +0 -118

118 lines not on this page · raw message

arch/nds32/kernel/setup.c deleted +0 -369

369 lines not on this page · raw message

arch/nds32/kernel/signal.c deleted +0 -384

384 lines not on this page · raw message

arch/nds32/kernel/sleep.S deleted +0 -131

131 lines not on this page · raw message

arch/nds32/kernel/stacktrace.c deleted +0 -53

53 lines not on this page · raw message

arch/nds32/kernel/sys_nds32.c deleted +0 -84

84 lines not on this page · raw message

arch/nds32/kernel/syscall_table.c deleted +0 -17
deleted file mode 100644
index 7879c061b87f..000000000000

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

arch/nds32/kernel/time.c deleted +0 -11
deleted file mode 100644
index 574a3d0a8539..000000000000

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

arch/nds32/kernel/traps.c deleted +0 -354

354 lines not on this page · raw message

arch/nds32/kernel/vdso.c deleted +0 -231

231 lines not on this page · raw message

arch/nds32/kernel/vdso/.gitignore deleted +0 -2
deleted file mode 100644
index 652e31d82582..000000000000

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

arch/nds32/kernel/vdso/Makefile deleted +0 -79

79 lines not on this page · raw message

arch/nds32/kernel/vdso/datapage.S deleted +0 -21
deleted file mode 100644
index 4a62c3cab1c8..000000000000

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

arch/nds32/kernel/vdso/gen_vdso_offsets.sh deleted +0 -15
deleted file mode 100755
index 01924ff071ad..000000000000

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

arch/nds32/kernel/vdso/gettimeofday.c deleted +0 -269

269 lines not on this page · raw message

arch/nds32/kernel/vdso/note.S deleted +0 -11
deleted file mode 100644
index 0aeaa19b05f0..000000000000

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

arch/nds32/kernel/vdso/sigreturn.S deleted +0 -19
deleted file mode 100644
index 67e4d1d1612a..000000000000

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

arch/nds32/kernel/vdso/vdso.S deleted +0 -18
deleted file mode 100644
index 16737c11e55b..000000000000

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

arch/nds32/kernel/vdso/vdso.lds.S deleted +0 -75

75 lines not on this page · raw message

arch/nds32/kernel/vmlinux.lds.S deleted +0 -70

70 lines not on this page · raw message

arch/nds32/lib/Makefile deleted +0 -4
deleted file mode 100644
index dddbc15d6b37..000000000000

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

arch/nds32/lib/clear_user.S deleted +0 -42

42 lines not on this page · raw message

arch/nds32/lib/copy_from_user.S deleted +0 -45

45 lines not on this page · raw message

arch/nds32/lib/copy_page.S deleted +0 -40
deleted file mode 100644
index f8701ed161a8..000000000000

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

arch/nds32/lib/copy_template.S deleted +0 -69

69 lines not on this page · raw message

arch/nds32/lib/copy_to_user.S deleted +0 -45

45 lines not on this page · raw message

arch/nds32/lib/memcpy.S deleted +0 -30
deleted file mode 100644
index a2345ea721e4..000000000000

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

arch/nds32/lib/memmove.S deleted +0 -70

70 lines not on this page · raw message

arch/nds32/lib/memset.S deleted +0 -33
deleted file mode 100644
index 193cb6ce21a9..000000000000

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

arch/nds32/lib/memzero.S deleted +0 -18
deleted file mode 100644
index f055972c9343..000000000000

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

arch/nds32/math-emu/Makefile deleted +0 -10
deleted file mode 100644
index 3bed7e5d5d05..000000000000

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

arch/nds32/math-emu/faddd.c deleted +0 -24
deleted file mode 100644
index f7fd4e3c3904..000000000000

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

arch/nds32/math-emu/fadds.c deleted +0 -24
deleted file mode 100644
index f5af6ca8cca5..000000000000

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

arch/nds32/math-emu/fcmpd.c deleted +0 -24
deleted file mode 100644
index 0ea225abe880..000000000000

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

arch/nds32/math-emu/fcmps.c deleted +0 -24
deleted file mode 100644
index 681480758213..000000000000

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

arch/nds32/math-emu/fd2s.c deleted +0 -22
deleted file mode 100644
index 1328371e8170..000000000000

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

arch/nds32/math-emu/fd2si.c deleted +0 -30
deleted file mode 100644
index fae3e16a0a10..000000000000

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

arch/nds32/math-emu/fd2siz.c deleted +0 -30
deleted file mode 100644
index 92fe6774f112..000000000000

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

arch/nds32/math-emu/fd2ui.c deleted +0 -30
deleted file mode 100644
index a0423b699aa4..000000000000

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

arch/nds32/math-emu/fd2uiz.c deleted +0 -30
deleted file mode 100644
index 8ae17cfce90d..000000000000

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

arch/nds32/math-emu/fdivd.c deleted +0 -27
deleted file mode 100644
index 458e7e98b08e..000000000000

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

arch/nds32/math-emu/fdivs.c deleted +0 -26
deleted file mode 100644
index c7d202159ce2..000000000000

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

arch/nds32/math-emu/fmuld.c deleted +0 -23
deleted file mode 100644
index f3c77a45ddc2..000000000000

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

arch/nds32/math-emu/fmuls.c deleted +0 -23
deleted file mode 100644
index cf150df938f9..000000000000

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

arch/nds32/math-emu/fnegd.c deleted +0 -21
deleted file mode 100644
index de7ea6a0873e..000000000000

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

arch/nds32/math-emu/fnegs.c deleted +0 -21
deleted file mode 100644
index 07270b326a77..000000000000

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

arch/nds32/math-emu/fpuemu.c deleted +0 -406

406 lines not on this page · raw message

arch/nds32/math-emu/fs2d.c deleted +0 -23
deleted file mode 100644
index 0e8db9035631..000000000000

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

arch/nds32/math-emu/fs2si.c deleted +0 -29
deleted file mode 100644
index b4931d60980e..000000000000

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

arch/nds32/math-emu/fs2siz.c deleted +0 -29
deleted file mode 100644
index 1c2b99ce3e38..000000000000

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

arch/nds32/math-emu/fs2ui.c deleted +0 -29
deleted file mode 100644
index c337f0384d06..000000000000

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

arch/nds32/math-emu/fs2uiz.c deleted +0 -30
deleted file mode 100644
index 22c5e4768044..000000000000

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

arch/nds32/math-emu/fsi2d.c deleted +0 -22
deleted file mode 100644
index 6b04cec0c5c5..000000000000

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

arch/nds32/math-emu/fsi2s.c deleted +0 -22
deleted file mode 100644
index 689864a5df90..000000000000

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

arch/nds32/math-emu/fsqrtd.c deleted +0 -21
deleted file mode 100644
index c3a8dbd81d4e..000000000000

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

arch/nds32/math-emu/fsqrts.c deleted +0 -21
deleted file mode 100644
index 4c6f94b27328..000000000000

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

arch/nds32/math-emu/fsubd.c deleted +0 -27
deleted file mode 100644
index 81b6a0d02a1f..000000000000

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

arch/nds32/math-emu/fsubs.c deleted +0 -27
deleted file mode 100644
index 61ddd9708465..000000000000

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

arch/nds32/math-emu/fui2d.c deleted +0 -22
deleted file mode 100644
index 9689d33a8d50..000000000000

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

arch/nds32/math-emu/fui2s.c deleted +0 -22
deleted file mode 100644
index f70f0762547d..000000000000

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

arch/nds32/mm/Makefile deleted +0 -10
deleted file mode 100644
index 14fb2e8eb036..000000000000

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

arch/nds32/mm/alignment.c deleted +0 -578

578 lines not on this page · raw message

arch/nds32/mm/cacheflush.c deleted +0 -338

338 lines not on this page · raw message

arch/nds32/mm/extable.c deleted +0 -16
deleted file mode 100644
index db7f0a7c8966..000000000000

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

arch/nds32/mm/fault.c deleted +0 -396

396 lines not on this page · raw message

arch/nds32/mm/init.c deleted +0 -263

263 lines not on this page · raw message

arch/nds32/mm/mm-nds32.c deleted +0 -96

96 lines not on this page · raw message

arch/nds32/mm/mmap.c deleted +0 -73

73 lines not on this page · raw message

arch/nds32/mm/proc.c deleted +0 -536

536 lines not on this page · raw message

arch/nds32/mm/tlb.c deleted +0 -50

50 lines not on this page · raw message

drivers/clocksource/Kconfig +0 -9
index cfb8ea0df3b1..ae95d06a4a8f 100644

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

drivers/clocksource/timer-atcpit100.c deleted +0 -266

266 lines not on this page · raw message

drivers/irqchip/Makefile +0 -1
index c1f611cbfbf8..c6161b0b0cb6 100644

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

drivers/irqchip/irq-ativic32.c deleted +0 -156

156 lines not on this page · raw message

drivers/net/ethernet/faraday/Kconfig +5 -7
index 3d1e9a302148..c699bd6bcbb9 100644

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

drivers/video/console/Kconfig +1 -1
index fcc46380e7c9..40c50fa2dd70 100644

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

scripts/recordmcount.pl +0 -3
index 3ccb2c70add4..6a4645a57976 100755

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

tools/include/asm/barrier.h +0 -2
index dc696c151e1c..8d378c57cb01 100644

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

tools/perf/arch/nds32/Build deleted +0 -1
deleted file mode 100644
index e4e5f33c84d8..000000000000

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

tools/perf/arch/nds32/util/Build deleted +0 -1
deleted file mode 100644
index d0bc205fe49a..000000000000

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

tools/perf/arch/nds32/util/header.c deleted +0 -29
deleted file mode 100644
index ef9dbdbe7968..000000000000

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

tools/testing/selftests/vDSO/vdso_config.h +0 -4
index 6188b16827d1..cdfed403ba13 100644

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.25.1

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

#2 lore raw
Quoted 6 lines · Arnd Bergmann

n Wed, Mar 2, 2022 at 8:42 AM Alan Kao <[email protected]> wrote:

Applied to the asm-generic tree now, thanks for taking care of it.

I'll probably amend the commit to have a more detailed changelog when I'm back in the office next week.

This is now the modified changelog text:

8<---
nds32: Remove the architecture

The nds32 architecture, also known as AndeStar V3, is a custom 32-bit RISC target designed by Andes Technologies. Support was added to the kernel in 2016 as the replacement RISC-V based V5 processors were already announced, and maintained by (current or former) Andes employees.

As explained by Alan Kao, new customers are now all using RISC-V, and all known nds32 users are already on longterm stable kernels provided by Andes, with no development work going into mainline support any more.

While the port is still in a reasonably good shape, it only gets worse over time without active maintainers, so it seems best to remove it before it becomes unusable. As always, if it turns out that there are mainline users after all, and they volunteer to maintain the port in the future, the removal can be reverted.

----->8

I also checked all removed Kconfig symbols and header files to see if any remaining references were left behind. I found this oneline change missing, and included it in your patch now:

drivers/clocksource/Makefile +0 -1
index fa5f624eadb6..9c85ee2bb373 100644
@@ -81,7 +81,6 @@ obj-$(CONFIG_INGENIC_SYSOST)  += ingenic-sysost.o
 obj-$(CONFIG_INGENIC_TIMER)            += ingenic-timer.o
 obj-$(CONFIG_CLKSRC_ST_LPC)            += clksrc_st_lpc.o
 obj-$(CONFIG_X86_NUMACHIP)             += numachip.o
-obj-$(CONFIG_ATCPIT100_TIMER)          += timer-atcpit100.o
 obj-$(CONFIG_RISCV_TIMER)              += timer-riscv.o
 obj-$(CONFIG_CLINT_TIMER)              += timer-clint.o
 obj-$(CONFIG_CSKY_MP_TIMER)            += timer-mp-csky.o

Arnd