nios2: remove the architecture
Subsystems (27)
PATCH 1/1 nios2: remove the architecture
The Nios II architecture is a soft-core architecture developed by Altera (since acquired by Intel) and intended to run on their FPGAs.
Licenses for the architecture have not been available for purchase since 2024 [1], and support for it has been removed from GCC 15 [2], Buildroot [3], and QEMU [4].
Given all of these factors, it is time to remove Nios II support from the kernel. The maintainer stated in 2024 that they were planning to do so soon [5], but this did not come to pass.
Remove Nios II support from the kernel and move the former maintainer to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support!
References:
[1] https://docs.altera.com/v/u/docs/781327/is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153
[3] https://github.com/buildroot/buildroot/commit/6775ccc5a199d574ad70b5f79ec58cce97a07c6f
[4] https://github.com/qemu/qemu/commit/6c3014858c4c0024dd0560f08a6eda0f92f658d6
[5] https://sourceware.org/pipermail/newlib/2024/021083.html
--- CREDITS | 4 + Documentation/.renames.txt | 3 - .../admin-guide/kernel-parameters.txt | 4 +- Documentation/arch/index.rst | 1 - Documentation/arch/nios2/features.rst | 3 - Documentation/arch/nios2/index.rst | 12 - Documentation/arch/nios2/nios2.rst | 24 - .../devicetree/bindings/nios2/nios2.txt | 62 -- .../bindings/timer/altr,timer-1.0.yaml | 39 -- Documentation/devicetree/usage-model.rst | 5 +- .../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/mseal_sys_mappings/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/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 - Documentation/process/adding-syscalls.rst | 1 - .../translations/zh_CN/arch/index.rst | 1 - .../translations/zh_TW/arch/index.rst | 1 - MAINTAINERS | 6 - arch/nios2/Kbuild | 6 - arch/nios2/Kconfig | 182 ------ arch/nios2/Kconfig.debug | 12 - arch/nios2/Makefile | 62 -- arch/nios2/boot/.gitignore | 2 - arch/nios2/boot/Makefile | 32 - arch/nios2/boot/compressed/Makefile | 19 - arch/nios2/boot/compressed/console.c | 112 ---- arch/nios2/boot/compressed/head.S | 117 ---- arch/nios2/boot/compressed/misc.c | 174 ------ arch/nios2/boot/compressed/vmlinux.lds.S | 45 -- arch/nios2/boot/compressed/vmlinux.scr | 28 - arch/nios2/boot/dts/10m50_devboard.dts | 237 ------- arch/nios2/boot/dts/3c120_devboard.dts | 153 ----- arch/nios2/boot/dts/Makefile | 5 - arch/nios2/boot/install.sh | 32 - arch/nios2/configs/10m50_defconfig | 75 --- arch/nios2/configs/3c120_defconfig | 73 --- arch/nios2/include/asm/Kbuild | 10 - arch/nios2/include/asm/asm-macros.h | 298 --------- arch/nios2/include/asm/asm-offsets.h | 7 - arch/nios2/include/asm/cache.h | 26 - arch/nios2/include/asm/cacheflush.h | 61 -- arch/nios2/include/asm/cachetype.h | 10 - arch/nios2/include/asm/checksum.h | 70 --- arch/nios2/include/asm/cpuinfo.h | 46 -- arch/nios2/include/asm/delay.h | 21 - arch/nios2/include/asm/elf.h | 88 --- arch/nios2/include/asm/entry.h | 121 ---- arch/nios2/include/asm/io.h | 40 -- arch/nios2/include/asm/irq.h | 14 - arch/nios2/include/asm/irqflags.h | 59 -- arch/nios2/include/asm/kgdb.h | 80 --- arch/nios2/include/asm/linkage.h | 15 - arch/nios2/include/asm/mmu.h | 16 - arch/nios2/include/asm/mmu_context.h | 55 -- arch/nios2/include/asm/page.h | 96 --- arch/nios2/include/asm/pgalloc.h | 34 - arch/nios2/include/asm/pgtable-bits.h | 37 -- arch/nios2/include/asm/pgtable.h | 297 --------- arch/nios2/include/asm/processor.h | 77 --- arch/nios2/include/asm/ptrace.h | 82 --- arch/nios2/include/asm/registers.h | 58 -- arch/nios2/include/asm/setup.h | 23 - arch/nios2/include/asm/shmparam.h | 10 - arch/nios2/include/asm/string.h | 24 - arch/nios2/include/asm/swab.h | 38 -- arch/nios2/include/asm/switch_to.h | 31 - arch/nios2/include/asm/syscall.h | 82 --- arch/nios2/include/asm/syscalls.h | 14 - arch/nios2/include/asm/thread_info.h | 101 --- arch/nios2/include/asm/timex.h | 15 - arch/nios2/include/asm/tlb.h | 24 - arch/nios2/include/asm/tlbflush.h | 44 -- arch/nios2/include/asm/traps.h | 21 - arch/nios2/include/asm/uaccess.h | 189 ------ arch/nios2/include/asm/unistd.h | 10 - arch/nios2/include/asm/vmalloc.h | 4 - arch/nios2/include/uapi/asm/Kbuild | 4 - arch/nios2/include/uapi/asm/byteorder.h | 23 - arch/nios2/include/uapi/asm/elf.h | 66 -- arch/nios2/include/uapi/asm/ptrace.h | 84 --- arch/nios2/include/uapi/asm/sigcontext.h | 31 - arch/nios2/include/uapi/asm/signal.h | 24 - arch/nios2/include/uapi/asm/unistd.h | 19 - arch/nios2/kernel/.gitignore | 2 - arch/nios2/kernel/Makefile | 26 - arch/nios2/kernel/Makefile.syscalls | 3 - arch/nios2/kernel/asm-offsets.c | 75 --- arch/nios2/kernel/cpuinfo.c | 192 ------ arch/nios2/kernel/entry.S | 574 ----------------- arch/nios2/kernel/head.S | 165 ----- arch/nios2/kernel/insnemu.S | 580 ------------------ arch/nios2/kernel/irq.c | 80 --- arch/nios2/kernel/kgdb.c | 158 ----- arch/nios2/kernel/misaligned.c | 238 ------- arch/nios2/kernel/module.c | 117 ---- arch/nios2/kernel/nios2_ksyms.c | 44 -- arch/nios2/kernel/process.c | 268 -------- arch/nios2/kernel/prom.c | 41 -- arch/nios2/kernel/ptrace.c | 145 ----- arch/nios2/kernel/setup.c | 208 ------- arch/nios2/kernel/signal.c | 328 ---------- arch/nios2/kernel/sys_nios2.c | 60 -- arch/nios2/kernel/syscall_table.c | 21 - arch/nios2/kernel/time.c | 359 ----------- arch/nios2/kernel/traps.c | 196 ------ arch/nios2/kernel/vmlinux.lds.S | 64 -- arch/nios2/lib/Makefile | 9 - arch/nios2/lib/delay.c | 40 -- arch/nios2/lib/memcpy.c | 202 ------ arch/nios2/lib/memmove.c | 80 --- arch/nios2/lib/memset.c | 79 --- arch/nios2/mm/Makefile | 15 - arch/nios2/mm/cacheflush.c | 281 --------- arch/nios2/mm/dma-mapping.c | 77 --- arch/nios2/mm/extable.c | 25 - arch/nios2/mm/fault.c | 264 -------- arch/nios2/mm/init.c | 154 ----- arch/nios2/mm/ioremap.c | 188 ------ arch/nios2/mm/mmu_context.c | 116 ---- arch/nios2/mm/pgtable.c | 74 --- arch/nios2/mm/tlb.c | 304 --------- arch/nios2/mm/uaccess.c | 130 ---- arch/nios2/platform/Kconfig.platform | 149 ----- arch/nios2/platform/Makefile | 2 - arch/nios2/platform/platform.c | 52 -- drivers/dma/Kconfig | 2 +- drivers/gpib/common/iblib.c | 8 +- drivers/i2c/busses/Kconfig | 4 +- drivers/iio/adc/Kconfig | 2 +- drivers/iio/dac/Kconfig | 2 +- drivers/net/ethernet/davicom/Kconfig | 2 +- drivers/net/ethernet/smsc/Kconfig | 4 +- drivers/pci/controller/Kconfig | 2 +- drivers/pwm/Kconfig | 2 +- include/linux/seqlock.h | 2 +- lib/tests/usercopy_kunit.c | 1 - mm/Kconfig | 4 +- scripts/checkstack.pl | 3 - scripts/dtc/include-prefixes/nios2 | 1 - scripts/head-object-list.txt | 1 - scripts/syscall.tbl | 2 - tools/scripts/syscall.tbl | 2 - usr/include/Makefile | 6 +- 181 files changed, 24 insertions(+), 10384 deletions(-) delete mode 100644 Documentation/arch/nios2/features.rst delete mode 100644 Documentation/arch/nios2/index.rst delete mode 100644 Documentation/arch/nios2/nios2.rst delete mode 100644 Documentation/devicetree/bindings/nios2/nios2.txt delete mode 100644 Documentation/devicetree/bindings/timer/altr,timer-1.0.yaml delete mode 100644 arch/nios2/Kbuild delete mode 100644 arch/nios2/Kconfig delete mode 100644 arch/nios2/Kconfig.debug delete mode 100644 arch/nios2/Makefile delete mode 100644 arch/nios2/boot/.gitignore delete mode 100644 arch/nios2/boot/Makefile delete mode 100644 arch/nios2/boot/compressed/Makefile delete mode 100644 arch/nios2/boot/compressed/console.c delete mode 100644 arch/nios2/boot/compressed/head.S delete mode 100644 arch/nios2/boot/compressed/misc.c delete mode 100644 arch/nios2/boot/compressed/vmlinux.lds.S delete mode 100644 arch/nios2/boot/compressed/vmlinux.scr delete mode 100644 arch/nios2/boot/dts/10m50_devboard.dts delete mode 100644 arch/nios2/boot/dts/3c120_devboard.dts delete mode 100644 arch/nios2/boot/dts/Makefile delete mode 100755 arch/nios2/boot/install.sh delete mode 100644 arch/nios2/configs/10m50_defconfig delete mode 100644 arch/nios2/configs/3c120_defconfig delete mode 100644 arch/nios2/include/asm/Kbuild delete mode 100644 arch/nios2/include/asm/asm-macros.h delete mode 100644 arch/nios2/include/asm/asm-offsets.h delete mode 100644 arch/nios2/include/asm/cache.h delete mode 100644 arch/nios2/include/asm/cacheflush.h delete mode 100644 arch/nios2/include/asm/cachetype.h delete mode 100644 arch/nios2/include/asm/checksum.h delete mode 100644 arch/nios2/include/asm/cpuinfo.h delete mode 100644 arch/nios2/include/asm/delay.h delete mode 100644 arch/nios2/include/asm/elf.h delete mode 100644 arch/nios2/include/asm/entry.h delete mode 100644 arch/nios2/include/asm/io.h delete mode 100644 arch/nios2/include/asm/irq.h delete mode 100644 arch/nios2/include/asm/irqflags.h delete mode 100644 arch/nios2/include/asm/kgdb.h delete mode 100644 arch/nios2/include/asm/linkage.h delete mode 100644 arch/nios2/include/asm/mmu.h delete mode 100644 arch/nios2/include/asm/mmu_context.h delete mode 100644 arch/nios2/include/asm/page.h delete mode 100644 arch/nios2/include/asm/pgalloc.h delete mode 100644 arch/nios2/include/asm/pgtable-bits.h delete mode 100644 arch/nios2/include/asm/pgtable.h delete mode 100644 arch/nios2/include/asm/processor.h delete mode 100644 arch/nios2/include/asm/ptrace.h delete mode 100644 arch/nios2/include/asm/registers.h delete mode 100644 arch/nios2/include/asm/setup.h delete mode 100644 arch/nios2/include/asm/shmparam.h delete mode 100644 arch/nios2/include/asm/string.h delete mode 100644 arch/nios2/include/asm/swab.h delete mode 100644 arch/nios2/include/asm/switch_to.h delete mode 100644 arch/nios2/include/asm/syscall.h delete mode 100644 arch/nios2/include/asm/syscalls.h delete mode 100644 arch/nios2/include/asm/thread_info.h delete mode 100644 arch/nios2/include/asm/timex.h delete mode 100644 arch/nios2/include/asm/tlb.h delete mode 100644 arch/nios2/include/asm/tlbflush.h delete mode 100644 arch/nios2/include/asm/traps.h delete mode 100644 arch/nios2/include/asm/uaccess.h delete mode 100644 arch/nios2/include/asm/unistd.h delete mode 100644 arch/nios2/include/asm/vmalloc.h delete mode 100644 arch/nios2/include/uapi/asm/Kbuild delete mode 100644 arch/nios2/include/uapi/asm/byteorder.h delete mode 100644 arch/nios2/include/uapi/asm/elf.h delete mode 100644 arch/nios2/include/uapi/asm/ptrace.h delete mode 100644 arch/nios2/include/uapi/asm/sigcontext.h delete mode 100644 arch/nios2/include/uapi/asm/signal.h delete mode 100644 arch/nios2/include/uapi/asm/unistd.h delete mode 100644 arch/nios2/kernel/.gitignore delete mode 100644 arch/nios2/kernel/Makefile delete mode 100644 arch/nios2/kernel/Makefile.syscalls delete mode 100644 arch/nios2/kernel/asm-offsets.c delete mode 100644 arch/nios2/kernel/cpuinfo.c delete mode 100644 arch/nios2/kernel/entry.S delete mode 100644 arch/nios2/kernel/head.S delete mode 100644 arch/nios2/kernel/insnemu.S delete mode 100644 arch/nios2/kernel/irq.c delete mode 100644 arch/nios2/kernel/kgdb.c delete mode 100644 arch/nios2/kernel/misaligned.c delete mode 100644 arch/nios2/kernel/module.c delete mode 100644 arch/nios2/kernel/nios2_ksyms.c delete mode 100644 arch/nios2/kernel/process.c delete mode 100644 arch/nios2/kernel/prom.c delete mode 100644 arch/nios2/kernel/ptrace.c delete mode 100644 arch/nios2/kernel/setup.c delete mode 100644 arch/nios2/kernel/signal.c delete mode 100644 arch/nios2/kernel/sys_nios2.c delete mode 100644 arch/nios2/kernel/syscall_table.c delete mode 100644 arch/nios2/kernel/time.c delete mode 100644 arch/nios2/kernel/traps.c delete mode 100644 arch/nios2/kernel/vmlinux.lds.S delete mode 100644 arch/nios2/lib/Makefile delete mode 100644 arch/nios2/lib/delay.c delete mode 100644 arch/nios2/lib/memcpy.c delete mode 100644 arch/nios2/lib/memmove.c delete mode 100644 arch/nios2/lib/memset.c delete mode 100644 arch/nios2/mm/Makefile delete mode 100644 arch/nios2/mm/cacheflush.c delete mode 100644 arch/nios2/mm/dma-mapping.c delete mode 100644 arch/nios2/mm/extable.c delete mode 100644 arch/nios2/mm/fault.c delete mode 100644 arch/nios2/mm/init.c delete mode 100644 arch/nios2/mm/ioremap.c delete mode 100644 arch/nios2/mm/mmu_context.c delete mode 100644 arch/nios2/mm/pgtable.c delete mode 100644 arch/nios2/mm/tlb.c delete mode 100644 arch/nios2/mm/uaccess.c delete mode 100644 arch/nios2/platform/Kconfig.platform delete mode 100644 arch/nios2/platform/Makefile delete mode 100644 arch/nios2/platform/platform.c delete mode 120000 scripts/dtc/include-prefixes/nios2
CREDITS +4 -0
@@ -3038,6 +3038,10 @@ S: Zum Schiersteiner Grund 2 S: 55127 Mainz S: Germany +N: Dinh Nguyen +E: [email protected] +D: Altera Nios II architecture support + N: Gustavo Niemeyer E: [email protected] W: https://moin.conectiva.com.br/GustavoNiemeyer
Documentation/.renames.txt +0 -3
@@ -846,9 +846,6 @@ networking/skfp networking/device_drivers/fddi/skfp nfc/index driver-api/nfc/index nfc/nfc-hci driver-api/nfc/nfc-hci nfc/nfc-pn544 driver-api/nfc/nfc-pn544 -nios2/features arch/nios2/features -nios2/index arch/nios2/index -nios2/nios2 arch/nios2/nios2 nvdimm/btt driver-api/nvdimm/btt nvdimm/index driver-api/nvdimm/index nvdimm/nvdimm driver-api/nvdimm/nvdimm
Documentation/admin-guide/kernel-parameters.txt +2 -2
@@ -8333,8 +8333,8 @@ Kernel parameters It can also be used to decrease the size and leave more room for directly mapped kernel RAM. Note that this parameter does not exist on many other platforms (including arm64, alpha, - loongarch, arc, csky, hexagon, microblaze, mips, nios2, openrisc, - parisc, m64k, powerpc, riscv, sh, um, xtensa, s390, sparc). + loongarch, arc, csky, hexagon, microblaze, mips, openrisc, + parisc, m68k, powerpc, riscv, sh, um, xtensa, s390, sparc). vmcp_cma=nn[MG] [KNL,S390,EARLY] Sets the memory size reserved for contiguous memory
Documentation/arch/index.rst +0 -1
@@ -15,7 +15,6 @@ implementation. loongarch/index m68k/index mips/index - nios2/index openrisc/index parisc/index powerpc/index
Documentation/arch/nios2/features.rst deleted +0 -3
@@ -1,3 +0,0 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. kernel-feat:: features nios2
Documentation/arch/nios2/index.rst deleted +0 -12
@@ -1,12 +0,0 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================== -Nios II Specific Documentation -============================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - nios2 - features
Documentation/arch/nios2/nios2.rst deleted +0 -24
@@ -1,24 +0,0 @@ -================================= -Linux on the Nios II architecture -================================= - -This is a port of Linux to Nios II (nios2) processor. - -In order to compile for Nios II, you need a version of GCC with support for the generic -system call ABI. Please see this link for more information on how compiling and booting -software for the Nios II platform: -http://www.rocketboards.org/foswiki/Documentation/NiosIILinuxUserManual - -For reference, please see the following link: -http://www.altera.com/literature/lit-nio2.jsp - -What is Nios II? -================ -Nios II is a 32-bit embedded-processor architecture designed specifically for the -Altera family of FPGAs. In order to support Linux, Nios II needs to be configured -with MMU and hardware multiplier enabled. - -Nios II ABI -=========== -Please refer to chapter "Application Binary Interface" in Nios II Processor Reference -Handbook.
Documentation/devicetree/bindings/nios2/nios2.txt deleted +0 -62
62 lines not on this page · raw message
Documentation/devicetree/bindings/timer/altr,timer-1.0.yaml deleted +0 -39
@@ -1,39 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/altr,timer-1.0.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Altera Timer - -maintainers: - - Dinh Nguyen <[email protected]> - -properties: - compatible: - const: altr,timer-1.0 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clock-frequency: - description: Frequency of the clock that drives the counter, in Hz. - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - timer@400000 { - compatible = "altr,timer-1.0"; - reg = <0x00400000 0x00000020>; - interrupts = <11>; - clock-frequency = <125000000>; - };
Documentation/devicetree/usage-model.rst +2 -3
@@ -66,9 +66,8 @@ a dtb could be wrapped up with the kernel image to support booting existing non-DT aware firmware. Some time later, FDT infrastructure was generalized to be usable by -all architectures. At the time of this writing, 6 mainlined -architectures (arm, microblaze, mips, powerpc, sparc, and x86) and 1 -out of mainline (nios) have some level of DT support. +all architectures. At the time of this writing, most mainlined +architectures have some level of DT support. 2. Data Model -------------
Documentation/features/core/cBPF-JIT/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/core/eBPF-JIT/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/core/generic-idle-thread/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | ok | | parisc: | ok | | powerpc: | ok |
Documentation/features/core/jump-labels/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | ok | | parisc: | ok | | powerpc: | ok |
Documentation/features/core/mseal_sys_mappings/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | N/A | | microblaze: | N/A | | mips: | TODO | - | nios2: | N/A | | openrisc: | N/A | | parisc: | TODO | | powerpc: | TODO |
Documentation/features/core/thread-info-in-task/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/core/tracehook/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | ok | | openrisc: | ok | | parisc: | ok | | powerpc: | ok |
Documentation/features/debug/KASAN/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/debug/debug-vm-pgtable/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/debug/gcov-profile-all/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | ok | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/debug/kcov/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/debug/kgdb/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | ok | | mips: | ok | - | nios2: | ok | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/debug/kmemleak/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | ok | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/debug/kprobes/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/debug/kretprobes/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/debug/optprobes/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/debug/stackprotector/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/debug/uprobes/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/debug/user-ret-profiler/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | TODO |
Documentation/features/io/dma-contiguous/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | ok | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | TODO |
Documentation/features/locking/cmpxchg-local/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | TODO |
Documentation/features/locking/lockdep/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | ok | | mips: | ok | - | nios2: | TODO | | openrisc: | ok | | parisc: | ok | | powerpc: | ok |
Documentation/features/locking/queued-rwlocks/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | ok | | parisc: | TODO | | powerpc: | ok |
Documentation/features/locking/queued-spinlocks/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | ok | | parisc: | TODO | | powerpc: | ok |
Documentation/features/perf/kprobes-event/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | ok | | parisc: | ok | | powerpc: | ok |
Documentation/features/perf/perf-regs/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/perf/perf-stackdump/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/sched/membarrier-sync-core/arch-support.txt +0 -1
@@ -55,7 +55,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/sched/numa-balancing/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | .. | | microblaze: | .. | | mips: | TODO | - | nios2: | .. | | openrisc: | .. | | parisc: | .. | | powerpc: | ok |
Documentation/features/seccomp/seccomp-filter/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | ok | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/time/arch-tick-broadcast/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/time/clockevents/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | ok | | mips: | ok | - | nios2: | ok | | openrisc: | ok | | parisc: | ok | | powerpc: | ok |
Documentation/features/time/context-tracking/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/time/irq-time-acct/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | .. | | powerpc: | ok |
Documentation/features/time/virt-cpuacct/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/vm/ELF-ASLR/arch-support.txt +0 -1
@@ -17,7 +17,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/features/vm/THP/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | .. | | microblaze: | .. | | mips: | ok | - | nios2: | .. | | openrisc: | .. | | parisc: | TODO | | powerpc: | ok |
Documentation/features/vm/TLB/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | .. | | microblaze: | .. | | mips: | TODO | - | nios2: | .. | | openrisc: | .. | | parisc: | TODO | | powerpc: | TODO |
Documentation/features/vm/huge-vmap/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | TODO | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/vm/ioremap_prot/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok |
Documentation/features/vm/pte_special/arch-support.txt +0 -1
@@ -16,7 +16,6 @@ | m68k: | TODO | | microblaze: | TODO | | mips: | ok | - | nios2: | TODO | | openrisc: | TODO | | parisc: | ok | | powerpc: | ok |
Documentation/process/adding-syscalls.rst +0 -1
@@ -262,7 +262,6 @@ following architectures no longer requires modifications to - csky - hexagon - loongarch - - nios2 - openrisc - riscv
Documentation/translations/zh_CN/arch/index.rst +0 -1
@@ -19,7 +19,6 @@ TODOList: * arm/index * m68k/index -* nios2/index * powerpc/index * s390/index * sh/index
Documentation/translations/zh_TW/arch/index.rst +0 -1
@@ -18,7 +18,6 @@ TODOList: * arm/index * m68k/index -* nios2/index * powerpc/index * s390/index * sh/index
MAINTAINERS +0 -6
@@ -18939,12 +18939,6 @@ L: [email protected] S: Maintained F: drivers/hid/hid-nintendo* -NIOS2 ARCHITECTURE -M: Dinh Nguyen <[email protected]> -S: Maintained -T: git git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git -F: arch/nios2/ - NITRO ENCLAVES (NE) M: Alexandru Ciobotaru <[email protected]> R: The AWS Nitro Enclaves Team <[email protected]>
arch/nios2/Kbuild deleted +0 -6
@@ -1,6 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-y += kernel/ mm/ platform/ - -# for cleaning -subdir- += boot
arch/nios2/Kconfig deleted +0 -182
182 lines not on this page · raw message
arch/nios2/Kconfig.debug deleted +0 -12
@@ -1,12 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -config EARLY_PRINTK - bool "Activate early kernel debugging" - default y - depends on TTY - select SERIAL_CORE_CONSOLE - help - Enable early printk on console. - This is useful for kernel debugging when your machine crashes very - early before the console code is initialized. - You should normally say N here, unless you want to debug such a crash.
arch/nios2/Makefile deleted +0 -62
62 lines not on this page · raw message
arch/nios2/boot/.gitignore deleted +0 -2
@@ -1,2 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -vmImage
arch/nios2/boot/Makefile deleted +0 -32
@@ -1,32 +0,0 @@ -# -# arch/nios2/boot/Makefile -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# - -UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_stext" {print $$1}') -UIMAGE_ENTRYADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}') -UIMAGE_COMPRESSION = gzip - -OBJCOPYFLAGS_vmlinux.bin := -O binary - -targets += vmlinux.bin vmlinux.gz vmImage - -$(obj)/vmlinux.bin: vmlinux FORCE - $(call if_changed,objcopy) - -$(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE - $(call if_changed,gzip) - -$(obj)/vmImage: $(obj)/vmlinux.gz FORCE - $(call if_changed,uimage) - @$(kecho) 'Kernel: $@ is ready' - -$(obj)/zImage: $(obj)/compressed/vmlinux FORCE - $(call if_changed,objcopy) - @$(kecho) 'Kernel: $@ is ready' - -$(obj)/compressed/vmlinux: $(obj)/vmlinux.gz FORCE - $(Q)$(MAKE) $(build)=$(obj)/compressed $@
arch/nios2/boot/compressed/Makefile deleted +0 -19
@@ -1,19 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# create a compressed vmlinux image from the original vmlinux -# - -targets := vmlinux head.o misc.o piggy.o vmlinux.lds -asflags-y := - -OBJECTS = $(obj)/head.o $(obj)/misc.o - -LDFLAGS_vmlinux := -T - -$(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE - $(call if_changed,ld) - -LDFLAGS_piggy.o := -r --format binary --oformat elf32-littlenios2 -T - -$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../vmlinux.gz FORCE - $(call if_changed,ld)
arch/nios2/boot/compressed/console.c deleted +0 -112
112 lines not on this page · raw message
arch/nios2/boot/compressed/head.S deleted +0 -117
117 lines not on this page · raw message
arch/nios2/boot/compressed/misc.c deleted +0 -174
174 lines not on this page · raw message
arch/nios2/boot/compressed/vmlinux.lds.S deleted +0 -45
45 lines not on this page · raw message
arch/nios2/boot/compressed/vmlinux.scr deleted +0 -28
@@ -1,28 +0,0 @@ -/* - * Copyright (C) 2009 Thomas Chou <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -SECTIONS -{ - .data : { - input_len = .; - LONG(input_data_end - input_data) input_data = .; - *(.data) - . = ALIGN(4); - input_data_end = .; - } -}
arch/nios2/boot/dts/10m50_devboard.dts deleted +0 -237
237 lines not on this page · raw message
arch/nios2/boot/dts/3c120_devboard.dts deleted +0 -153
153 lines not on this page · raw message
arch/nios2/boot/dts/Makefile deleted +0 -5
@@ -1,5 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -dtb-y := $(addsuffix .dtb, $(CONFIG_BUILTIN_DTB_NAME)) - -dtb-$(CONFIG_OF_ALL_DTBS) += $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts))
arch/nios2/boot/install.sh deleted +0 -32
@@ -1,32 +0,0 @@ -#!/bin/sh -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# -# Copyright (C) 1995 by Linus Torvalds -# -# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin -# -# "make install" script for nios2 architecture -# -# Arguments: -# $1 - kernel version -# $2 - kernel image file -# $3 - kernel map file -# $4 - default install path (blank if root directory) - -set -e - -if [ -f $4/vmlinuz ]; then - mv $4/vmlinuz $4/vmlinuz.old -fi - -if [ -f $4/System.map ]; then - mv $4/System.map $4/System.old -fi - -cat $2 > $4/vmlinuz -cp $3 $4/System.map - -sync
arch/nios2/configs/10m50_defconfig deleted +0 -75
75 lines not on this page · raw message
arch/nios2/configs/3c120_defconfig deleted +0 -73
73 lines not on this page · raw message
arch/nios2/include/asm/Kbuild deleted +0 -10
@@ -1,10 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_32.h - -generic-y += cmpxchg.h -generic-y += extable.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += spinlock.h -generic-y += user.h -generic-y += text-patching.h
arch/nios2/include/asm/asm-macros.h deleted +0 -298
298 lines not on this page · raw message
arch/nios2/include/asm/asm-offsets.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* -* Copyright (C) 2010 Tobias Klauser <[email protected]> -* Copyright (C) 2009 Thomas Chou <[email protected]> -*/ - -#include <generated/asm-offsets.h>
arch/nios2/include/asm/cache.h deleted +0 -26
@@ -1,26 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* -* Copyright (C) 2004 Microtronix Datacom Ltd. -* -* All rights reserved. -*/ - -#ifndef _ASM_NIOS2_CACHE_H -#define _ASM_NIOS2_CACHE_H - -#define NIOS2_DCACHE_SIZE CONFIG_NIOS2_DCACHE_SIZE -#define NIOS2_ICACHE_SIZE CONFIG_NIOS2_ICACHE_SIZE -#define NIOS2_DCACHE_LINE_SIZE CONFIG_NIOS2_DCACHE_LINE_SIZE -#define NIOS2_ICACHE_LINE_SHIFT 5 -#define NIOS2_ICACHE_LINE_SIZE (1 << NIOS2_ICACHE_LINE_SHIFT) - -/* bytes per L1 cache line */ -#define L1_CACHE_SHIFT NIOS2_ICACHE_LINE_SHIFT -#define L1_CACHE_BYTES NIOS2_ICACHE_LINE_SIZE - -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#define __cacheline_aligned -#define ____cacheline_aligned - -#endif
arch/nios2/include/asm/cacheflush.h deleted +0 -61
61 lines not on this page · raw message
arch/nios2/include/asm/cachetype.h deleted +0 -10
@@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_NIOS2_CACHETYPE_H -#define __ASM_NIOS2_CACHETYPE_H - -#include <asm/page.h> -#include <asm/cache.h> - -#define cpu_dcache_is_aliasing () (NIOS2_DCACHE_SIZE > PAGE_SIZE) - -#endif
arch/nios2/include/asm/checksum.h deleted +0 -70
70 lines not on this page · raw message
arch/nios2/include/asm/cpuinfo.h deleted +0 -46
46 lines not on this page · raw message
arch/nios2/include/asm/delay.h deleted +0 -21
@@ -1,21 +0,0 @@ -/* -* Copyright (C) 2014 Altera Corporation -* Copyright (C) 2004 Microtronix Datacom Ltd -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -*/ - -#ifndef _ASM_NIOS2_DELAY_H -#define _ASM_NIOS2_DELAY_H - -#include <asm-generic/delay.h> - -/* Undefined functions to get compile-time errors */ -extern void __bad_udelay (void ); -extern void __bad_ndelay (void ); - -extern unsigned long loops_per_jiffy; - -#endif /* _ASM_NIOS2_DELAY_H */
arch/nios2/include/asm/elf.h deleted +0 -88
88 lines not on this page · raw message
arch/nios2/include/asm/entry.h deleted +0 -121
121 lines not on this page · raw message
arch/nios2/include/asm/io.h deleted +0 -40
@@ -1,40 +0,0 @@ -/* -* Copyright (C) 2014 Altera Corporation -* Copyright (C) 2010 Tobias Klauser <[email protected]> -* Copyright (C) 2004 Microtronix Datacom Ltd. -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -*/ - -#ifndef _ASM_NIOS2_IO_H -#define _ASM_NIOS2_IO_H - -#include <linux/types.h> -#include <asm/pgtable-bits.h> - -/* PCI is not supported in nios2, set this to 0. */ -#define IO_SPACE_LIMIT 0 - -#define readb_relaxed (addr) readb(addr) -#define readw_relaxed (addr) readw(addr) -#define readl_relaxed (addr) readl(addr) - -#define writeb_relaxed (x, addr) writeb(x, addr) -#define writew_relaxed (x, addr) writew(x, addr) -#define writel_relaxed (x, addr) writel(x, addr) - -void __iomem *ioremap (unsigned long physaddr,unsigned long size); -void iounmap (void __iomem *addr); - -/* Macros used for converting between virtual and physical mappings. */ -#define phys_to_virt (vaddr) \ - ((void *)((unsigned long)(vaddr) | CONFIG_NIOS2_KERNEL_REGION_BASE)) -/* Clear top 3 bits */ -#define virt_to_phys (vaddr) \ - ((unsigned long)((unsigned long)(vaddr) & ~0xE0000000)) - -#include <asm-generic/io.h> - -#endif /* _ASM_NIOS2_IO_H */
arch/nios2/include/asm/irq.h deleted +0 -14
@@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* -* Copyright (C) 2013 Altera Corporation -* Copyright (C) 2011 Tobias Klauser <[email protected]> -*/ - -#ifndef _ASM_NIOS2_IRQ_H -#define _ASM_NIOS2_IRQ_H - -#define NIOS2_CPU_NR_IRQS 32 - -#include <asm-generic/irq.h> - -#endif
arch/nios2/include/asm/irqflags.h deleted +0 -59
59 lines not on this page · raw message
arch/nios2/include/asm/kgdb.h deleted +0 -80
80 lines not on this page · raw message
arch/nios2/include/asm/linkage.h deleted +0 -15
@@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* -* Copyright (C) 2009 Thomas Chou <[email protected]> -* -* All rights reserved. -*/ - -#ifndef _ASM_NIOS2_LINKAGE_H -#define _ASM_NIOS2_LINKAGE_H - -/* This file is required by include/linux/linkage.h */ -#define __ALIGN .align 4 -#define __ALIGN_STR ".align 4" - -#endif
arch/nios2/include/asm/mmu.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* Copyright (C) 2010 Tobias Klauser <[email protected]> -* Copyright (C) 2004 Microtronix Datacom Ltd. -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -*/ - -#ifndef _ASM_NIOS2_MMU_H -#define _ASM_NIOS2_MMU_H - -/* Default "unsigned long" context */ -typedef unsigned long mm_context_t ; - -#endif /* _ASM_NIOS2_MMU_H */
arch/nios2/include/asm/mmu_context.h deleted +0 -55
55 lines not on this page · raw message
arch/nios2/include/asm/page.h deleted +0 -96
83 lines not on this page · raw message
arch/nios2/include/asm/pgalloc.h deleted +0 -34
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/pgtable-bits.h deleted +0 -37
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/pgtable.h deleted +0 -297
297 lines not on this page · raw message
arch/nios2/include/asm/processor.h deleted +0 -77
77 lines not on this page · raw message
arch/nios2/include/asm/ptrace.h deleted +0 -82
82 lines not on this page · raw message
arch/nios2/include/asm/registers.h deleted +0 -58
58 lines not on this page · raw message
arch/nios2/include/asm/setup.h deleted +0 -23
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/shmparam.h deleted +0 -10
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/string.h deleted +0 -24
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/switch_to.h deleted +0 -31
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/syscall.h deleted +0 -82
82 lines not on this page · raw message
arch/nios2/include/asm/syscalls.h deleted +0 -14
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/thread_info.h deleted +0 -101
101 lines not on this page · raw message
arch/nios2/include/asm/timex.h deleted +0 -15
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/tlbflush.h deleted +0 -44
44 lines not on this page · raw message
arch/nios2/include/asm/traps.h deleted +0 -21
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/uaccess.h deleted +0 -189
189 lines not on this page · raw message
arch/nios2/include/asm/unistd.h deleted +0 -10
Lines of this file are not shown. View the raw message.
arch/nios2/include/asm/vmalloc.h deleted +0 -4
Lines of this file are not shown. View the raw message.
arch/nios2/include/uapi/asm/Kbuild deleted +0 -4
Lines of this file are not shown. View the raw message.
arch/nios2/include/uapi/asm/byteorder.h deleted +0 -23
Lines of this file are not shown. View the raw message.
arch/nios2/include/uapi/asm/elf.h deleted +0 -66
66 lines not on this page · raw message
arch/nios2/include/uapi/asm/ptrace.h deleted +0 -84
84 lines not on this page · raw message
arch/nios2/include/uapi/asm/sigcontext.h deleted +0 -31
Lines of this file are not shown. View the raw message.
arch/nios2/include/uapi/asm/signal.h deleted +0 -24
Lines of this file are not shown. View the raw message.
arch/nios2/include/uapi/asm/unistd.h deleted +0 -19
Lines of this file are not shown. View the raw message.
arch/nios2/kernel/Makefile.syscalls deleted +0 -3
Lines of this file are not shown. View the raw message.
arch/nios2/kernel/asm-offsets.c deleted +0 -75
75 lines not on this page · raw message
arch/nios2/kernel/cpuinfo.c deleted +0 -192
192 lines not on this page · raw message
arch/nios2/kernel/entry.S deleted +0 -574
574 lines not on this page · raw message
arch/nios2/kernel/head.S deleted +0 -165
165 lines not on this page · raw message
arch/nios2/kernel/insnemu.S deleted +0 -580
580 lines not on this page · raw message
arch/nios2/kernel/irq.c deleted +0 -80
80 lines not on this page · raw message
arch/nios2/kernel/kgdb.c deleted +0 -158
158 lines not on this page · raw message
arch/nios2/kernel/misaligned.c deleted +0 -238
238 lines not on this page · raw message
arch/nios2/kernel/module.c deleted +0 -117
117 lines not on this page · raw message
arch/nios2/kernel/nios2_ksyms.c deleted +0 -44
44 lines not on this page · raw message
arch/nios2/kernel/process.c deleted +0 -268
268 lines not on this page · raw message
arch/nios2/kernel/prom.c deleted +0 -41
41 lines not on this page · raw message
arch/nios2/kernel/ptrace.c deleted +0 -145
145 lines not on this page · raw message
arch/nios2/kernel/setup.c deleted +0 -208
208 lines not on this page · raw message
arch/nios2/kernel/signal.c deleted +0 -328
328 lines not on this page · raw message
arch/nios2/kernel/sys_nios2.c deleted +0 -60
60 lines not on this page · raw message
arch/nios2/kernel/syscall_table.c deleted +0 -21
Lines of this file are not shown. View the raw message.
arch/nios2/kernel/time.c deleted +0 -359
359 lines not on this page · raw message
arch/nios2/kernel/traps.c deleted +0 -196
196 lines not on this page · raw message
arch/nios2/kernel/vmlinux.lds.S deleted +0 -64
64 lines not on this page · raw message
arch/nios2/lib/memcpy.c deleted +0 -202
202 lines not on this page · raw message
arch/nios2/lib/memmove.c deleted +0 -80
80 lines not on this page · raw message
arch/nios2/lib/memset.c deleted +0 -79
79 lines not on this page · raw message
arch/nios2/mm/cacheflush.c deleted +0 -281
281 lines not on this page · raw message
arch/nios2/mm/dma-mapping.c deleted +0 -77
77 lines not on this page · raw message
arch/nios2/mm/fault.c deleted +0 -264
264 lines not on this page · raw message
arch/nios2/mm/init.c deleted +0 -154
154 lines not on this page · raw message
arch/nios2/mm/ioremap.c deleted +0 -188
188 lines not on this page · raw message
arch/nios2/mm/mmu_context.c deleted +0 -116
116 lines not on this page · raw message
arch/nios2/mm/pgtable.c deleted +0 -74
74 lines not on this page · raw message
arch/nios2/mm/tlb.c deleted +0 -304
304 lines not on this page · raw message
arch/nios2/mm/uaccess.c deleted +0 -130
130 lines not on this page · raw message
arch/nios2/platform/Kconfig.platform deleted +0 -149
149 lines not on this page · raw message
arch/nios2/platform/platform.c deleted +0 -52
52 lines not on this page · raw message
scripts/dtc/include-prefixes/nios2 deleted +0 -1
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.43.0
Part of the diff is not shown here. View the raw message.
Quoted 14 lines · Ethan Nelson-Moore
The Nios II architecture is a soft-core architecture developed by Altera (since acquired by Intel) and intended to run on their FPGAs.
Licenses for the architecture have not been available for purchase since 2024 [1], and support for it has been removed from GCC 15 [2], Buildroot [3], and QEMU [4].
Given all of these factors, it is time to remove Nios II support from the kernel. The maintainer stated in 2024 that they were planning to do so soon [5], but this did not come to pass.
Remove Nios II support from the kernel and move the former maintainer to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support!
Quoted 8 lines
References:
[1] https://docs.altera.com/v/u/docs/781327/is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153
[3] https://github.com/buildroot/buildroot/commit/6775ccc5a199d574ad70b5f79ec58cce97a07c6f
[4] https://github.com/qemu/qemu/commit/6c3014858c4c0024dd0560f08a6eda0f92f658d6
[5] https://sourceware.org/pipermail/newlib/2024/021083.htmlSigned-off-by Ethan Nelson-Moore <[email protected]>
Hello,
include/linux/seqlock.h
Quoted 15 lines · Ethan Nelson-Moore
drivers/pwm/Kconfig +1
-1@@ -131,7 +131,7 @@ config PWM_ATMEL_TCB config PWM_AXI_PWMGEN tristate "Analog Devices AXI PWM generator" - depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST + depends on MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST select REGMAP_MMIO help This enables support for the Analog Devices AXI PWM generator.include/linux/seqlock.h +0
-0
Best regards
Uwe
Arnd Bergmann
maintainerQuoted 7 lines · Ethan Nelson-Moore
The Nios II architecture is a soft-core architecture developed by Altera (since acquired by Intel) and intended to run on their FPGAs.
Licenses for the architecture have not been available for purchase since 2024 [1], and support for it has been removed from GCC 15 [2], Buildroot [3], and QEMU [4].
Quoted 6 lines
Given all of these factors, it is time to remove Nios II support from the kernel. The maintainer stated in 2024 that they were planning to do so soon [5], but this did not come to pass.
Remove Nios II support from the kernel and move the former maintainer to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support!
Hi Ethan,
We last discussed this a year ago when Simon Schuster mentioned[1] that Siemens Energy is still using NIOS-2 in production and would prefer to have this still included in Linux for at least another few years until the obligation for kernel updates ends.
My feeling is that the maintenance burden of keeping nios2 is relatively low. On the other hand, maintaining it out of tree as a patch set is also something that should not be all that hard if it does get removed.
Simon mentioned that he expected others to also use nios2 with new kernels, but I have not heard from anyone else actually doing it.
I've added Simon and Andreas to Cc here to let them comment more here.
Arnd
[1] https://sourceware.org/pipermail/binutils/2025-March/140140.html
Peter Zijlstra
maintainerQuoted 15 lines · Arnd Bergmann
Quoted 7 lines · Ethan Nelson-Moore
The Nios II architecture is a soft-core architecture developed by Altera (since acquired by Intel) and intended to run on their FPGAs.
Licenses for the architecture have not been available for purchase since 2024 [1], and support for it has been removed from GCC 15 [2], Buildroot [3], and QEMU [4].
Quoted 6 lines
Given all of these factors, it is time to remove Nios II support from the kernel. The maintainer stated in 2024 that they were planning to do so soon [5], but this did not come to pass.
Remove Nios II support from the kernel and move the former maintainer to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support!
Quoted 6 lines
Hi Ethan,
We last discussed this a year ago when Simon Schuster mentioned[1] that Siemens Energy is still using NIOS-2 in production and would prefer to have this still included in Linux for at least another few years until the obligation for kernel updates ends.
Isn't that what we have LTS branches for?
Quoted 21 lines · Ethan Nelson-Moore
The Nios II architecture is a soft-core architecture developed by Altera (since acquired by Intel) and intended to run on their FPGAs.
Licenses for the architecture have not been available for purchase since 2024 [1], and support for it has been removed from GCC 15 [2], Buildroot [3], and QEMU [4].
Given all of these factors, it is time to remove Nios II support from the kernel. The maintainer stated in 2024 that they were planning to do so soon [5], but this did not come to pass.
Remove Nios II support from the kernel and move the former maintainer to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support!
References:
[1] https://docs.altera.com/v/u/docs/781327/is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153
[3] https://github.com/buildroot/buildroot/commit/6775ccc5a199d574ad70b5f79ec58cce97a07c6f
[4] https://github.com/qemu/qemu/commit/6c3014858c4c0024dd0560f08a6eda0f92f658d6
[5] https://sourceware.org/pipermail/newlib/2024/021083.html
Quoted 2 lines
Signed-off-by Ethan Nelson-Moore <[email protected]>---
Wearing DT hat:
Best regards,
Krzysztof
Quoted 14 lines · On Sun, 17 May 2026 21:28:33 -0700 Ethan Nelson-Moore <[email protected]>…
The Nios II architecture is a soft-core architecture developed by Altera (since acquired by Intel) and intended to run on their FPGAs.
Licenses for the architecture have not been available for purchase since 2024 [1], and support for it has been removed from GCC 15 [2], Buildroot [3], and QEMU [4].
Given all of these factors, it is time to remove Nios II support from the kernel. The maintainer stated in 2024 that they were planning to do so soon [5], but this did not come to pass.
Remove Nios II support from the kernel and move the former maintainer to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support!
Quoted 8 lines
References:
[1] https://docs.altera.com/v/u/docs/781327/is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153
[3] https://github.com/buildroot/buildroot/commit/6775ccc5a199d574ad70b5f79ec58cce97a07c6f
[4] https://github.com/qemu/qemu/commit/6c3014858c4c0024dd0560f08a6eda0f92f658d6
[5] https://sourceware.org/pipermail/newlib/2024/021083.htmlSigned-off-by Ethan Nelson-Moore <[email protected]>
If it goes for IIO trivial changes.
Simon Schuster
maintainerHi Ethan, Arnd, Peter and Dinh,
Quoted 4 lines · Arnd Bergmann
We last discussed this a year ago when Simon Schuster mentioned[1] that Siemens Energy is still using NIOS-2 in production and would prefer to have this still included in Linux for at least another few years until the obligation for kernel updates ends.
First off, thank you, Arnd, for remembering us as this patch series came up and also to Dinh for his maintenance of the architecture!
Regarding our status in relation to nios2, Arnd's response already gives you the gist:
We are well aware that the architecture was deprecated by Intel and are therefore phasing it out in favour of more contemporary hardware. I'm also fully aware of the uncertain future of 32-bit architectures as a whole [0] and that this fate will come to nios2 sooner or later. But as of now, the mainline support is still in very good shape.
Quoted 1 line · Peter Zijlstra
Isn't that what we have LTS branches for?
Unfortunately, as we are an infrastructure provider for civil energy infrastructure, the refurbishment cycle is a bit slower than for traditional consumer systems. This implies that the traditional LTS support duration (max. Dec 2028 as of writing [1]) is rather short, and we would be glad if we could keep the architecture in mainline for at least 5 years and only then "decay" to LTS.
Quoted 4 lines · Arnd Bergmann
My feeling is that the maintenance burden of keeping nios2 is relatively low. On the other hand, maintaining it out of tree as a patch set is also something that should not be all that hard if it does get removed.
Judging from the architecture's git history, it seems that it's currently mainly touched by treewide refactors, which are extremely helpful as we therefore do not have to piece these changes together downstream. In other respects, we try to be good citizens and contribute bugfixes as well as required cleanups (such as implementing clone3 [2] and fixing its flag behaviour on 32-bit architectures) as they come up.
If desired, we also would be happy to intensify our support regarding reviews or testing to share the maintnance burden if it helps to keep nios2 in mainline a bit longer.
Best regards,
Simon
0: https://lwn.net/Articles/1035727/
1: https://www.kernel.org/category/releases.html
2: https://lore.kernel.org/lkml/20250821-nios2-implement-clone3-v1-0-1bb24017376a@siemens-energy.com/
Hi Simon,
Quoted 3 lines
downstream. In other respects, we try to be good citizens and contribute bugfixes as well as required cleanups (such as implementing clone3 [2] and fixing its flag behaviour on 32-bit architectures) as they come up.
Well, this is definitely 'good citizen'...
Quoted 3 lines
If desired, we also would be happy to intensify our support regarding reviews or testing to share the maintnance burden if it helps to keep nios2 in mainline a bit longer.
... but given this, you might want to get added in MAINTAINERS as reviewer (or even maintainer) for nios2? Besides that your efforts are already worth it in my book, it would also ensure you get CCed on patches like this. Then, you are not depending on people like Arnd putting you in the loop manually.
Happy hacking,
Wolfram
Hi, Simon,
Thank you for notifying us of your continued use of the Nios II architecture.
Quoted 6 lines · Simon Schuster
Unfortunately, as we are an infrastructure provider for civil energy infrastructure, the refurbishment cycle is a bit slower than for traditional consumer systems. This implies that the traditional LTS support duration (max. Dec 2028 as of writing [1]) is rather short, and we would be glad if we could keep the architecture in mainline for at least 5 years and only then "decay" to LTS.
Your reasoning makes complete sense. However, there is an alternative to maintaining the architecture in mainline.
The Civil Infrastructure Platform project maintains super-LTS kernels
(and a set of base Debian packages) for 10 years. They are intended to
be used for exactly these kinds of devices.
See here: https://wiki.linuxfoundation.org/civilinfrastructureplatform/start#kernel_maintainership
and here: https://cip-project.org/about/linux-kernel-core-packages
CIP will maintain kernel 6.12 until 2035. Is this long enough for your lifecycle? What kernel are you currently using? If it's newer than 6.12, we can easily wait until the next CIP SLTS release to remove Nios II support to avoid a downgrade.
One important thing to note is that the default CIP kernel branches are not equivalent to standard LTS branches and include new hardware support, which has a higher likelihood of introducing regressions. However, the -st branches do not include these changes and follow the same patch acceptance rules as standard LTS, so they are likely a better fit for your use case.
Also, CIP focuses on architectures used by CIP members - currently I think they are x86 (32 and 64-bit), ARM (32 and 64-bit) and RISC-V. Since Siemens is already a CIP member, you can simply ask them to add Nios II to the list, and you can assist them with testing and directly submit patches to them once the standard 6.12 LTS period ends.
I hope this information helps you decide on the best course of action.
Ethan
Quoted 5 lines · On Sun, 17 May 2026 21:28:33 -0700 Ethan Nelson-Moore <[email protected]>…
The Nios II architecture is a soft-core architecture developed by Altera (since acquired by Intel) and intended to run on their FPGAs.
Licenses for the architecture have not been available for purchase since 2024 [1],
Except I think they got 'beaten up' by some telcos.
The Nios II gets used inside fpga for small cpu doing things that it would be far to difficult to do in VHDL.
(I believe some mobile base stations fgpa embed a lot of them.) These will have a small amount of code (maybe 4k - 64k) and a similarly small amount of data memory along with access to fpga peripheral registers and (optionally) host memory vie PCIe. No MMU, no cache (or rather the code/data is in the cache memory but it isn't backed by anything), no branch predictor (guaranteed cycle times), etc.
Intel suggested that RISCV could be used instead, but it isn't the same beast. They didn't document the instruction timings nor how to add custom instructions.
The company I used to work for used 4 NIOS II inside an fpga. The instruction timing for one is pretty critical, it has some code that has to complete in 122 clocks (worst case).
Our solution was to spend a few man-weeks writing a compatible cpu! I think it came out with fewer pipeline stalls (in particular it 'lost' the one for a (predicted) taken branch).
The maximum clock frequency might be lower; but it is ok at 62.5MHz and the higher 125MHz in just impossible for all sorts of reasons.
OTOH I really wouldn't run Linux on it!
-- David
Quoted 18 lines
and support for it has been removed from GCC 15 [2], Buildroot [3], and QEMU [4].
Given all of these factors, it is time to remove Nios II support from the kernel. The maintainer stated in 2024 that they were planning to do so soon [5], but this did not come to pass.
Remove Nios II support from the kernel and move the former maintainer to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support!
References:
[1] https://docs.altera.com/v/u/docs/781327/is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153
[3] https://github.com/buildroot/buildroot/commit/6775ccc5a199d574ad70b5f79ec58cce97a07c6f
[4] https://github.com/qemu/qemu/commit/6c3014858c4c0024dd0560f08a6eda0f92f658d6
[5] https://sourceware.org/pipermail/newlib/2024/021083.htmlSigned-off-by Ethan Nelson-Moore <[email protected]>
Hi David,
Quoted 10 lines · David Laight
The company I used to work for used 4 NIOS II inside an fpga. The instruction timing for one is pretty critical, it has some code that has to complete in 122 clocks (worst case).
Our solution was to spend a few man-weeks writing a compatible cpu! I think it came out with fewer pipeline stalls (in particular it 'lost' the one for a (predicted) taken branch).
The maximum clock frequency might be lower; but it is ok at 62.5MHz and the higher 125MHz in just impossible for all sorts of reasons.OTOH I really wouldn't run Linux on it!
Sounds similar to what CoreSemi is doing with J2 (nommu, also for predictable latency), but their products do run Linux. See the video from the LPC session at
https://lpc.events/event/19/contributions/2097/
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Simon Schuster
maintainerHi Ethan, hi Wolfram,
Thank you for your thoughtful responses.
Quoted 9 lines · Ethan Nelson-Moore
Your reasoning makes complete sense. However, there is an alternative to maintaining the architecture in mainline.
The Civil Infrastructure Platform project maintains super-LTS kernels
(and a set of base Debian packages) for 10 years. They are intended to
be used for exactly these kinds of devices.
See here: https://wiki.linuxfoundation.org/civilinfrastructureplatform/start#kernel_maintainership
and here: https://cip-project.org/about/linux-kernel-core-packages
Quoted 4 lines
CIP will maintain kernel 6.12 until 2035. Is this long enough for your lifecycle? What kernel are you currently using? If it's newer than 6.12, we can easily wait until the next CIP SLTS release to remove Nios II support to avoid a downgrade.
This depends. For released/maintained firmware revisions we already track CIP SLTS versions (candidates) to be prepared, the majority of which is currently still running 6.1.x with 6.12.x up-and-coming. But for the reasons outlined by you regarding architectural and feature support in CIP SLTS, we do not, however, use the extended support duration SLTS releases in production, and instead upgrade with the kernel.org LTS branch release schedule and track these internally alongside mainline to prevent major obstacles during version jumps.
2035 is still a rather tight timeframe for our typical support/phase-out period (we would hope to get close to 2040 with the SLTS extensions), which is also the reason for our targeted 'lifetime extension' for the nios2 architecture for approximately 5 years, or more precisely ~2-3 SLTS kernels assuming the usual cadence of 2 years between SLTS versions (+ some safety margin).
Quoted 5 lines
Also, CIP focuses on architectures used by CIP members - currently I think they are x86 (32 and 64-bit), ARM (32 and 64-bit) and RISC-V. Since Siemens is already a CIP member, you can simply ask them to add Nios II to the list, and you can assist them with testing and directly submit patches to them once the standard 6.12 LTS period ends.
We have already been in contact with the CIP team (even though the contact has unfortunately lapsed a bit, mostly our fault), but adding an additional architecture seemed to be a more substantial effort. N.B.: Due to past circumstances, we are a completely distinct business entity from Siemens AG that merely shares the trademark and a common history; but of course this should not hinder us from getting directly involved in CIP (quite the opposite!). But this also requires some setup time.
Quoted 9 lines · Wolfram Sang
Quoted 3 lines
If desired, we also would be happy to intensify our support regarding reviews or testing to share the maintnance burden if it helps to keep nios2 in mainline a bit longer.
... but given this, you might want to get added in
MAINTAINERSas reviewer (or even maintainer) for nios2? Besides that your efforts are already worth it in my book, it would also ensure you get CCed on patches like this. Then, you are not depending on people like Arnd putting you in the loop manually.
Sure, I'd be glad to do so, but so far I refrained from it as I was a bit unsure about the netiquette (can I simply do so by self-proclamation? At least the git history seems to suggest so...).
Best regards,
Simon
Hi Simon,
Quoted 9 lines
Quoted 5 lines
... but given this, you might want to get added in
MAINTAINERSas reviewer (or even maintainer) for nios2? Besides that your efforts are already worth it in my book, it would also ensure you get CCed on patches like this. Then, you are not depending on people like Arnd putting you in the loop manually.Sure, I'd be glad to do so, but so far I refrained from it as I was a bit unsure about the netiquette (can I simply do so by self-proclamation? At least the git history seems to suggest so...).
In your case, you can do so, I'd say. You explained your very reasonable interest in the architecture and have already shown efforts to keep it, as we can see from the git history. The final call will be done by Dinh Nguyen obviously with whom you probably need to sort out details. But I can't imagine your offer for help will be rejected, quite the contrary.
Happy hacking,
Wolfram
Quoted 4 lines · Simon Schuster
Sure, I'd be glad to do so, but so far I refrained from it as I was a bit unsure about the netiquette (can I simply do so by self-proclamation? At least the git history seems to suggest so...).
Up to the existing maintainer, in general.
I would also suggest changing the support level to "Supported", instead of "Maintained" -- that would help justify keeping it in mainline.
I hope that helps a bit...
Cheers,
Miguel
Dinh Nguyen
maintainerHi Simon,
Quoted 12 lines · Wolfram Sang
Hi Simon,
Quoted 9 lines
Quoted 5 lines
... but given this, you might want to get added in
MAINTAINERSas reviewer (or even maintainer) for nios2? Besides that your efforts are already worth it in my book, it would also ensure you get CCed on patches like this. Then, you are not depending on people like Arnd putting you in the loop manually.Sure, I'd be glad to do so, but so far I refrained from it as I was a bit unsure about the netiquette (can I simply do so by self-proclamation? At least the git history seems to suggest so...).
Quoted 6 lines
In your case, you can do so, I'd say. You explained your very reasonable interest in the architecture and have already shown efforts to keep it, as we can see from the git history. The final call will be done by Dinh Nguyen obviously with whom you probably need to sort out details. But I can't imagine your offer for help will be rejected, quite the contrary.
I 100% support adding you as a maintainer. Please send a patch.
Thanks,
Dinh
Arnd Bergmann
maintainerQuoted 8 lines · Simon Schuster
On Mon, May 18, 2026 at 05:13:58PM -0700, Ethan Nelson-Moore wrote:
2035 is still a rather tight timeframe for our typical support/phase-out period (we would hope to get close to 2040 with the SLTS extensions), which is also the reason for our targeted 'lifetime extension' for the nios2 architecture for approximately 5 years, or more precisely ~2-3 SLTS kernels assuming the usual cadence of 2 years between SLTS versions (+ some safety margin).
I think that is a reasonable target. We have a bunch of embedded architectures that have a similarly small user base and I expect that we will want to remove most of them at some point, as we did for seven architectures in linux-4.17.
As long as there is a maintainer for nios2 and it's not actively getting in the way of a specific treewide change, I don't see any reason to remove this any earlier than the other ones.
Obviously at some point nios2 will have to get removed because of the limit to gcc-14 or older, but that should not be a problem for the next few LTS releases.
Quoted 3 lines
Sure, I'd be glad to do so, but so far I refrained from it as I was a bit unsure about the netiquette (can I simply do so by self-proclamation? At least the git history seems to suggest so...).
Dinh already replied that he welcomes the help, and I also suggested the same thing a year ago. As the only known user that has contributed patches in a long time, you are obviously qualified.
Sending a patch for the MAINTAINERS file to Dinh is the first step, once he has sent that upstream, you can (optionally) apply for kernel.org account that would let you host a git tree on kernel.org or have a tree that you both have access to.
Arnd
Simon Schuster
maintainerHi Arnd, Dinh, Wolfram, and Miguel,
thank you for your explanations and encouragement; I've now sent my application for co-maintainership for arch/nios2 to you, Dinh.
Quoted 5 lines · Arnd Bergmann
I think that is a reasonable target. We have a bunch of embedded architectures that have a similarly small user base and I expect that we will want to remove most of them at some point, as we did for seven architectures in linux-4.17.
Quoted 7 lines
As long as there is a maintainer for nios2 and it's not actively getting in the way of a specific treewide change, I don't see any reason to remove this any earlier than the other ones.
Obviously at some point nios2 will have to get removed because of the limit to gcc-14 or older, but that should not be a problem for the next few LTS releases.
This all sounds quite reasonable, including the toolchain considerations. Thank you for the offer to keep it around a bit. If any issues arise with tree-wide changes I'd be happy to look into what can be done on the arch/nios2 side; now that the issues should reliably reach me via mail.
Quoted 4 lines
Quoted 3 lines
Sure, I'd be glad to do so, but so far I refrained from it as I was a bit unsure about the netiquette (can I simply do so by self-proclamation? At least the git history seems to suggest so...).
Quoted 8 lines
Dinh already replied that he welcomes the help, and I also suggested the same thing a year ago. As the only known user that has contributed patches in a long time, you are obviously qualified.
Sending a patch for the
MAINTAINERSfile to Dinh is the first step, once he has sent that upstream, you can (optionally) apply for kernel.org account that would let you host a git tree on kernel.org or have a tree that you both have access to.
I've sent the patch, I'm sure we can work everything else out from there.
Best regards,
Simon
Quoted 7 lines · Miguel Ojeda
Quoted 4 lines · Simon Schuster
Sure, I'd be glad to do so, but so far I refrained from it as I was a bit unsure about the netiquette (can I simply do so by self-proclamation? At least the git history seems to suggest so...).
Quoted 5 lines
Up to the existing maintainer, in general.
I would also suggest changing the support level to "Supported", instead of "Maintained" -- that would help justify keeping it in mainline.
Supported implies that one gets real money for the job. Is this the case here?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Simon Schuster
maintainerHello Andy,
Quoted 1 line · Andy Shevchenko
Supported implies that one gets real money for the job. Is this the case here?
Thank you for caring about NIOSII. I'm doing so as part of my employment at Siemens Energy; if this is real enough then yes :)
Best regards
Simon
Quoted 5 lines · Simon Schuster
Quoted 1 line · Andy Shevchenko
Supported implies that one gets real money for the job. Is this the case here?
Thank you for caring about NIOSII. I'm doing so as part of my employment at Siemens Energy; if this is real enough then yes :)
Then Supported is exactly what a record in the MAINTAINERS needs and it facilitates the existence of the code in kernel for as long as this kept true.
Signature · 2 lines
With Best Regards, Andy Shevchenko