Remove metag architecture
Subsystems (27)
cover Remove metag architecture
These patches remove the metag architecture and tightly dependent drivers from the kernel. With the 4.16 kernel the ancient gcc 4.2.4 based metag toolchain we have been using is hitting compiler bugs, so now seems a good time to drop it altogether.
Quoting from patch 1:
The earliest Meta architecture port of Linux I have a record of was an import of a Meta port of Linux v2.4.1 in February 2004, which was worked on significantly over the next few years by Graham Whaley, Will Newton, Matt Fleming, myself and others.
Eventually the port was merged into mainline in v3.9 in March 2013, not long after Imagination Technologies bought MIPS Technologies and shifted its CPU focus over to the MIPS architecture.
As a result, though the port was maintained for a while, kept on life support for a while longer, and useful for testing a few specific drivers for which I don't have ready access to the equivalent MIPS hardware, it is now essentially dead with no users.
It is also stuck using an out-of-tree toolchain based on GCC 4.2.4 which is no longer maintained, now struggles to build modern kernels due to toolchain bugs, and doesn't itself build with a modern GCC. The latest buildroot port is still using an old uClibc snapshot which is no longer served, and the latest uClibc doesn't build with GCC 4.2.4.
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
James Hogan (13):
metag: Remove arch/metag/
docs: Remove metag docs
docs: Remove remaining references to metag
Drop a bunch of metag references
irqchip: Remove metag irqchip drivers
clocksource: Remove metag generic timer driver
tty: Remove metag DA TTY and console driver
MAINTAINERS/CREDITS: Drop METAG ARCHITECTURE
pinctrl: Drop TZ1090 drivers
gpio: Drop TZ1090 drivers
watchdog: imgpdc: Drop METAG dependency
media: img-ir: Drop METAG dependency
i2c: img-scb: Drop METAG dependency
CREDITS | 5 + Documentation/00-INDEX | 2 - Documentation/admin-guide/kernel-parameters.txt | 4 - Documentation/dev-tools/kmemleak.rst | 2 +- .../devicetree/bindings/gpio/gpio-tz1090-pdc.txt | 45 - .../devicetree/bindings/gpio/gpio-tz1090.txt | 88 - Documentation/devicetree/bindings/metag/meta.txt | 30 - .../bindings/pinctrl/img,tz1090-pdc-pinctrl.txt | 127 -- .../bindings/pinctrl/img,tz1090-pinctrl.txt | 227 --- .../features/core/BPF-JIT/arch-support.txt | 1 - .../core/generic-idle-thread/arch-support.txt | 1 - .../features/core/jump-labels/arch-support.txt | 1 - .../features/core/tracehook/arch-support.txt | 1 - .../features/debug/KASAN/arch-support.txt | 1 - .../debug/gcov-profile-all/arch-support.txt | 1 - Documentation/features/debug/kgdb/arch-support.txt | 1 - .../debug/kprobes-on-ftrace/arch-support.txt | 1 - .../features/debug/kprobes/arch-support.txt | 1 - .../features/debug/kretprobes/arch-support.txt | 1 - .../features/debug/optprobes/arch-support.txt | 1 - .../features/debug/stackprotector/arch-support.txt | 1 - .../features/debug/uprobes/arch-support.txt | 1 - .../debug/user-ret-profiler/arch-support.txt | 1 - .../features/io/dma-api-debug/arch-support.txt | 1 - .../features/io/dma-contiguous/arch-support.txt | 1 - .../features/io/sg-chain/arch-support.txt | 1 - .../features/lib/strncasecmp/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 - .../locking/rwsem-optimized/arch-support.txt | 1 - .../features/perf/kprobes-event/arch-support.txt | 1 - .../features/perf/perf-regs/arch-support.txt | 1 - .../features/perf/perf-stackdump/arch-support.txt | 1 - .../sched/membarrier-sync-core/arch-support.txt | 1 - .../features/sched/numa-balancing/arch-support.txt | 1 - .../seccomp/seccomp-filter/arch-support.txt | 1 - .../time/arch-tick-broadcast/arch-support.txt | 1 - .../features/time/clockevents/arch-support.txt | 1 - .../time/context-tracking/arch-support.txt | 1 - .../features/time/irq-time-acct/arch-support.txt | 1 - .../time/modern-timekeeping/arch-support.txt | 1 - .../features/time/virt-cpuacct/arch-support.txt | 1 - .../features/vm/ELF-ASLR/arch-support.txt | 1 - .../features/vm/PG_uncached/arch-support.txt | 1 - Documentation/features/vm/THP/arch-support.txt | 1 - Documentation/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/numa-memblock/arch-support.txt | 1 - .../features/vm/pte_special/arch-support.txt | 1 - Documentation/metag/00-INDEX | 4 - Documentation/metag/kernel-ABI.txt | 256 --- MAINTAINERS | 14 - arch/metag/Kconfig | 287 --- arch/metag/Kconfig.debug | 34 - arch/metag/Kconfig.soc | 69 - arch/metag/Makefile | 89 - arch/metag/boot/.gitignore | 3 - arch/metag/boot/Makefile | 68 - arch/metag/boot/dts/Makefile | 16 - arch/metag/boot/dts/skeleton.dts | 10 - arch/metag/boot/dts/skeleton.dtsi | 15 - arch/metag/boot/dts/tz1090.dtsi | 108 -- arch/metag/boot/dts/tz1090_generic.dts | 10 - arch/metag/configs/meta1_defconfig | 39 - arch/metag/configs/meta2_defconfig | 40 - arch/metag/configs/meta2_smp_defconfig | 41 - arch/metag/configs/tz1090_defconfig | 42 - arch/metag/include/asm/Kbuild | 33 - arch/metag/include/asm/atomic.h | 49 - arch/metag/include/asm/atomic_lnkget.h | 204 -- arch/metag/include/asm/atomic_lock1.h | 157 -- arch/metag/include/asm/barrier.h | 85 - arch/metag/include/asm/bitops.h | 127 -- arch/metag/include/asm/bug.h | 13 - arch/metag/include/asm/cache.h | 24 - arch/metag/include/asm/cacheflush.h | 251 --- arch/metag/include/asm/cachepart.h | 43 - arch/metag/include/asm/checksum.h | 93 - arch/metag/include/asm/clock.h | 59 - arch/metag/include/asm/cmpxchg.h | 64 - arch/metag/include/asm/cmpxchg_irq.h | 43 - arch/metag/include/asm/cmpxchg_lnkget.h | 87 - arch/metag/include/asm/cmpxchg_lock1.h | 49 - arch/metag/include/asm/core_reg.h | 36 - arch/metag/include/asm/cpu.h | 15 - arch/metag/include/asm/da.h | 44 - arch/metag/include/asm/delay.h | 30 - arch/metag/include/asm/div64.h | 13 - arch/metag/include/asm/dma-mapping.h | 12 - arch/metag/include/asm/elf.h | 126 -- arch/metag/include/asm/fixmap.h | 69 - arch/metag/include/asm/ftrace.h | 24 - arch/metag/include/asm/global_lock.h | 101 - arch/metag/include/asm/highmem.h | 62 - arch/metag/include/asm/hugetlb.h | 75 - arch/metag/include/asm/hwthread.h | 41 - arch/metag/include/asm/io.h | 170 -- arch/metag/include/asm/irq.h | 38 - arch/metag/include/asm/irqflags.h | 94 - arch/metag/include/asm/l2cache.h | 259 --- arch/metag/include/asm/linkage.h | 8 - arch/metag/include/asm/mach/arch.h | 86 - arch/metag/include/asm/metag_isa.h | 81 - arch/metag/include/asm/metag_mem.h | 1109 ----------- arch/metag/include/asm/metag_regs.h | 1184 ------------ arch/metag/include/asm/mman.h | 12 - arch/metag/include/asm/mmu.h | 78 - arch/metag/include/asm/mmu_context.h | 115 -- arch/metag/include/asm/mmzone.h | 43 - arch/metag/include/asm/module.h | 38 - arch/metag/include/asm/page.h | 129 -- arch/metag/include/asm/perf_event.h | 4 - arch/metag/include/asm/pgalloc.h | 83 - arch/metag/include/asm/pgtable-bits.h | 105 - arch/metag/include/asm/pgtable.h | 270 --- arch/metag/include/asm/processor.h | 201 -- arch/metag/include/asm/ptrace.h | 61 - arch/metag/include/asm/setup.h | 10 - arch/metag/include/asm/smp.h | 28 - arch/metag/include/asm/sparsemem.h | 14 - arch/metag/include/asm/spinlock.h | 19 - arch/metag/include/asm/spinlock_lnkget.h | 213 --- arch/metag/include/asm/spinlock_lock1.h | 165 -- arch/metag/include/asm/spinlock_types.h | 21 - arch/metag/include/asm/stacktrace.h | 21 - arch/metag/include/asm/string.h | 14 - arch/metag/include/asm/switch.h | 21 - arch/metag/include/asm/syscall.h | 104 - arch/metag/include/asm/syscalls.h | 40 - arch/metag/include/asm/tbx.h | 1420 -------------- arch/metag/include/asm/tcm.h | 31 - arch/metag/include/asm/thread_info.h | 141 -- arch/metag/include/asm/tlb.h | 37 - arch/metag/include/asm/tlbflush.h | 78 - arch/metag/include/asm/topology.h | 28 - arch/metag/include/asm/traps.h | 48 - arch/metag/include/asm/uaccess.h | 213 --- arch/metag/include/asm/unistd.h | 12 - arch/metag/include/asm/user_gateway.h | 45 - arch/metag/include/uapi/asm/Kbuild | 31 - arch/metag/include/uapi/asm/byteorder.h | 2 - arch/metag/include/uapi/asm/ech.h | 16 - arch/metag/include/uapi/asm/ptrace.h | 114 -- arch/metag/include/uapi/asm/sigcontext.h | 32 - arch/metag/include/uapi/asm/siginfo.h | 16 - arch/metag/include/uapi/asm/swab.h | 27 - arch/metag/include/uapi/asm/unistd.h | 24 - arch/metag/kernel/.gitignore | 1 - arch/metag/kernel/Makefile | 40 - arch/metag/kernel/asm-offsets.c | 15 - arch/metag/kernel/cachepart.c | 132 -- arch/metag/kernel/clock.c | 110 -- arch/metag/kernel/core_reg.c | 118 -- arch/metag/kernel/da.c | 25 - arch/metag/kernel/devtree.c | 57 - arch/metag/kernel/dma.c | 588 ------ arch/metag/kernel/ftrace.c | 121 -- arch/metag/kernel/ftrace_stub.S | 62 - arch/metag/kernel/head.S | 66 - arch/metag/kernel/irq.c | 293 --- arch/metag/kernel/kick.c | 110 -- arch/metag/kernel/machines.c | 21 - arch/metag/kernel/metag_ksyms.c | 55 - arch/metag/kernel/module.c | 284 --- arch/metag/kernel/perf/Makefile | 3 - arch/metag/kernel/perf/perf_event.c | 879 --------- arch/metag/kernel/perf/perf_event.h | 106 -- arch/metag/kernel/perf_callchain.c | 97 - arch/metag/kernel/process.c | 448 ----- arch/metag/kernel/ptrace.c | 427 ----- arch/metag/kernel/setup.c | 622 ------ arch/metag/kernel/signal.c | 336 ---- arch/metag/kernel/smp.c | 668 ------- arch/metag/kernel/stacktrace.c | 187 -- arch/metag/kernel/sys_metag.c | 181 -- arch/metag/kernel/tbiunexp.S | 23 - arch/metag/kernel/tcm.c | 152 -- arch/metag/kernel/time.c | 26 - arch/metag/kernel/topology.c | 78 - arch/metag/kernel/traps.c | 992 ---------- arch/metag/kernel/user_gateway.S | 98 - arch/metag/kernel/vmlinux.lds.S | 74 - arch/metag/lib/Makefile | 23 - arch/metag/lib/ashldi3.S | 34 - arch/metag/lib/ashrdi3.S | 34 - arch/metag/lib/checksum.c | 167 -- arch/metag/lib/clear_page.S | 18 - arch/metag/lib/cmpdi2.S | 33 - arch/metag/lib/copy_page.S | 21 - arch/metag/lib/delay.c | 57 - arch/metag/lib/div64.S | 109 -- arch/metag/lib/divsi3.S | 101 - arch/metag/lib/ip_fast_csum.S | 33 - arch/metag/lib/lshrdi3.S | 34 - arch/metag/lib/memcpy.S | 186 -- arch/metag/lib/memmove.S | 346 ---- arch/metag/lib/memset.S | 87 - arch/metag/lib/modsi3.S | 39 - arch/metag/lib/muldi3.S | 45 - arch/metag/lib/ucmpdi2.S | 28 - arch/metag/lib/usercopy.c | 1257 ------------ arch/metag/mm/Kconfig | 147 -- arch/metag/mm/Makefile | 20 - arch/metag/mm/cache.c | 521 ----- arch/metag/mm/extable.c | 15 - arch/metag/mm/fault.c | 247 --- arch/metag/mm/highmem.c | 122 -- arch/metag/mm/hugetlbpage.c | 251 --- arch/metag/mm/init.c | 408 ---- arch/metag/mm/ioremap.c | 90 - arch/metag/mm/l2cache.c | 193 -- arch/metag/mm/maccess.c | 69 - arch/metag/mm/mmu-meta1.c | 157 -- arch/metag/mm/mmu-meta2.c | 208 -- arch/metag/mm/numa.c | 82 - arch/metag/oprofile/Makefile | 18 - arch/metag/oprofile/backtrace.c | 63 - arch/metag/oprofile/backtrace.h | 7 - arch/metag/oprofile/common.c | 66 - arch/metag/tbx/Makefile | 22 - arch/metag/tbx/tbicore.S | 136 -- arch/metag/tbx/tbictx.S | 366 ---- arch/metag/tbx/tbictxfpu.S | 190 -- arch/metag/tbx/tbidefr.S | 175 -- arch/metag/tbx/tbidspram.S | 161 -- arch/metag/tbx/tbilogf.S | 48 - arch/metag/tbx/tbipcx.S | 451 ----- arch/metag/tbx/tbiroot.S | 87 - arch/metag/tbx/tbisoft.S | 237 --- arch/metag/tbx/tbistring.c | 114 -- arch/metag/tbx/tbitimer.S | 207 -- drivers/clocksource/Kconfig | 5 - drivers/clocksource/Makefile | 1 - drivers/clocksource/metag_generic.c | 161 -- drivers/gpio/Kconfig | 15 - drivers/gpio/Makefile | 2 - drivers/gpio/gpio-tz1090-pdc.c | 231 --- drivers/gpio/gpio-tz1090.c | 602 ------ drivers/i2c/busses/Kconfig | 2 +- drivers/irqchip/Makefile | 2 - drivers/irqchip/irq-metag-ext.c | 871 --------- drivers/irqchip/irq-metag.c | 343 ---- drivers/media/rc/img-ir/Kconfig | 2 +- drivers/pinctrl/Kconfig | 12 - drivers/pinctrl/Makefile | 2 - drivers/pinctrl/pinctrl-tz1090-pdc.c | 989 ---------- drivers/pinctrl/pinctrl-tz1090.c | 2005 -------------------- drivers/tty/Kconfig | 13 - drivers/tty/Makefile | 1 - drivers/tty/metag_da.c | 665 ------- drivers/watchdog/Kconfig | 2 +- include/clocksource/metag_generic.h | 21 - include/linux/cpuhotplug.h | 1 - include/linux/irqchip/metag-ext.h | 34 - include/linux/irqchip/metag.h | 25 - include/linux/mm.h | 2 - include/trace/events/mmflags.h | 2 +- include/uapi/linux/elf.h | 3 - lib/Kconfig.debug | 2 +- mm/Kconfig | 7 +- scripts/checkstack.pl | 4 - scripts/recordmcount.c | 20 - tools/perf/perf-sys.h | 4 - 266 files changed, 14 insertions(+), 31962 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tz1090-pdc.txt delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tz1090.txt delete mode 100644 Documentation/devicetree/bindings/metag/meta.txt delete mode 100644 Documentation/devicetree/bindings/pinctrl/img,tz1090-pdc-pinctrl.txt delete mode 100644 Documentation/devicetree/bindings/pinctrl/img,tz1090-pinctrl.txt delete mode 100644 Documentation/metag/00-INDEX delete mode 100644 Documentation/metag/kernel-ABI.txt delete mode 100644 arch/metag/Kconfig delete mode 100644 arch/metag/Kconfig.debug delete mode 100644 arch/metag/Kconfig.soc delete mode 100644 arch/metag/Makefile delete mode 100644 arch/metag/boot/.gitignore delete mode 100644 arch/metag/boot/Makefile delete mode 100644 arch/metag/boot/dts/Makefile delete mode 100644 arch/metag/boot/dts/skeleton.dts delete mode 100644 arch/metag/boot/dts/skeleton.dtsi delete mode 100644 arch/metag/boot/dts/tz1090.dtsi delete mode 100644 arch/metag/boot/dts/tz1090_generic.dts delete mode 100644 arch/metag/configs/meta1_defconfig delete mode 100644 arch/metag/configs/meta2_defconfig delete mode 100644 arch/metag/configs/meta2_smp_defconfig delete mode 100644 arch/metag/configs/tz1090_defconfig delete mode 100644 arch/metag/include/asm/Kbuild delete mode 100644 arch/metag/include/asm/atomic.h delete mode 100644 arch/metag/include/asm/atomic_lnkget.h delete mode 100644 arch/metag/include/asm/atomic_lock1.h delete mode 100644 arch/metag/include/asm/barrier.h delete mode 100644 arch/metag/include/asm/bitops.h delete mode 100644 arch/metag/include/asm/bug.h delete mode 100644 arch/metag/include/asm/cache.h delete mode 100644 arch/metag/include/asm/cacheflush.h delete mode 100644 arch/metag/include/asm/cachepart.h delete mode 100644 arch/metag/include/asm/checksum.h delete mode 100644 arch/metag/include/asm/clock.h delete mode 100644 arch/metag/include/asm/cmpxchg.h delete mode 100644 arch/metag/include/asm/cmpxchg_irq.h delete mode 100644 arch/metag/include/asm/cmpxchg_lnkget.h delete mode 100644 arch/metag/include/asm/cmpxchg_lock1.h delete mode 100644 arch/metag/include/asm/core_reg.h delete mode 100644 arch/metag/include/asm/cpu.h delete mode 100644 arch/metag/include/asm/da.h delete mode 100644 arch/metag/include/asm/delay.h delete mode 100644 arch/metag/include/asm/div64.h delete mode 100644 arch/metag/include/asm/dma-mapping.h delete mode 100644 arch/metag/include/asm/elf.h delete mode 100644 arch/metag/include/asm/fixmap.h delete mode 100644 arch/metag/include/asm/ftrace.h delete mode 100644 arch/metag/include/asm/global_lock.h delete mode 100644 arch/metag/include/asm/highmem.h delete mode 100644 arch/metag/include/asm/hugetlb.h delete mode 100644 arch/metag/include/asm/hwthread.h delete mode 100644 arch/metag/include/asm/io.h delete mode 100644 arch/metag/include/asm/irq.h delete mode 100644 arch/metag/include/asm/irqflags.h delete mode 100644 arch/metag/include/asm/l2cache.h delete mode 100644 arch/metag/include/asm/linkage.h delete mode 100644 arch/metag/include/asm/mach/arch.h delete mode 100644 arch/metag/include/asm/metag_isa.h delete mode 100644 arch/metag/include/asm/metag_mem.h delete mode 100644 arch/metag/include/asm/metag_regs.h delete mode 100644 arch/metag/include/asm/mman.h delete mode 100644 arch/metag/include/asm/mmu.h delete mode 100644 arch/metag/include/asm/mmu_context.h delete mode 100644 arch/metag/include/asm/mmzone.h delete mode 100644 arch/metag/include/asm/module.h delete mode 100644 arch/metag/include/asm/page.h delete mode 100644 arch/metag/include/asm/perf_event.h delete mode 100644 arch/metag/include/asm/pgalloc.h delete mode 100644 arch/metag/include/asm/pgtable-bits.h delete mode 100644 arch/metag/include/asm/pgtable.h delete mode 100644 arch/metag/include/asm/processor.h delete mode 100644 arch/metag/include/asm/ptrace.h delete mode 100644 arch/metag/include/asm/setup.h delete mode 100644 arch/metag/include/asm/smp.h delete mode 100644 arch/metag/include/asm/sparsemem.h delete mode 100644 arch/metag/include/asm/spinlock.h delete mode 100644 arch/metag/include/asm/spinlock_lnkget.h delete mode 100644 arch/metag/include/asm/spinlock_lock1.h delete mode 100644 arch/metag/include/asm/spinlock_types.h delete mode 100644 arch/metag/include/asm/stacktrace.h delete mode 100644 arch/metag/include/asm/string.h delete mode 100644 arch/metag/include/asm/switch.h delete mode 100644 arch/metag/include/asm/syscall.h delete mode 100644 arch/metag/include/asm/syscalls.h delete mode 100644 arch/metag/include/asm/tbx.h delete mode 100644 arch/metag/include/asm/tcm.h delete mode 100644 arch/metag/include/asm/thread_info.h delete mode 100644 arch/metag/include/asm/tlb.h delete mode 100644 arch/metag/include/asm/tlbflush.h delete mode 100644 arch/metag/include/asm/topology.h delete mode 100644 arch/metag/include/asm/traps.h delete mode 100644 arch/metag/include/asm/uaccess.h delete mode 100644 arch/metag/include/asm/unistd.h delete mode 100644 arch/metag/include/asm/user_gateway.h delete mode 100644 arch/metag/include/uapi/asm/Kbuild delete mode 100644 arch/metag/include/uapi/asm/byteorder.h delete mode 100644 arch/metag/include/uapi/asm/ech.h delete mode 100644 arch/metag/include/uapi/asm/ptrace.h delete mode 100644 arch/metag/include/uapi/asm/sigcontext.h delete mode 100644 arch/metag/include/uapi/asm/siginfo.h delete mode 100644 arch/metag/include/uapi/asm/swab.h delete mode 100644 arch/metag/include/uapi/asm/unistd.h delete mode 100644 arch/metag/kernel/.gitignore delete mode 100644 arch/metag/kernel/Makefile delete mode 100644 arch/metag/kernel/asm-offsets.c delete mode 100644 arch/metag/kernel/cachepart.c delete mode 100644 arch/metag/kernel/clock.c delete mode 100644 arch/metag/kernel/core_reg.c delete mode 100644 arch/metag/kernel/da.c delete mode 100644 arch/metag/kernel/devtree.c delete mode 100644 arch/metag/kernel/dma.c delete mode 100644 arch/metag/kernel/ftrace.c delete mode 100644 arch/metag/kernel/ftrace_stub.S delete mode 100644 arch/metag/kernel/head.S delete mode 100644 arch/metag/kernel/irq.c delete mode 100644 arch/metag/kernel/kick.c delete mode 100644 arch/metag/kernel/machines.c delete mode 100644 arch/metag/kernel/metag_ksyms.c delete mode 100644 arch/metag/kernel/module.c delete mode 100644 arch/metag/kernel/perf/Makefile delete mode 100644 arch/metag/kernel/perf/perf_event.c delete mode 100644 arch/metag/kernel/perf/perf_event.h delete mode 100644 arch/metag/kernel/perf_callchain.c delete mode 100644 arch/metag/kernel/process.c delete mode 100644 arch/metag/kernel/ptrace.c delete mode 100644 arch/metag/kernel/setup.c delete mode 100644 arch/metag/kernel/signal.c delete mode 100644 arch/metag/kernel/smp.c delete mode 100644 arch/metag/kernel/stacktrace.c delete mode 100644 arch/metag/kernel/sys_metag.c delete mode 100644 arch/metag/kernel/tbiunexp.S delete mode 100644 arch/metag/kernel/tcm.c delete mode 100644 arch/metag/kernel/time.c delete mode 100644 arch/metag/kernel/topology.c delete mode 100644 arch/metag/kernel/traps.c delete mode 100644 arch/metag/kernel/user_gateway.S delete mode 100644 arch/metag/kernel/vmlinux.lds.S delete mode 100644 arch/metag/lib/Makefile delete mode 100644 arch/metag/lib/ashldi3.S delete mode 100644 arch/metag/lib/ashrdi3.S delete mode 100644 arch/metag/lib/checksum.c delete mode 100644 arch/metag/lib/clear_page.S delete mode 100644 arch/metag/lib/cmpdi2.S delete mode 100644 arch/metag/lib/copy_page.S delete mode 100644 arch/metag/lib/delay.c delete mode 100644 arch/metag/lib/div64.S delete mode 100644 arch/metag/lib/divsi3.S delete mode 100644 arch/metag/lib/ip_fast_csum.S delete mode 100644 arch/metag/lib/lshrdi3.S delete mode 100644 arch/metag/lib/memcpy.S delete mode 100644 arch/metag/lib/memmove.S delete mode 100644 arch/metag/lib/memset.S delete mode 100644 arch/metag/lib/modsi3.S delete mode 100644 arch/metag/lib/muldi3.S delete mode 100644 arch/metag/lib/ucmpdi2.S delete mode 100644 arch/metag/lib/usercopy.c delete mode 100644 arch/metag/mm/Kconfig delete mode 100644 arch/metag/mm/Makefile delete mode 100644 arch/metag/mm/cache.c delete mode 100644 arch/metag/mm/extable.c delete mode 100644 arch/metag/mm/fault.c delete mode 100644 arch/metag/mm/highmem.c delete mode 100644 arch/metag/mm/hugetlbpage.c delete mode 100644 arch/metag/mm/init.c delete mode 100644 arch/metag/mm/ioremap.c delete mode 100644 arch/metag/mm/l2cache.c delete mode 100644 arch/metag/mm/maccess.c delete mode 100644 arch/metag/mm/mmu-meta1.c delete mode 100644 arch/metag/mm/mmu-meta2.c delete mode 100644 arch/metag/mm/numa.c delete mode 100644 arch/metag/oprofile/Makefile delete mode 100644 arch/metag/oprofile/backtrace.c delete mode 100644 arch/metag/oprofile/backtrace.h delete mode 100644 arch/metag/oprofile/common.c delete mode 100644 arch/metag/tbx/Makefile delete mode 100644 arch/metag/tbx/tbicore.S delete mode 100644 arch/metag/tbx/tbictx.S delete mode 100644 arch/metag/tbx/tbictxfpu.S delete mode 100644 arch/metag/tbx/tbidefr.S delete mode 100644 arch/metag/tbx/tbidspram.S delete mode 100644 arch/metag/tbx/tbilogf.S delete mode 100644 arch/metag/tbx/tbipcx.S delete mode 100644 arch/metag/tbx/tbiroot.S delete mode 100644 arch/metag/tbx/tbisoft.S delete mode 100644 arch/metag/tbx/tbistring.c delete mode 100644 arch/metag/tbx/tbitimer.S delete mode 100644 drivers/clocksource/metag_generic.c delete mode 100644 drivers/gpio/gpio-tz1090-pdc.c delete mode 100644 drivers/gpio/gpio-tz1090.c delete mode 100644 drivers/irqchip/irq-metag-ext.c delete mode 100644 drivers/irqchip/irq-metag.c delete mode 100644 drivers/pinctrl/pinctrl-tz1090-pdc.c delete mode 100644 drivers/pinctrl/pinctrl-tz1090.c delete mode 100644 drivers/tty/metag_da.c delete mode 100644 include/clocksource/metag_generic.h delete mode 100644 include/linux/irqchip/metag-ext.h delete mode 100644 include/linux/irqchip/metag.h
Signature · 1 line
2.13.6
PATCH 1/13 metag: Remove arch/metag/
The earliest Meta architecture port of Linux I have a record of was an import of a Meta port of Linux v2.4.1 in February 2004, which was worked on significantly over the next few years by Graham Whaley, Will Newton, Matt Fleming, myself and others.
Eventually the port was merged into mainline in v3.9 in March 2013, not long after Imagination Technologies bought MIPS Technologies and shifted its CPU focus over to the MIPS architecture.
As a result, though the port was maintained for a while, kept on life support for a while longer, and useful for testing a few specific drivers for which I don't have ready access to the equivalent MIPS hardware, it is now essentially dead with no users.
It is also stuck using an out-of-tree toolchain based on GCC 4.2.4 which is no longer maintained, now struggles to build modern kernels due to toolchain bugs, and doesn't itself build with a modern GCC. The latest buildroot port is still using an old uClibc snapshot which is no longer served, and the latest uClibc doesn't build with GCC 4.2.4.
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
--- arch/metag/Kconfig | 287 ------ arch/metag/Kconfig.debug | 34 - arch/metag/Kconfig.soc | 69 -- arch/metag/Makefile | 89 -- arch/metag/boot/.gitignore | 3 - arch/metag/boot/Makefile | 68 -- arch/metag/boot/dts/Makefile | 16 - arch/metag/boot/dts/skeleton.dts | 10 - arch/metag/boot/dts/skeleton.dtsi | 15 - arch/metag/boot/dts/tz1090.dtsi | 108 --- arch/metag/boot/dts/tz1090_generic.dts | 10 - arch/metag/configs/meta1_defconfig | 39 - arch/metag/configs/meta2_defconfig | 40 - arch/metag/configs/meta2_smp_defconfig | 41 - arch/metag/configs/tz1090_defconfig | 42 - arch/metag/include/asm/Kbuild | 33 - arch/metag/include/asm/atomic.h | 49 -- arch/metag/include/asm/atomic_lnkget.h | 204 ----- arch/metag/include/asm/atomic_lock1.h | 157 ---- arch/metag/include/asm/barrier.h | 85 -- arch/metag/include/asm/bitops.h | 127 --- arch/metag/include/asm/bug.h | 13 - arch/metag/include/asm/cache.h | 24 - arch/metag/include/asm/cacheflush.h | 251 ------ arch/metag/include/asm/cachepart.h | 43 - arch/metag/include/asm/checksum.h | 93 -- arch/metag/include/asm/clock.h | 59 -- arch/metag/include/asm/cmpxchg.h | 64 -- arch/metag/include/asm/cmpxchg_irq.h | 43 - arch/metag/include/asm/cmpxchg_lnkget.h | 87 -- arch/metag/include/asm/cmpxchg_lock1.h | 49 -- arch/metag/include/asm/core_reg.h | 36 - arch/metag/include/asm/cpu.h | 15 - arch/metag/include/asm/da.h | 44 - arch/metag/include/asm/delay.h | 30 - arch/metag/include/asm/div64.h | 13 - arch/metag/include/asm/dma-mapping.h | 12 - arch/metag/include/asm/elf.h | 126 --- arch/metag/include/asm/fixmap.h | 69 -- arch/metag/include/asm/ftrace.h | 24 - arch/metag/include/asm/global_lock.h | 101 --- arch/metag/include/asm/highmem.h | 62 -- arch/metag/include/asm/hugetlb.h | 75 -- arch/metag/include/asm/hwthread.h | 41 - arch/metag/include/asm/io.h | 170 ---- arch/metag/include/asm/irq.h | 38 - arch/metag/include/asm/irqflags.h | 94 -- arch/metag/include/asm/l2cache.h | 259 ------ arch/metag/include/asm/linkage.h | 8 - arch/metag/include/asm/mach/arch.h | 86 -- arch/metag/include/asm/metag_isa.h | 81 -- arch/metag/include/asm/metag_mem.h | 1109 ----------------------- arch/metag/include/asm/metag_regs.h | 1184 ------------------------- arch/metag/include/asm/mman.h | 12 - arch/metag/include/asm/mmu.h | 78 -- arch/metag/include/asm/mmu_context.h | 115 --- arch/metag/include/asm/mmzone.h | 43 - arch/metag/include/asm/module.h | 38 - arch/metag/include/asm/page.h | 129 --- arch/metag/include/asm/perf_event.h | 4 - arch/metag/include/asm/pgalloc.h | 83 -- arch/metag/include/asm/pgtable-bits.h | 105 --- arch/metag/include/asm/pgtable.h | 270 ------ arch/metag/include/asm/processor.h | 201 ----- arch/metag/include/asm/ptrace.h | 61 -- arch/metag/include/asm/setup.h | 10 - arch/metag/include/asm/smp.h | 28 - arch/metag/include/asm/sparsemem.h | 14 - arch/metag/include/asm/spinlock.h | 19 - arch/metag/include/asm/spinlock_lnkget.h | 213 ----- arch/metag/include/asm/spinlock_lock1.h | 165 ---- arch/metag/include/asm/spinlock_types.h | 21 - arch/metag/include/asm/stacktrace.h | 21 - arch/metag/include/asm/string.h | 14 - arch/metag/include/asm/switch.h | 21 - arch/metag/include/asm/syscall.h | 104 --- arch/metag/include/asm/syscalls.h | 40 - arch/metag/include/asm/tbx.h | 1420 ------------------------------ arch/metag/include/asm/tcm.h | 31 - arch/metag/include/asm/thread_info.h | 141 --- arch/metag/include/asm/tlb.h | 37 - arch/metag/include/asm/tlbflush.h | 78 -- arch/metag/include/asm/topology.h | 28 - arch/metag/include/asm/traps.h | 48 - arch/metag/include/asm/uaccess.h | 213 ----- arch/metag/include/asm/unistd.h | 12 - arch/metag/include/asm/user_gateway.h | 45 - arch/metag/include/uapi/asm/Kbuild | 31 - arch/metag/include/uapi/asm/byteorder.h | 2 - arch/metag/include/uapi/asm/ech.h | 16 - arch/metag/include/uapi/asm/ptrace.h | 114 --- arch/metag/include/uapi/asm/sigcontext.h | 32 - arch/metag/include/uapi/asm/siginfo.h | 16 - arch/metag/include/uapi/asm/swab.h | 27 - arch/metag/include/uapi/asm/unistd.h | 24 - arch/metag/kernel/.gitignore | 1 - arch/metag/kernel/Makefile | 40 - arch/metag/kernel/asm-offsets.c | 15 - arch/metag/kernel/cachepart.c | 132 --- arch/metag/kernel/clock.c | 110 --- arch/metag/kernel/core_reg.c | 118 --- arch/metag/kernel/da.c | 25 - arch/metag/kernel/devtree.c | 57 -- arch/metag/kernel/dma.c | 588 ------------- arch/metag/kernel/ftrace.c | 121 --- arch/metag/kernel/ftrace_stub.S | 62 -- arch/metag/kernel/head.S | 66 -- arch/metag/kernel/irq.c | 293 ------ arch/metag/kernel/kick.c | 110 --- arch/metag/kernel/machines.c | 21 - arch/metag/kernel/metag_ksyms.c | 55 -- arch/metag/kernel/module.c | 284 ------ arch/metag/kernel/perf/Makefile | 3 - arch/metag/kernel/perf/perf_event.c | 879 ------------------ arch/metag/kernel/perf/perf_event.h | 106 --- arch/metag/kernel/perf_callchain.c | 97 -- arch/metag/kernel/process.c | 448 ---------- arch/metag/kernel/ptrace.c | 427 --------- arch/metag/kernel/setup.c | 622 ------------- arch/metag/kernel/signal.c | 336 ------- arch/metag/kernel/smp.c | 668 -------------- arch/metag/kernel/stacktrace.c | 187 ---- arch/metag/kernel/sys_metag.c | 181 ---- arch/metag/kernel/tbiunexp.S | 23 - arch/metag/kernel/tcm.c | 152 ---- arch/metag/kernel/time.c | 26 - arch/metag/kernel/topology.c | 78 -- arch/metag/kernel/traps.c | 992 --------------------- arch/metag/kernel/user_gateway.S | 98 --- arch/metag/kernel/vmlinux.lds.S | 74 -- arch/metag/lib/Makefile | 23 - arch/metag/lib/ashldi3.S | 34 - arch/metag/lib/ashrdi3.S | 34 - arch/metag/lib/checksum.c | 167 ---- arch/metag/lib/clear_page.S | 18 - arch/metag/lib/cmpdi2.S | 33 - arch/metag/lib/copy_page.S | 21 - arch/metag/lib/delay.c | 57 -- arch/metag/lib/div64.S | 109 --- arch/metag/lib/divsi3.S | 101 --- arch/metag/lib/ip_fast_csum.S | 33 - arch/metag/lib/lshrdi3.S | 34 - arch/metag/lib/memcpy.S | 186 ---- arch/metag/lib/memmove.S | 346 -------- arch/metag/lib/memset.S | 87 -- arch/metag/lib/modsi3.S | 39 - arch/metag/lib/muldi3.S | 45 - arch/metag/lib/ucmpdi2.S | 28 - arch/metag/lib/usercopy.c | 1257 -------------------------- arch/metag/mm/Kconfig | 147 ---- arch/metag/mm/Makefile | 20 - arch/metag/mm/cache.c | 521 ----------- arch/metag/mm/extable.c | 15 - arch/metag/mm/fault.c | 247 ------ arch/metag/mm/highmem.c | 122 --- arch/metag/mm/hugetlbpage.c | 251 ------ arch/metag/mm/init.c | 408 --------- arch/metag/mm/ioremap.c | 90 -- arch/metag/mm/l2cache.c | 193 ---- arch/metag/mm/maccess.c | 69 -- arch/metag/mm/mmu-meta1.c | 157 ---- arch/metag/mm/mmu-meta2.c | 208 ----- arch/metag/mm/numa.c | 82 -- arch/metag/oprofile/Makefile | 18 - arch/metag/oprofile/backtrace.c | 63 -- arch/metag/oprofile/backtrace.h | 7 - arch/metag/oprofile/common.c | 66 -- arch/metag/tbx/Makefile | 22 - arch/metag/tbx/tbicore.S | 136 --- arch/metag/tbx/tbictx.S | 366 -------- arch/metag/tbx/tbictxfpu.S | 190 ---- arch/metag/tbx/tbidefr.S | 175 ---- arch/metag/tbx/tbidspram.S | 161 ---- arch/metag/tbx/tbilogf.S | 48 - arch/metag/tbx/tbipcx.S | 451 ---------- arch/metag/tbx/tbiroot.S | 87 -- arch/metag/tbx/tbisoft.S | 237 ----- arch/metag/tbx/tbistring.c | 114 --- arch/metag/tbx/tbitimer.S | 207 ----- 179 files changed, 25078 deletions(-) delete mode 100644 arch/metag/Kconfig delete mode 100644 arch/metag/Kconfig.debug delete mode 100644 arch/metag/Kconfig.soc delete mode 100644 arch/metag/Makefile delete mode 100644 arch/metag/boot/.gitignore delete mode 100644 arch/metag/boot/Makefile delete mode 100644 arch/metag/boot/dts/Makefile delete mode 100644 arch/metag/boot/dts/skeleton.dts delete mode 100644 arch/metag/boot/dts/skeleton.dtsi delete mode 100644 arch/metag/boot/dts/tz1090.dtsi delete mode 100644 arch/metag/boot/dts/tz1090_generic.dts delete mode 100644 arch/metag/configs/meta1_defconfig delete mode 100644 arch/metag/configs/meta2_defconfig delete mode 100644 arch/metag/configs/meta2_smp_defconfig delete mode 100644 arch/metag/configs/tz1090_defconfig delete mode 100644 arch/metag/include/asm/Kbuild delete mode 100644 arch/metag/include/asm/atomic.h delete mode 100644 arch/metag/include/asm/atomic_lnkget.h delete mode 100644 arch/metag/include/asm/atomic_lock1.h delete mode 100644 arch/metag/include/asm/barrier.h delete mode 100644 arch/metag/include/asm/bitops.h delete mode 100644 arch/metag/include/asm/bug.h delete mode 100644 arch/metag/include/asm/cache.h delete mode 100644 arch/metag/include/asm/cacheflush.h delete mode 100644 arch/metag/include/asm/cachepart.h delete mode 100644 arch/metag/include/asm/checksum.h delete mode 100644 arch/metag/include/asm/clock.h delete mode 100644 arch/metag/include/asm/cmpxchg.h delete mode 100644 arch/metag/include/asm/cmpxchg_irq.h delete mode 100644 arch/metag/include/asm/cmpxchg_lnkget.h delete mode 100644 arch/metag/include/asm/cmpxchg_lock1.h delete mode 100644 arch/metag/include/asm/core_reg.h delete mode 100644 arch/metag/include/asm/cpu.h delete mode 100644 arch/metag/include/asm/da.h delete mode 100644 arch/metag/include/asm/delay.h delete mode 100644 arch/metag/include/asm/div64.h delete mode 100644 arch/metag/include/asm/dma-mapping.h delete mode 100644 arch/metag/include/asm/elf.h delete mode 100644 arch/metag/include/asm/fixmap.h delete mode 100644 arch/metag/include/asm/ftrace.h delete mode 100644 arch/metag/include/asm/global_lock.h delete mode 100644 arch/metag/include/asm/highmem.h delete mode 100644 arch/metag/include/asm/hugetlb.h delete mode 100644 arch/metag/include/asm/hwthread.h delete mode 100644 arch/metag/include/asm/io.h delete mode 100644 arch/metag/include/asm/irq.h delete mode 100644 arch/metag/include/asm/irqflags.h delete mode 100644 arch/metag/include/asm/l2cache.h delete mode 100644 arch/metag/include/asm/linkage.h delete mode 100644 arch/metag/include/asm/mach/arch.h delete mode 100644 arch/metag/include/asm/metag_isa.h delete mode 100644 arch/metag/include/asm/metag_mem.h delete mode 100644 arch/metag/include/asm/metag_regs.h delete mode 100644 arch/metag/include/asm/mman.h delete mode 100644 arch/metag/include/asm/mmu.h delete mode 100644 arch/metag/include/asm/mmu_context.h delete mode 100644 arch/metag/include/asm/mmzone.h delete mode 100644 arch/metag/include/asm/module.h delete mode 100644 arch/metag/include/asm/page.h delete mode 100644 arch/metag/include/asm/perf_event.h delete mode 100644 arch/metag/include/asm/pgalloc.h delete mode 100644 arch/metag/include/asm/pgtable-bits.h delete mode 100644 arch/metag/include/asm/pgtable.h delete mode 100644 arch/metag/include/asm/processor.h delete mode 100644 arch/metag/include/asm/ptrace.h delete mode 100644 arch/metag/include/asm/setup.h delete mode 100644 arch/metag/include/asm/smp.h delete mode 100644 arch/metag/include/asm/sparsemem.h delete mode 100644 arch/metag/include/asm/spinlock.h delete mode 100644 arch/metag/include/asm/spinlock_lnkget.h delete mode 100644 arch/metag/include/asm/spinlock_lock1.h delete mode 100644 arch/metag/include/asm/spinlock_types.h delete mode 100644 arch/metag/include/asm/stacktrace.h delete mode 100644 arch/metag/include/asm/string.h delete mode 100644 arch/metag/include/asm/switch.h delete mode 100644 arch/metag/include/asm/syscall.h delete mode 100644 arch/metag/include/asm/syscalls.h delete mode 100644 arch/metag/include/asm/tbx.h delete mode 100644 arch/metag/include/asm/tcm.h delete mode 100644 arch/metag/include/asm/thread_info.h delete mode 100644 arch/metag/include/asm/tlb.h delete mode 100644 arch/metag/include/asm/tlbflush.h delete mode 100644 arch/metag/include/asm/topology.h delete mode 100644 arch/metag/include/asm/traps.h delete mode 100644 arch/metag/include/asm/uaccess.h delete mode 100644 arch/metag/include/asm/unistd.h delete mode 100644 arch/metag/include/asm/user_gateway.h delete mode 100644 arch/metag/include/uapi/asm/Kbuild delete mode 100644 arch/metag/include/uapi/asm/byteorder.h delete mode 100644 arch/metag/include/uapi/asm/ech.h delete mode 100644 arch/metag/include/uapi/asm/ptrace.h delete mode 100644 arch/metag/include/uapi/asm/sigcontext.h delete mode 100644 arch/metag/include/uapi/asm/siginfo.h delete mode 100644 arch/metag/include/uapi/asm/swab.h delete mode 100644 arch/metag/include/uapi/asm/unistd.h delete mode 100644 arch/metag/kernel/.gitignore delete mode 100644 arch/metag/kernel/Makefile delete mode 100644 arch/metag/kernel/asm-offsets.c delete mode 100644 arch/metag/kernel/cachepart.c delete mode 100644 arch/metag/kernel/clock.c delete mode 100644 arch/metag/kernel/core_reg.c delete mode 100644 arch/metag/kernel/da.c delete mode 100644 arch/metag/kernel/devtree.c delete mode 100644 arch/metag/kernel/dma.c delete mode 100644 arch/metag/kernel/ftrace.c delete mode 100644 arch/metag/kernel/ftrace_stub.S delete mode 100644 arch/metag/kernel/head.S delete mode 100644 arch/metag/kernel/irq.c delete mode 100644 arch/metag/kernel/kick.c delete mode 100644 arch/metag/kernel/machines.c delete mode 100644 arch/metag/kernel/metag_ksyms.c delete mode 100644 arch/metag/kernel/module.c delete mode 100644 arch/metag/kernel/perf/Makefile delete mode 100644 arch/metag/kernel/perf/perf_event.c delete mode 100644 arch/metag/kernel/perf/perf_event.h delete mode 100644 arch/metag/kernel/perf_callchain.c delete mode 100644 arch/metag/kernel/process.c delete mode 100644 arch/metag/kernel/ptrace.c delete mode 100644 arch/metag/kernel/setup.c delete mode 100644 arch/metag/kernel/signal.c delete mode 100644 arch/metag/kernel/smp.c delete mode 100644 arch/metag/kernel/stacktrace.c delete mode 100644 arch/metag/kernel/sys_metag.c delete mode 100644 arch/metag/kernel/tbiunexp.S delete mode 100644 arch/metag/kernel/tcm.c delete mode 100644 arch/metag/kernel/time.c delete mode 100644 arch/metag/kernel/topology.c delete mode 100644 arch/metag/kernel/traps.c delete mode 100644 arch/metag/kernel/user_gateway.S delete mode 100644 arch/metag/kernel/vmlinux.lds.S delete mode 100644 arch/metag/lib/Makefile delete mode 100644 arch/metag/lib/ashldi3.S delete mode 100644 arch/metag/lib/ashrdi3.S delete mode 100644 arch/metag/lib/checksum.c delete mode 100644 arch/metag/lib/clear_page.S delete mode 100644 arch/metag/lib/cmpdi2.S delete mode 100644 arch/metag/lib/copy_page.S delete mode 100644 arch/metag/lib/delay.c delete mode 100644 arch/metag/lib/div64.S delete mode 100644 arch/metag/lib/divsi3.S delete mode 100644 arch/metag/lib/ip_fast_csum.S delete mode 100644 arch/metag/lib/lshrdi3.S delete mode 100644 arch/metag/lib/memcpy.S delete mode 100644 arch/metag/lib/memmove.S delete mode 100644 arch/metag/lib/memset.S delete mode 100644 arch/metag/lib/modsi3.S delete mode 100644 arch/metag/lib/muldi3.S delete mode 100644 arch/metag/lib/ucmpdi2.S delete mode 100644 arch/metag/lib/usercopy.c delete mode 100644 arch/metag/mm/Kconfig delete mode 100644 arch/metag/mm/Makefile delete mode 100644 arch/metag/mm/cache.c delete mode 100644 arch/metag/mm/extable.c delete mode 100644 arch/metag/mm/fault.c delete mode 100644 arch/metag/mm/highmem.c delete mode 100644 arch/metag/mm/hugetlbpage.c delete mode 100644 arch/metag/mm/init.c delete mode 100644 arch/metag/mm/ioremap.c delete mode 100644 arch/metag/mm/l2cache.c delete mode 100644 arch/metag/mm/maccess.c delete mode 100644 arch/metag/mm/mmu-meta1.c delete mode 100644 arch/metag/mm/mmu-meta2.c delete mode 100644 arch/metag/mm/numa.c delete mode 100644 arch/metag/oprofile/Makefile delete mode 100644 arch/metag/oprofile/backtrace.c delete mode 100644 arch/metag/oprofile/backtrace.h delete mode 100644 arch/metag/oprofile/common.c delete mode 100644 arch/metag/tbx/Makefile delete mode 100644 arch/metag/tbx/tbicore.S delete mode 100644 arch/metag/tbx/tbictx.S delete mode 100644 arch/metag/tbx/tbictxfpu.S delete mode 100644 arch/metag/tbx/tbidefr.S delete mode 100644 arch/metag/tbx/tbidspram.S delete mode 100644 arch/metag/tbx/tbilogf.S delete mode 100644 arch/metag/tbx/tbipcx.S delete mode 100644 arch/metag/tbx/tbiroot.S delete mode 100644 arch/metag/tbx/tbisoft.S delete mode 100644 arch/metag/tbx/tbistring.c delete mode 100644 arch/metag/tbx/tbitimer.S
arch/metag/Kconfig deleted +0 -0
arch/metag/Kconfig.debug deleted +0 -0
arch/metag/Kconfig.soc deleted +0 -0
arch/metag/Makefile deleted +0 -0
arch/metag/boot/.gitignore deleted +0 -0
arch/metag/boot/Makefile deleted +0 -0
arch/metag/boot/dts/Makefile deleted +0 -0
arch/metag/boot/dts/skeleton.dts deleted +0 -0
arch/metag/boot/dts/skeleton.dtsi deleted +0 -0
arch/metag/boot/dts/tz1090.dtsi deleted +0 -0
arch/metag/boot/dts/tz1090_generic.dts deleted +0 -0
arch/metag/configs/meta1_defconfig deleted +0 -0
arch/metag/configs/meta2_defconfig deleted +0 -0
arch/metag/configs/meta2_smp_defconfig deleted +0 -0
arch/metag/configs/tz1090_defconfig deleted +0 -0
arch/metag/include/asm/Kbuild deleted +0 -0
arch/metag/include/asm/atomic.h deleted +0 -0
arch/metag/include/asm/atomic_lnkget.h deleted +0 -0
arch/metag/include/asm/atomic_lock1.h deleted +0 -0
arch/metag/include/asm/barrier.h deleted +0 -0
arch/metag/include/asm/bitops.h deleted +0 -0
arch/metag/include/asm/bug.h deleted +0 -0
arch/metag/include/asm/cache.h deleted +0 -0
arch/metag/include/asm/cacheflush.h deleted +0 -0
arch/metag/include/asm/cachepart.h deleted +0 -0
arch/metag/include/asm/checksum.h deleted +0 -0
arch/metag/include/asm/clock.h deleted +0 -0
arch/metag/include/asm/cmpxchg.h deleted +0 -0
arch/metag/include/asm/cmpxchg_irq.h deleted +0 -0
arch/metag/include/asm/cmpxchg_lnkget.h deleted +0 -0
arch/metag/include/asm/cmpxchg_lock1.h deleted +0 -0
arch/metag/include/asm/core_reg.h deleted +0 -0
arch/metag/include/asm/cpu.h deleted +0 -0
arch/metag/include/asm/da.h deleted +0 -0
arch/metag/include/asm/delay.h deleted +0 -0
arch/metag/include/asm/div64.h deleted +0 -0
arch/metag/include/asm/dma-mapping.h deleted +0 -0
arch/metag/include/asm/elf.h deleted +0 -0
arch/metag/include/asm/fixmap.h deleted +0 -0
arch/metag/include/asm/ftrace.h deleted +0 -0
arch/metag/include/asm/global_lock.h deleted +0 -0
arch/metag/include/asm/highmem.h deleted +0 -0
arch/metag/include/asm/hugetlb.h deleted +0 -0
arch/metag/include/asm/hwthread.h deleted +0 -0
arch/metag/include/asm/io.h deleted +0 -0
arch/metag/include/asm/irq.h deleted +0 -0
arch/metag/include/asm/irqflags.h deleted +0 -0
arch/metag/include/asm/l2cache.h deleted +0 -0
arch/metag/include/asm/linkage.h deleted +0 -0
arch/metag/include/asm/mach/arch.h deleted +0 -0
arch/metag/include/asm/metag_isa.h deleted +0 -0
arch/metag/include/asm/metag_mem.h deleted +0 -0
arch/metag/include/asm/metag_regs.h deleted +0 -0
arch/metag/include/asm/mman.h deleted +0 -0
arch/metag/include/asm/mmu.h deleted +0 -0
arch/metag/include/asm/mmu_context.h deleted +0 -0
arch/metag/include/asm/mmzone.h deleted +0 -0
arch/metag/include/asm/module.h deleted +0 -0
arch/metag/include/asm/page.h deleted +0 -0
arch/metag/include/asm/perf_event.h deleted +0 -0
arch/metag/include/asm/pgalloc.h deleted +0 -0
arch/metag/include/asm/pgtable-bits.h deleted +0 -0
arch/metag/include/asm/pgtable.h deleted +0 -0
arch/metag/include/asm/processor.h deleted +0 -0
arch/metag/include/asm/ptrace.h deleted +0 -0
arch/metag/include/asm/setup.h deleted +0 -0
arch/metag/include/asm/smp.h deleted +0 -0
arch/metag/include/asm/sparsemem.h deleted +0 -0
arch/metag/include/asm/spinlock.h deleted +0 -0
arch/metag/include/asm/spinlock_lnkget.h deleted +0 -0
arch/metag/include/asm/spinlock_lock1.h deleted +0 -0
arch/metag/include/asm/spinlock_types.h deleted +0 -0
arch/metag/include/asm/stacktrace.h deleted +0 -0
arch/metag/include/asm/string.h deleted +0 -0
arch/metag/include/asm/switch.h deleted +0 -0
arch/metag/include/asm/syscall.h deleted +0 -0
arch/metag/include/asm/syscalls.h deleted +0 -0
arch/metag/include/asm/tbx.h deleted +0 -0
arch/metag/include/asm/tcm.h deleted +0 -0
arch/metag/include/asm/thread_info.h deleted +0 -0
arch/metag/include/asm/tlb.h deleted +0 -0
arch/metag/include/asm/tlbflush.h deleted +0 -0
arch/metag/include/asm/topology.h deleted +0 -0
arch/metag/include/asm/traps.h deleted +0 -0
arch/metag/include/asm/uaccess.h deleted +0 -0
arch/metag/include/asm/unistd.h deleted +0 -0
arch/metag/include/asm/user_gateway.h deleted +0 -0
arch/metag/include/uapi/asm/Kbuild deleted +0 -0
arch/metag/include/uapi/asm/byteorder.h deleted +0 -0
arch/metag/include/uapi/asm/ech.h deleted +0 -0
arch/metag/include/uapi/asm/ptrace.h deleted +0 -0
arch/metag/include/uapi/asm/sigcontext.h deleted +0 -0
arch/metag/include/uapi/asm/siginfo.h deleted +0 -0
arch/metag/include/uapi/asm/swab.h deleted +0 -0
arch/metag/include/uapi/asm/unistd.h deleted +0 -0
arch/metag/kernel/.gitignore deleted +0 -0
arch/metag/kernel/Makefile deleted +0 -0
arch/metag/kernel/asm-offsets.c deleted +0 -0
arch/metag/kernel/cachepart.c deleted +0 -0
arch/metag/kernel/clock.c deleted +0 -0
arch/metag/kernel/core_reg.c deleted +0 -0
arch/metag/kernel/da.c deleted +0 -0
arch/metag/kernel/devtree.c deleted +0 -0
arch/metag/kernel/dma.c deleted +0 -0
arch/metag/kernel/ftrace.c deleted +0 -0
arch/metag/kernel/ftrace_stub.S deleted +0 -0
arch/metag/kernel/head.S deleted +0 -0
arch/metag/kernel/irq.c deleted +0 -0
arch/metag/kernel/kick.c deleted +0 -0
arch/metag/kernel/machines.c deleted +0 -0
arch/metag/kernel/metag_ksyms.c deleted +0 -0
arch/metag/kernel/module.c deleted +0 -0
arch/metag/kernel/perf/Makefile deleted +0 -0
arch/metag/kernel/perf/perf_event.c deleted +0 -0
arch/metag/kernel/perf/perf_event.h deleted +0 -0
arch/metag/kernel/perf_callchain.c deleted +0 -0
arch/metag/kernel/process.c deleted +0 -0
arch/metag/kernel/ptrace.c deleted +0 -0
arch/metag/kernel/setup.c deleted +0 -0
arch/metag/kernel/signal.c deleted +0 -0
arch/metag/kernel/smp.c deleted +0 -0
arch/metag/kernel/stacktrace.c deleted +0 -0
arch/metag/kernel/sys_metag.c deleted +0 -0
arch/metag/kernel/tbiunexp.S deleted +0 -0
arch/metag/kernel/tcm.c deleted +0 -0
arch/metag/kernel/time.c deleted +0 -0
arch/metag/kernel/topology.c deleted +0 -0
arch/metag/kernel/traps.c deleted +0 -0
arch/metag/kernel/user_gateway.S deleted +0 -0
arch/metag/kernel/vmlinux.lds.S deleted +0 -0
arch/metag/lib/Makefile deleted +0 -0
arch/metag/lib/ashldi3.S deleted +0 -0
arch/metag/lib/ashrdi3.S deleted +0 -0
arch/metag/lib/checksum.c deleted +0 -0
arch/metag/lib/clear_page.S deleted +0 -0
arch/metag/lib/cmpdi2.S deleted +0 -0
arch/metag/lib/copy_page.S deleted +0 -0
arch/metag/lib/delay.c deleted +0 -0
arch/metag/lib/div64.S deleted +0 -0
arch/metag/lib/divsi3.S deleted +0 -0
arch/metag/lib/ip_fast_csum.S deleted +0 -0
arch/metag/lib/lshrdi3.S deleted +0 -0
arch/metag/lib/memcpy.S deleted +0 -0
arch/metag/lib/memmove.S deleted +0 -0
arch/metag/lib/memset.S deleted +0 -0
arch/metag/lib/modsi3.S deleted +0 -0
arch/metag/lib/muldi3.S deleted +0 -0
arch/metag/lib/ucmpdi2.S deleted +0 -0
arch/metag/lib/usercopy.c deleted +0 -0
arch/metag/mm/Kconfig deleted +0 -0
arch/metag/mm/Makefile deleted +0 -0
arch/metag/mm/cache.c deleted +0 -0
arch/metag/mm/extable.c deleted +0 -0
arch/metag/mm/fault.c deleted +0 -0
arch/metag/mm/highmem.c deleted +0 -0
arch/metag/mm/hugetlbpage.c deleted +0 -0
arch/metag/mm/init.c deleted +0 -0
arch/metag/mm/ioremap.c deleted +0 -0
arch/metag/mm/l2cache.c deleted +0 -0
arch/metag/mm/maccess.c deleted +0 -0
arch/metag/mm/mmu-meta1.c deleted +0 -0
arch/metag/mm/mmu-meta2.c deleted +0 -0
arch/metag/mm/numa.c deleted +0 -0
arch/metag/oprofile/Makefile deleted +0 -0
arch/metag/oprofile/backtrace.c deleted +0 -0
arch/metag/oprofile/backtrace.h deleted +0 -0
arch/metag/oprofile/common.c deleted +0 -0
arch/metag/tbx/Makefile deleted +0 -0
arch/metag/tbx/tbicore.S deleted +0 -0
arch/metag/tbx/tbictx.S deleted +0 -0
arch/metag/tbx/tbictxfpu.S deleted +0 -0
arch/metag/tbx/tbidefr.S deleted +0 -0
arch/metag/tbx/tbidspram.S deleted +0 -0
arch/metag/tbx/tbilogf.S deleted +0 -0
arch/metag/tbx/tbipcx.S deleted +0 -0
arch/metag/tbx/tbiroot.S deleted +0 -0
arch/metag/tbx/tbisoft.S deleted +0 -0
arch/metag/tbx/tbistring.c deleted +0 -0
arch/metag/tbx/tbitimer.S deleted +0 -0
Signature · 1 line
2.13.6
Re: [PATCH 01/13] metag: Remove arch/metag/
Quoted 20 lines · James Hogan
The earliest Meta architecture port of Linux I have a record of was an import of a Meta port of Linux v2.4.1 in February 2004, which was worked on significantly over the next few years by Graham Whaley, Will Newton, Matt Fleming, myself and others.
Eventually the port was merged into mainline in v3.9 in March 2013, not long after Imagination Technologies bought MIPS Technologies and shifted its CPU focus over to the MIPS architecture.
As a result, though the port was maintained for a while, kept on life support for a while longer, and useful for testing a few specific drivers for which I don't have ready access to the equivalent MIPS hardware, it is now essentially dead with no users.
It is also stuck using an out-of-tree toolchain based on GCC 4.2.4 which is no longer maintained, now struggles to build modern kernels due to toolchain bugs, and doesn't itself build with a modern GCC. The latest buildroot port is still using an old uClibc snapshot which is no longer served, and the latest uClibc doesn't build with GCC 4.2.4.
Quoted 7 lines
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
Signed-off-by James Hogan <[email protected]>Cc Guenter Roeck <[email protected]>
FWIW:
Did you drop the definition of CPUHP_AP_PERF_METAG_STARTING ? I browsed through the patches but didn't find where it was dropped.
Also, how did you generate this patch, and can you try to apply it yourself ? I tried to apply it, but neither git am nor patch worked for me. This patch also doesn't show up on patchwork.kernel.org which is odd.
Guenter
Quoted 899 lines
--- arch/metag/Kconfig | 287 ------ arch/metag/Kconfig.debug | 34 - arch/metag/Kconfig.soc | 69 -- arch/metag/Makefile | 89 -- arch/metag/boot/.gitignore | 3 - arch/metag/boot/Makefile | 68 -- arch/metag/boot/dts/Makefile | 16 - arch/metag/boot/dts/skeleton.dts | 10 - arch/metag/boot/dts/skeleton.dtsi | 15 - arch/metag/boot/dts/tz1090.dtsi | 108 --- arch/metag/boot/dts/tz1090_generic.dts | 10 - arch/metag/configs/meta1_defconfig | 39 - arch/metag/configs/meta2_defconfig | 40 - arch/metag/configs/meta2_smp_defconfig | 41 - arch/metag/configs/tz1090_defconfig | 42 - arch/metag/include/asm/Kbuild | 33 - arch/metag/include/asm/atomic.h | 49 -- arch/metag/include/asm/atomic_lnkget.h | 204 ----- arch/metag/include/asm/atomic_lock1.h | 157 ---- arch/metag/include/asm/barrier.h | 85 -- arch/metag/include/asm/bitops.h | 127 --- arch/metag/include/asm/bug.h | 13 - arch/metag/include/asm/cache.h | 24 - arch/metag/include/asm/cacheflush.h | 251 ------ arch/metag/include/asm/cachepart.h | 43 - arch/metag/include/asm/checksum.h | 93 -- arch/metag/include/asm/clock.h | 59 -- arch/metag/include/asm/cmpxchg.h | 64 -- arch/metag/include/asm/cmpxchg_irq.h | 43 - arch/metag/include/asm/cmpxchg_lnkget.h | 87 -- arch/metag/include/asm/cmpxchg_lock1.h | 49 -- arch/metag/include/asm/core_reg.h | 36 - arch/metag/include/asm/cpu.h | 15 - arch/metag/include/asm/da.h | 44 - arch/metag/include/asm/delay.h | 30 - arch/metag/include/asm/div64.h | 13 - arch/metag/include/asm/dma-mapping.h | 12 - arch/metag/include/asm/elf.h | 126 --- arch/metag/include/asm/fixmap.h | 69 -- arch/metag/include/asm/ftrace.h | 24 - arch/metag/include/asm/global_lock.h | 101 --- arch/metag/include/asm/highmem.h | 62 -- arch/metag/include/asm/hugetlb.h | 75 -- arch/metag/include/asm/hwthread.h | 41 - arch/metag/include/asm/io.h | 170 ---- arch/metag/include/asm/irq.h | 38 - arch/metag/include/asm/irqflags.h | 94 -- arch/metag/include/asm/l2cache.h | 259 ------ arch/metag/include/asm/linkage.h | 8 - arch/metag/include/asm/mach/arch.h | 86 -- arch/metag/include/asm/metag_isa.h | 81 -- arch/metag/include/asm/metag_mem.h | 1109 ----------------------- arch/metag/include/asm/metag_regs.h | 1184 ------------------------- arch/metag/include/asm/mman.h | 12 - arch/metag/include/asm/mmu.h | 78 -- arch/metag/include/asm/mmu_context.h | 115 --- arch/metag/include/asm/mmzone.h | 43 - arch/metag/include/asm/module.h | 38 - arch/metag/include/asm/page.h | 129 --- arch/metag/include/asm/perf_event.h | 4 - arch/metag/include/asm/pgalloc.h | 83 -- arch/metag/include/asm/pgtable-bits.h | 105 --- arch/metag/include/asm/pgtable.h | 270 ------ arch/metag/include/asm/processor.h | 201 ----- arch/metag/include/asm/ptrace.h | 61 -- arch/metag/include/asm/setup.h | 10 - arch/metag/include/asm/smp.h | 28 - arch/metag/include/asm/sparsemem.h | 14 - arch/metag/include/asm/spinlock.h | 19 - arch/metag/include/asm/spinlock_lnkget.h | 213 ----- arch/metag/include/asm/spinlock_lock1.h | 165 ---- arch/metag/include/asm/spinlock_types.h | 21 - arch/metag/include/asm/stacktrace.h | 21 - arch/metag/include/asm/string.h | 14 - arch/metag/include/asm/switch.h | 21 - arch/metag/include/asm/syscall.h | 104 --- arch/metag/include/asm/syscalls.h | 40 - arch/metag/include/asm/tbx.h | 1420 ------------------------------ arch/metag/include/asm/tcm.h | 31 - arch/metag/include/asm/thread_info.h | 141 --- arch/metag/include/asm/tlb.h | 37 - arch/metag/include/asm/tlbflush.h | 78 -- arch/metag/include/asm/topology.h | 28 - arch/metag/include/asm/traps.h | 48 - arch/metag/include/asm/uaccess.h | 213 ----- arch/metag/include/asm/unistd.h | 12 - arch/metag/include/asm/user_gateway.h | 45 - arch/metag/include/uapi/asm/Kbuild | 31 - arch/metag/include/uapi/asm/byteorder.h | 2 - arch/metag/include/uapi/asm/ech.h | 16 - arch/metag/include/uapi/asm/ptrace.h | 114 --- arch/metag/include/uapi/asm/sigcontext.h | 32 - arch/metag/include/uapi/asm/siginfo.h | 16 - arch/metag/include/uapi/asm/swab.h | 27 - arch/metag/include/uapi/asm/unistd.h | 24 - arch/metag/kernel/.gitignore | 1 - arch/metag/kernel/Makefile | 40 - arch/metag/kernel/asm-offsets.c | 15 - arch/metag/kernel/cachepart.c | 132 --- arch/metag/kernel/clock.c | 110 --- arch/metag/kernel/core_reg.c | 118 --- arch/metag/kernel/da.c | 25 - arch/metag/kernel/devtree.c | 57 -- arch/metag/kernel/dma.c | 588 ------------- arch/metag/kernel/ftrace.c | 121 --- arch/metag/kernel/ftrace_stub.S | 62 -- arch/metag/kernel/head.S | 66 -- arch/metag/kernel/irq.c | 293 ------ arch/metag/kernel/kick.c | 110 --- arch/metag/kernel/machines.c | 21 - arch/metag/kernel/metag_ksyms.c | 55 -- arch/metag/kernel/module.c | 284 ------ arch/metag/kernel/perf/Makefile | 3 - arch/metag/kernel/perf/perf_event.c | 879 ------------------ arch/metag/kernel/perf/perf_event.h | 106 --- arch/metag/kernel/perf_callchain.c | 97 -- arch/metag/kernel/process.c | 448 ---------- arch/metag/kernel/ptrace.c | 427 --------- arch/metag/kernel/setup.c | 622 ------------- arch/metag/kernel/signal.c | 336 ------- arch/metag/kernel/smp.c | 668 -------------- arch/metag/kernel/stacktrace.c | 187 ---- arch/metag/kernel/sys_metag.c | 181 ---- arch/metag/kernel/tbiunexp.S | 23 - arch/metag/kernel/tcm.c | 152 ---- arch/metag/kernel/time.c | 26 - arch/metag/kernel/topology.c | 78 -- arch/metag/kernel/traps.c | 992 --------------------- arch/metag/kernel/user_gateway.S | 98 --- arch/metag/kernel/vmlinux.lds.S | 74 -- arch/metag/lib/Makefile | 23 - arch/metag/lib/ashldi3.S | 34 - arch/metag/lib/ashrdi3.S | 34 - arch/metag/lib/checksum.c | 167 ---- arch/metag/lib/clear_page.S | 18 - arch/metag/lib/cmpdi2.S | 33 - arch/metag/lib/copy_page.S | 21 - arch/metag/lib/delay.c | 57 -- arch/metag/lib/div64.S | 109 --- arch/metag/lib/divsi3.S | 101 --- arch/metag/lib/ip_fast_csum.S | 33 - arch/metag/lib/lshrdi3.S | 34 - arch/metag/lib/memcpy.S | 186 ---- arch/metag/lib/memmove.S | 346 -------- arch/metag/lib/memset.S | 87 -- arch/metag/lib/modsi3.S | 39 - arch/metag/lib/muldi3.S | 45 - arch/metag/lib/ucmpdi2.S | 28 - arch/metag/lib/usercopy.c | 1257 -------------------------- arch/metag/mm/Kconfig | 147 ---- arch/metag/mm/Makefile | 20 - arch/metag/mm/cache.c | 521 ----------- arch/metag/mm/extable.c | 15 - arch/metag/mm/fault.c | 247 ------ arch/metag/mm/highmem.c | 122 --- arch/metag/mm/hugetlbpage.c | 251 ------ arch/metag/mm/init.c | 408 --------- arch/metag/mm/ioremap.c | 90 -- arch/metag/mm/l2cache.c | 193 ---- arch/metag/mm/maccess.c | 69 -- arch/metag/mm/mmu-meta1.c | 157 ---- arch/metag/mm/mmu-meta2.c | 208 ----- arch/metag/mm/numa.c | 82 -- arch/metag/oprofile/Makefile | 18 - arch/metag/oprofile/backtrace.c | 63 -- arch/metag/oprofile/backtrace.h | 7 - arch/metag/oprofile/common.c | 66 -- arch/metag/tbx/Makefile | 22 - arch/metag/tbx/tbicore.S | 136 --- arch/metag/tbx/tbictx.S | 366 -------- arch/metag/tbx/tbictxfpu.S | 190 ---- arch/metag/tbx/tbidefr.S | 175 ---- arch/metag/tbx/tbidspram.S | 161 ---- arch/metag/tbx/tbilogf.S | 48 - arch/metag/tbx/tbipcx.S | 451 ---------- arch/metag/tbx/tbiroot.S | 87 -- arch/metag/tbx/tbisoft.S | 237 ----- arch/metag/tbx/tbistring.c | 114 --- arch/metag/tbx/tbitimer.S | 207 ----- 179 files changed, 25078 deletions(-)delete mode 100644
arch/metag/Kconfig
delete mode 100644arch/metag/Kconfig.debugdelete mode 100644arch/metag/Kconfig.soc
delete mode 100644arch/metag/Makefile
delete mode 100644arch/metag/boot/.gitignoredelete mode 100644arch/metag/boot/Makefiledelete mode 100644arch/metag/boot/dts/Makefiledelete mode 100644arch/metag/boot/dts/skeleton.dtsdelete mode 100644arch/metag/boot/dts/skeleton.dtsidelete mode 100644arch/metag/boot/dts/tz1090.dtsidelete mode 100644arch/metag/boot/dts/tz1090_generic.dtsdelete mode 100644arch/metag/configs/meta1_defconfigdelete mode 100644arch/metag/configs/meta2_defconfigdelete mode 100644arch/metag/configs/meta2_smp_defconfigdelete mode 100644arch/metag/configs/tz1090_defconfigdelete mode 100644arch/metag/include/asm/Kbuilddelete mode 100644arch/metag/include/asm/atomic.hdelete mode 100644arch/metag/include/asm/atomic_lnkget.hdelete mode 100644arch/metag/include/asm/atomic_lock1.hdelete mode 100644arch/metag/include/asm/barrier.hdelete mode 100644arch/metag/include/asm/bitops.hdelete mode 100644arch/metag/include/asm/bug.hdelete mode 100644arch/metag/include/asm/cache.hdelete mode 100644arch/metag/include/asm/cacheflush.hdelete mode 100644arch/metag/include/asm/cachepart.hdelete mode 100644arch/metag/include/asm/checksum.hdelete mode 100644arch/metag/include/asm/clock.hdelete mode 100644arch/metag/include/asm/cmpxchg.hdelete mode 100644arch/metag/include/asm/cmpxchg_irq.hdelete mode 100644arch/metag/include/asm/cmpxchg_lnkget.hdelete mode 100644arch/metag/include/asm/cmpxchg_lock1.hdelete mode 100644arch/metag/include/asm/core_reg.hdelete mode 100644arch/metag/include/asm/cpu.hdelete mode 100644arch/metag/include/asm/da.hdelete mode 100644arch/metag/include/asm/delay.hdelete mode 100644arch/metag/include/asm/div64.hdelete mode 100644arch/metag/include/asm/dma-mapping.hdelete mode 100644arch/metag/include/asm/elf.hdelete mode 100644arch/metag/include/asm/fixmap.hdelete mode 100644arch/metag/include/asm/ftrace.hdelete mode 100644arch/metag/include/asm/global_lock.hdelete mode 100644arch/metag/include/asm/highmem.hdelete mode 100644arch/metag/include/asm/hugetlb.hdelete mode 100644arch/metag/include/asm/hwthread.hdelete mode 100644arch/metag/include/asm/io.hdelete mode 100644arch/metag/include/asm/irq.hdelete mode 100644arch/metag/include/asm/irqflags.hdelete mode 100644arch/metag/include/asm/l2cache.hdelete mode 100644arch/metag/include/asm/linkage.hdelete mode 100644arch/metag/include/asm/mach/arch.hdelete mode 100644arch/metag/include/asm/metag_isa.hdelete mode 100644arch/metag/include/asm/metag_mem.hdelete mode 100644arch/metag/include/asm/metag_regs.hdelete mode 100644arch/metag/include/asm/mman.hdelete mode 100644arch/metag/include/asm/mmu.hdelete mode 100644arch/metag/include/asm/mmu_context.hdelete mode 100644arch/metag/include/asm/mmzone.hdelete mode 100644arch/metag/include/asm/module.hdelete mode 100644arch/metag/include/asm/page.hdelete mode 100644arch/metag/include/asm/perf_event.hdelete mode 100644arch/metag/include/asm/pgalloc.hdelete mode 100644arch/metag/include/asm/pgtable-bits.hdelete mode 100644arch/metag/include/asm/pgtable.hdelete mode 100644arch/metag/include/asm/processor.hdelete mode 100644arch/metag/include/asm/ptrace.hdelete mode 100644arch/metag/include/asm/setup.hdelete mode 100644arch/metag/include/asm/smp.hdelete mode 100644arch/metag/include/asm/sparsemem.hdelete mode 100644arch/metag/include/asm/spinlock.hdelete mode 100644arch/metag/include/asm/spinlock_lnkget.hdelete mode 100644arch/metag/include/asm/spinlock_lock1.hdelete mode 100644arch/metag/include/asm/spinlock_types.hdelete mode 100644arch/metag/include/asm/stacktrace.hdelete mode 100644arch/metag/include/asm/string.hdelete mode 100644arch/metag/include/asm/switch.hdelete mode 100644arch/metag/include/asm/syscall.hdelete mode 100644arch/metag/include/asm/syscalls.hdelete mode 100644arch/metag/include/asm/tbx.hdelete mode 100644arch/metag/include/asm/tcm.hdelete mode 100644arch/metag/include/asm/thread_info.hdelete mode 100644arch/metag/include/asm/tlb.hdelete mode 100644arch/metag/include/asm/tlbflush.hdelete mode 100644arch/metag/include/asm/topology.hdelete mode 100644arch/metag/include/asm/traps.hdelete mode 100644arch/metag/include/asm/uaccess.hdelete mode 100644arch/metag/include/asm/unistd.hdelete mode 100644arch/metag/include/asm/user_gateway.hdelete mode 100644arch/metag/include/uapi/asm/Kbuilddelete mode 100644arch/metag/include/uapi/asm/byteorder.hdelete mode 100644arch/metag/include/uapi/asm/ech.hdelete mode 100644arch/metag/include/uapi/asm/ptrace.hdelete mode 100644arch/metag/include/uapi/asm/sigcontext.hdelete mode 100644arch/metag/include/uapi/asm/siginfo.hdelete mode 100644arch/metag/include/uapi/asm/swab.hdelete mode 100644arch/metag/include/uapi/asm/unistd.hdelete mode 100644arch/metag/kernel/.gitignoredelete mode 100644arch/metag/kernel/Makefiledelete mode 100644arch/metag/kernel/asm-offsets.cdelete mode 100644arch/metag/kernel/cachepart.cdelete mode 100644arch/metag/kernel/clock.cdelete mode 100644arch/metag/kernel/core_reg.cdelete mode 100644arch/metag/kernel/da.c
delete mode 100644arch/metag/kernel/devtree.cdelete mode 100644arch/metag/kernel/dma.c
delete mode 100644arch/metag/kernel/ftrace.cdelete mode 100644arch/metag/kernel/ftrace_stub.Sdelete mode 100644arch/metag/kernel/head.Sdelete mode 100644arch/metag/kernel/irq.c
delete mode 100644arch/metag/kernel/kick.cdelete mode 100644arch/metag/kernel/machines.cdelete mode 100644arch/metag/kernel/metag_ksyms.cdelete mode 100644arch/metag/kernel/module.cdelete mode 100644arch/metag/kernel/perf/Makefiledelete mode 100644arch/metag/kernel/perf/perf_event.cdelete mode 100644arch/metag/kernel/perf/perf_event.hdelete mode 100644arch/metag/kernel/perf_callchain.cdelete mode 100644arch/metag/kernel/process.cdelete mode 100644arch/metag/kernel/ptrace.cdelete mode 100644arch/metag/kernel/setup.cdelete mode 100644arch/metag/kernel/signal.cdelete mode 100644arch/metag/kernel/smp.c
delete mode 100644arch/metag/kernel/stacktrace.cdelete mode 100644arch/metag/kernel/sys_metag.cdelete mode 100644arch/metag/kernel/tbiunexp.Sdelete mode 100644arch/metag/kernel/tcm.c
delete mode 100644arch/metag/kernel/time.cdelete mode 100644arch/metag/kernel/topology.cdelete mode 100644arch/metag/kernel/traps.cdelete mode 100644arch/metag/kernel/user_gateway.Sdelete mode 100644arch/metag/kernel/vmlinux.lds.Sdelete mode 100644arch/metag/lib/Makefile
delete mode 100644arch/metag/lib/ashldi3.Sdelete mode 100644arch/metag/lib/ashrdi3.Sdelete mode 100644arch/metag/lib/checksum.cdelete mode 100644arch/metag/lib/clear_page.Sdelete mode 100644arch/metag/lib/cmpdi2.S
delete mode 100644arch/metag/lib/copy_page.Sdelete mode 100644arch/metag/lib/delay.c
delete mode 100644arch/metag/lib/div64.S
delete mode 100644arch/metag/lib/divsi3.S
delete mode 100644arch/metag/lib/ip_fast_csum.Sdelete mode 100644arch/metag/lib/lshrdi3.Sdelete mode 100644arch/metag/lib/memcpy.S
delete mode 100644arch/metag/lib/memmove.Sdelete mode 100644arch/metag/lib/memset.S
delete mode 100644arch/metag/lib/modsi3.S
delete mode 100644arch/metag/lib/muldi3.S
delete mode 100644arch/metag/lib/ucmpdi2.Sdelete mode 100644arch/metag/lib/usercopy.cdelete mode 100644arch/metag/mm/Kconfig
delete mode 100644arch/metag/mm/Makefile
delete mode 100644arch/metag/mm/cache.c
delete mode 100644arch/metag/mm/extable.c
delete mode 100644arch/metag/mm/fault.c
delete mode 100644arch/metag/mm/highmem.c
delete mode 100644arch/metag/mm/hugetlbpage.cdelete mode 100644arch/metag/mm/init.c
delete mode 100644arch/metag/mm/ioremap.c
delete mode 100644arch/metag/mm/l2cache.c
delete mode 100644arch/metag/mm/maccess.c
delete mode 100644arch/metag/mm/mmu-meta1.cdelete mode 100644arch/metag/mm/mmu-meta2.cdelete mode 100644arch/metag/mm/numa.c
delete mode 100644arch/metag/oprofile/Makefiledelete mode 100644arch/metag/oprofile/backtrace.cdelete mode 100644arch/metag/oprofile/backtrace.hdelete mode 100644arch/metag/oprofile/common.cdelete mode 100644arch/metag/tbx/Makefile
delete mode 100644arch/metag/tbx/tbicore.Sdelete mode 100644arch/metag/tbx/tbictx.S
delete mode 100644arch/metag/tbx/tbictxfpu.Sdelete mode 100644arch/metag/tbx/tbidefr.Sdelete mode 100644arch/metag/tbx/tbidspram.Sdelete mode 100644arch/metag/tbx/tbilogf.Sdelete mode 100644arch/metag/tbx/tbipcx.S
delete mode 100644arch/metag/tbx/tbiroot.Sdelete mode 100644arch/metag/tbx/tbisoft.Sdelete mode 100644arch/metag/tbx/tbistring.cdelete mode 100644arch/metag/tbx/tbitimer.Sarch/metag/Kconfig deleted +0
-0arch/metag/Kconfig.debug deleted +0
-0arch/metag/Kconfig.soc deleted +0
-0arch/metag/Makefile deleted +0
-0arch/metag/boot/.gitignore deleted +0
-0arch/metag/boot/Makefile deleted +0
-0arch/metag/boot/dts/Makefile deleted +0
-0arch/metag/boot/dts/skeleton.dts deleted +0
-0arch/metag/boot/dts/skeleton.dtsi deleted +0
-0arch/metag/boot/dts/tz1090.dtsi deleted +0
-0arch/metag/boot/dts/tz1090_generic.dts deleted +0
-0arch/metag/configs/meta1_defconfig deleted +0
-0arch/metag/configs/meta2_defconfig deleted +0
-0arch/metag/configs/meta2_smp_defconfig deleted +0
-0arch/metag/configs/tz1090_defconfig deleted +0
-0arch/metag/include/asm/Kbuild deleted +0
-0arch/metag/include/asm/atomic.h deleted +0
-0arch/metag/include/asm/atomic_lnkget.h deleted +0
-0arch/metag/include/asm/atomic_lock1.h deleted +0
-0arch/metag/include/asm/barrier.h deleted +0
-0arch/metag/include/asm/bitops.h deleted +0
-0arch/metag/include/asm/bug.h deleted +0
-0arch/metag/include/asm/cache.h deleted +0
-0arch/metag/include/asm/cacheflush.h deleted +0
-0arch/metag/include/asm/cachepart.h deleted +0
-0arch/metag/include/asm/checksum.h deleted +0
-0arch/metag/include/asm/clock.h deleted +0
-0arch/metag/include/asm/cmpxchg.h deleted +0
-0arch/metag/include/asm/cmpxchg_irq.h deleted +0
-0arch/metag/include/asm/cmpxchg_lnkget.h deleted +0
-0arch/metag/include/asm/cmpxchg_lock1.h deleted +0
-0arch/metag/include/asm/core_reg.h deleted +0
-0arch/metag/include/asm/cpu.h deleted +0
-0arch/metag/include/asm/da.h deleted +0
-0arch/metag/include/asm/delay.h deleted +0
-0arch/metag/include/asm/div64.h deleted +0
-0arch/metag/include/asm/dma-mapping.h deleted +0
-0arch/metag/include/asm/elf.h deleted +0
-0arch/metag/include/asm/fixmap.h deleted +0
-0arch/metag/include/asm/ftrace.h deleted +0
-0arch/metag/include/asm/global_lock.h deleted +0
-0arch/metag/include/asm/highmem.h deleted +0
-0arch/metag/include/asm/hugetlb.h deleted +0
-0arch/metag/include/asm/hwthread.h deleted +0
-0arch/metag/include/asm/io.h deleted +0
-0arch/metag/include/asm/irq.h deleted +0
-0arch/metag/include/asm/irqflags.h deleted +0
-0arch/metag/include/asm/l2cache.h deleted +0
-0arch/metag/include/asm/linkage.h deleted +0
-0arch/metag/include/asm/mach/arch.h deleted +0
-0arch/metag/include/asm/metag_isa.h deleted +0
-0arch/metag/include/asm/metag_mem.h deleted +0
-0arch/metag/include/asm/metag_regs.h deleted +0
-0arch/metag/include/asm/mman.h deleted +0
-0arch/metag/include/asm/mmu.h deleted +0
-0arch/metag/include/asm/mmu_context.h deleted +0
-0arch/metag/include/asm/mmzone.h deleted +0
-0arch/metag/include/asm/module.h deleted +0
-0arch/metag/include/asm/page.h deleted +0
-0arch/metag/include/asm/perf_event.h deleted +0
-0arch/metag/include/asm/pgalloc.h deleted +0
-0arch/metag/include/asm/pgtable-bits.h deleted +0
-0arch/metag/include/asm/pgtable.h deleted +0
-0arch/metag/include/asm/processor.h deleted +0
-0arch/metag/include/asm/ptrace.h deleted +0
-0arch/metag/include/asm/setup.h deleted +0
-0arch/metag/include/asm/smp.h deleted +0
-0arch/metag/include/asm/sparsemem.h deleted +0
-0arch/metag/include/asm/spinlock.h deleted +0
-0arch/metag/include/asm/spinlock_lnkget.h deleted +0
-0arch/metag/include/asm/spinlock_lock1.h deleted +0
-0arch/metag/include/asm/spinlock_types.h deleted +0
-0arch/metag/include/asm/stacktrace.h deleted +0
-0arch/metag/include/asm/string.h deleted +0
-0arch/metag/include/asm/switch.h deleted +0
-0arch/metag/include/asm/syscall.h deleted +0
-0arch/metag/include/asm/syscalls.h deleted +0
-0arch/metag/include/asm/tbx.h deleted +0
-0arch/metag/include/asm/tcm.h deleted +0
-0arch/metag/include/asm/thread_info.h deleted +0
-0arch/metag/include/asm/tlb.h deleted +0
-0arch/metag/include/asm/tlbflush.h deleted +0
-0arch/metag/include/asm/topology.h deleted +0
-0arch/metag/include/asm/traps.h deleted +0
-0arch/metag/include/asm/uaccess.h deleted +0
-0arch/metag/include/asm/unistd.h deleted +0
-0arch/metag/include/asm/user_gateway.h deleted +0
-0arch/metag/include/uapi/asm/Kbuild deleted +0
-0arch/metag/include/uapi/asm/byteorder.h deleted +0
-0arch/metag/include/uapi/asm/ech.h deleted +0
-0arch/metag/include/uapi/asm/ptrace.h deleted +0
-0arch/metag/include/uapi/asm/sigcontext.h deleted +0
-0arch/metag/include/uapi/asm/siginfo.h deleted +0
-0arch/metag/include/uapi/asm/swab.h deleted +0
-0arch/metag/include/uapi/asm/unistd.h deleted +0
-0arch/metag/kernel/.gitignore deleted +0
-0arch/metag/kernel/Makefile deleted +0
-0arch/metag/kernel/asm-offsets.c deleted +0
-0arch/metag/kernel/cachepart.c deleted +0
-0arch/metag/kernel/clock.c deleted +0
-0arch/metag/kernel/core_reg.c deleted +0
-0arch/metag/kernel/da.c deleted +0
-0arch/metag/kernel/devtree.c deleted +0
-0arch/metag/kernel/dma.c deleted +0
-0arch/metag/kernel/ftrace.c deleted +0
-0arch/metag/kernel/ftrace_stub.S deleted +0
-0arch/metag/kernel/head.S deleted +0
-0arch/metag/kernel/irq.c deleted +0
-0arch/metag/kernel/kick.c deleted +0
-0arch/metag/kernel/machines.c deleted +0
-0arch/metag/kernel/metag_ksyms.c deleted +0
-0arch/metag/kernel/module.c deleted +0
-0arch/metag/kernel/perf/Makefile deleted +0
-0arch/metag/kernel/perf/perf_event.c deleted +0
-0arch/metag/kernel/perf/perf_event.h deleted +0
-0arch/metag/kernel/perf_callchain.c deleted +0
-0arch/metag/kernel/process.c deleted +0
-0arch/metag/kernel/ptrace.c deleted +0
-0arch/metag/kernel/setup.c deleted +0
-0arch/metag/kernel/signal.c deleted +0
-0arch/metag/kernel/smp.c deleted +0
-0arch/metag/kernel/stacktrace.c deleted +0
-0arch/metag/kernel/sys_metag.c deleted +0
-0arch/metag/kernel/tbiunexp.S deleted +0
-0arch/metag/kernel/tcm.c deleted +0
-0arch/metag/kernel/time.c deleted +0
-0arch/metag/kernel/topology.c deleted +0
-0arch/metag/kernel/traps.c deleted +0
-0arch/metag/kernel/user_gateway.S deleted +0
-0arch/metag/kernel/vmlinux.lds.S deleted +0
-0arch/metag/lib/Makefile deleted +0
-0arch/metag/lib/ashldi3.S deleted +0
-0arch/metag/lib/ashrdi3.S deleted +0
-0arch/metag/lib/checksum.c deleted +0
-0arch/metag/lib/clear_page.S deleted +0
-0arch/metag/lib/cmpdi2.S deleted +0
-0arch/metag/lib/copy_page.S deleted +0
-0arch/metag/lib/delay.c deleted +0
-0arch/metag/lib/div64.S deleted +0
-0arch/metag/lib/divsi3.S deleted +0
-0arch/metag/lib/ip_fast_csum.S deleted +0
-0arch/metag/lib/lshrdi3.S deleted +0
-0arch/metag/lib/memcpy.S deleted +0
-0arch/metag/lib/memmove.S deleted +0
-0arch/metag/lib/memset.S deleted +0
-0arch/metag/lib/modsi3.S deleted +0
-0arch/metag/lib/muldi3.S deleted +0
-0arch/metag/lib/ucmpdi2.S deleted +0
-0arch/metag/lib/usercopy.c deleted +0
-0arch/metag/mm/Kconfig deleted +0
-0arch/metag/mm/Makefile deleted +0
-0arch/metag/mm/cache.c deleted +0
-0arch/metag/mm/extable.c deleted +0
-0arch/metag/mm/fault.c deleted +0
-0arch/metag/mm/highmem.c deleted +0
-0arch/metag/mm/hugetlbpage.c deleted +0
-0arch/metag/mm/init.c deleted +0
-0arch/metag/mm/ioremap.c deleted +0
-0arch/metag/mm/l2cache.c deleted +0
-0arch/metag/mm/maccess.c deleted +0
-0arch/metag/mm/mmu-meta1.c deleted +0
-0arch/metag/mm/mmu-meta2.c deleted +0
-0arch/metag/mm/numa.c deleted +0
-0arch/metag/oprofile/Makefile deleted +0
-0arch/metag/oprofile/backtrace.c deleted +0
-0arch/metag/oprofile/backtrace.h deleted +0
-0arch/metag/oprofile/common.c deleted +0
-0arch/metag/tbx/Makefile deleted +0
-0arch/metag/tbx/tbicore.S deleted +0
-0arch/metag/tbx/tbictx.S deleted +0
-0arch/metag/tbx/tbictxfpu.S deleted +0
-0arch/metag/tbx/tbidefr.S deleted +0
-0arch/metag/tbx/tbidspram.S deleted +0
-0arch/metag/tbx/tbilogf.S deleted +0
-0arch/metag/tbx/tbipcx.S deleted +0
-0arch/metag/tbx/tbiroot.S deleted +0
-0arch/metag/tbx/tbisoft.S deleted +0
-0arch/metag/tbx/tbistring.c deleted +0
-0arch/metag/tbx/tbitimer.S deleted +0
-0
Re: [PATCH 01/13] metag: Remove arch/metag/
Quoted 24 lines · Guenter Roeck
Quoted 23 lines · James Hogan
The earliest Meta architecture port of Linux I have a record of was an import of a Meta port of Linux v2.4.1 in February 2004, which was worked on significantly over the next few years by Graham Whaley, Will Newton, Matt Fleming, myself and others.
Eventually the port was merged into mainline in v3.9 in March 2013, not long after Imagination Technologies bought MIPS Technologies and shifted its CPU focus over to the MIPS architecture.
As a result, though the port was maintained for a while, kept on life support for a while longer, and useful for testing a few specific drivers for which I don't have ready access to the equivalent MIPS hardware, it is now essentially dead with no users.
It is also stuck using an out-of-tree toolchain based on GCC 4.2.4 which is no longer maintained, now struggles to build modern kernels due to toolchain bugs, and doesn't itself build with a modern GCC. The latest buildroot port is still using an old uClibc snapshot which is no longer served, and the latest uClibc doesn't build with GCC 4.2.4.
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
Quoted 8 lines
Quoted 4 lines
Signed-off-by James Hogan <[email protected]>Cc Guenter Roeck <[email protected]>FWIW:
Reviewed-by Guenter Roeck <[email protected]>
Thanks
Quoted 3 lines
Did you drop the definition of
CPUHP_AP_PERF_METAG_STARTING? I browsed through the patches but didn't find where it was dropped.
Hmm, somehow that one slipped through my grepping. Thanks for pointing out.
Quoted 4 lines
Also, how did you generate this patch, and can you try to apply it yourself ? I tried to apply it, but neither git am nor patch worked for me. This patch also doesn't show up on patchwork.kernel.org which is odd.
I presume because I used -D to git format-patch, which is apparently only intended for human consumption (the full patch is 778K). I've pushed this version of the series here:
git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag.git
tag: metag_remove_v1
Cheers
James
Re: [PATCH 01/13] metag: Remove arch/metag/
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
Oh, and James, I meant to ask/note - I guess that just leaves parisc using STACK_GROWSUP... shame we could not ditch that as well then eh?
Graham
Re: [PATCH 01/13] metag: Remove arch/metag/
Quoted 6 lines · Graham Whaley
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
Oh, and James, I meant to ask/note - I guess that just leaves parisc using
STACK_GROWSUP... shame we could not ditch that as well then eh?
and just blackfin with the horrible underscore symbol prefix :P
Cheers
James
PATCH 2/13 docs: Remove metag docs
In reply to James HoganNow that arch/metag/ has been removed, remove Meta architecture specific documentation from the Documentation/ directory.
--- Documentation/00-INDEX | 2 - Documentation/admin-guide/kernel-parameters.txt | 4 - Documentation/devicetree/bindings/metag/meta.txt | 30 --- Documentation/metag/00-INDEX | 4 - Documentation/metag/kernel-ABI.txt | 256 ----------------------- 5 files changed, 296 deletions(-) delete mode 100644 Documentation/devicetree/bindings/metag/meta.txt delete mode 100644 Documentation/metag/00-INDEX delete mode 100644 Documentation/metag/kernel-ABI.txt
Documentation/00-INDEX +0 -2
@@ -276,8 +276,6 @@ memory-hotplug.txt - Hotpluggable memory support, how to use and current status. men-chameleon-bus.txt - info on MEN chameleon bus. -metag/ - - directory with info about Linux on Meta architecture. mic/ - Intel Many Integrated Core (MIC) architecture device driver. mips/
Documentation/admin-guide/kernel-parameters.txt +0 -4
@@ -1347,10 +1347,6 @@ If specified, z/VM IUCV HVC accepts connections from listed z/VM user IDs only. - hwthread_map= [METAG] Comma-separated list of Linux cpu id to - hardware thread id mappings. - Format: <cpu>:<hwthread> - keep_bootcon [KNL] Do not unregister boot console at start. This is only useful for debugging when something happens in the window
Documentation/devicetree/bindings/metag/meta.txt deleted +0 -0
Documentation/metag/00-INDEX deleted +0 -0
Documentation/metag/kernel-ABI.txt deleted +0 -0
Signature · 1 line
2.13.6
PATCH 3/13 docs: Remove remaining references to metag
In reply to James HoganRemove any remaining references to the Meta architecture in Documentation/, primarily from Documentation/features/.
--- Documentation/dev-tools/kmemleak.rst | 2 +- Documentation/features/core/BPF-JIT/arch-support.txt | 1 - Documentation/features/core/generic-idle-thread/arch-support.txt | 1 - Documentation/features/core/jump-labels/arch-support.txt | 1 - Documentation/features/core/tracehook/arch-support.txt | 1 - Documentation/features/debug/KASAN/arch-support.txt | 1 - Documentation/features/debug/gcov-profile-all/arch-support.txt | 1 - Documentation/features/debug/kgdb/arch-support.txt | 1 - Documentation/features/debug/kprobes-on-ftrace/arch-support.txt | 1 - Documentation/features/debug/kprobes/arch-support.txt | 1 - Documentation/features/debug/kretprobes/arch-support.txt | 1 - Documentation/features/debug/optprobes/arch-support.txt | 1 - Documentation/features/debug/stackprotector/arch-support.txt | 1 - Documentation/features/debug/uprobes/arch-support.txt | 1 - Documentation/features/debug/user-ret-profiler/arch-support.txt | 1 - Documentation/features/io/dma-api-debug/arch-support.txt | 1 - Documentation/features/io/dma-contiguous/arch-support.txt | 1 - Documentation/features/io/sg-chain/arch-support.txt | 1 - Documentation/features/lib/strncasecmp/arch-support.txt | 1 - Documentation/features/locking/cmpxchg-local/arch-support.txt | 1 - Documentation/features/locking/lockdep/arch-support.txt | 1 - Documentation/features/locking/queued-rwlocks/arch-support.txt | 1 - Documentation/features/locking/queued-spinlocks/arch-support.txt | 1 - Documentation/features/locking/rwsem-optimized/arch-support.txt | 1 - Documentation/features/perf/kprobes-event/arch-support.txt | 1 - Documentation/features/perf/perf-regs/arch-support.txt | 1 - Documentation/features/perf/perf-stackdump/arch-support.txt | 1 - Documentation/features/sched/membarrier-sync-core/arch-support.txt | 1 - Documentation/features/sched/numa-balancing/arch-support.txt | 1 - Documentation/features/seccomp/seccomp-filter/arch-support.txt | 1 - Documentation/features/time/arch-tick-broadcast/arch-support.txt | 1 - Documentation/features/time/clockevents/arch-support.txt | 1 - Documentation/features/time/context-tracking/arch-support.txt | 1 - Documentation/features/time/irq-time-acct/arch-support.txt | 1 - Documentation/features/time/modern-timekeeping/arch-support.txt | 1 - Documentation/features/time/virt-cpuacct/arch-support.txt | 1 - Documentation/features/vm/ELF-ASLR/arch-support.txt | 1 - Documentation/features/vm/PG_uncached/arch-support.txt | 1 - Documentation/features/vm/THP/arch-support.txt | 1 - Documentation/features/vm/TLB/arch-support.txt | 1 - Documentation/features/vm/huge-vmap/arch-support.txt | 1 - Documentation/features/vm/ioremap_prot/arch-support.txt | 1 - Documentation/features/vm/numa-memblock/arch-support.txt | 1 - Documentation/features/vm/pte_special/arch-support.txt | 1 - 44 files changed, 1 insertion(+), 44 deletions(-)
Documentation/dev-tools/kmemleak.rst +1 -1
@@ -8,7 +8,7 @@ with the difference that the orphan objects are not freed but only reported via /sys/kernel/debug/kmemleak. A similar method is used by the Valgrind tool (``memcheck --leak-check``) to detect the memory leaks in user-space applications. -Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, ppc, mips, s390, metag and tile. +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, ppc, mips, s390 and tile. Usage -----
Documentation/features/core/BPF-JIT/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/core/generic-idle-thread/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | ok | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/core/jump-labels/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/core/tracehook/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | ok | | microblaze: | TODO | | mips: | ok | | mn10300: | ok |
Documentation/features/debug/KASAN/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/debug/gcov-profile-all/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | ok | | mips: | TODO | | mn10300: | TODO |
Documentation/features/debug/kgdb/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | ok | | mips: | ok | | mn10300: | ok |
Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/debug/kprobes/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/debug/kretprobes/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/debug/optprobes/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/debug/stackprotector/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/debug/uprobes/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/debug/user-ret-profiler/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/io/dma-api-debug/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | ok | | mips: | ok | | mn10300: | TODO |
Documentation/features/io/dma-contiguous/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/io/sg-chain/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/lib/strncasecmp/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/locking/cmpxchg-local/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/locking/lockdep/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | ok | | microblaze: | ok | | mips: | ok | | mn10300: | TODO |
Documentation/features/locking/queued-rwlocks/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/locking/queued-spinlocks/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/locking/rwsem-optimized/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/perf/kprobes-event/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/perf/perf-regs/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/perf/perf-stackdump/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/sched/membarrier-sync-core/arch-support.txt +0 -1
@@ -42,7 +42,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/sched/numa-balancing/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | .. | | m68k: | .. | - | metag: | .. | | microblaze: | .. | | mips: | TODO | | mn10300: | .. |
Documentation/features/seccomp/seccomp-filter/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/time/arch-tick-broadcast/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/time/clockevents/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | ok | - | metag: | ok | | microblaze: | ok | | mips: | ok | | mn10300: | ok |
Documentation/features/time/context-tracking/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/time/irq-time-acct/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | .. | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/time/modern-timekeeping/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | ok | | microblaze: | ok | | mips: | ok | | mn10300: | ok |
Documentation/features/time/virt-cpuacct/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/vm/ELF-ASLR/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | ok | | mn10300: | TODO |
Documentation/features/vm/PG_uncached/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/vm/THP/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | .. | | m68k: | .. | - | metag: | TODO | | microblaze: | .. | | mips: | ok | | mn10300: | .. |
Documentation/features/vm/TLB/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | .. | - | metag: | TODO | | microblaze: | .. | | mips: | TODO | | mn10300: | TODO |
Documentation/features/vm/huge-vmap/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/vm/ioremap_prot/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Documentation/features/vm/numa-memblock/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | ok | | m32r: | TODO | | m68k: | .. | - | metag: | ok | | microblaze: | ok | | mips: | ok | | mn10300: | TODO |
Documentation/features/vm/pte_special/arch-support.txt +0 -1
@@ -19,7 +19,6 @@ | ia64: | TODO | | m32r: | TODO | | m68k: | TODO | - | metag: | TODO | | microblaze: | TODO | | mips: | TODO | | mn10300: | TODO |
Signature · 1 line
2.13.6
PATCH 4/13 Drop a bunch of metag references
In reply to James HoganNow that arch/metag/ has been removed, drop a bunch of metag references in various codes across the whole tree:
- VM_GROWSUP and __VM_ARCH_PECIFIC_1.
- MT_METAG_* ELF note types.
- METAG Kconfig dependencies (FRAME_POINTER) and ranges (MAX_STACK_SIZE_MB).
- metag cases in tools (checkstack.pl, recordmcount.c, perf).
--- include/linux/mm.h | 2 -- include/trace/events/mmflags.h | 2 +- include/uapi/linux/elf.h | 3 --- lib/Kconfig.debug | 2 +- mm/Kconfig | 7 +++---- scripts/checkstack.pl | 4 ---- scripts/recordmcount.c | 20 -------------------- tools/perf/perf-sys.h | 4 ---- 8 files changed, 5 insertions(+), 39 deletions(-)
include/linux/mm.h +0 -2
@@ -241,8 +241,6 @@ extern unsigned int kobjsize(const void *objp);# define VM_SAO VM_ARCH_1/* Strong Access Ordering (powerpc) */ #elif defined(CONFIG_PARISC )# define VM_GROWSUP VM_ARCH_1 -#elif defined(CONFIG_METAG ) -# define VM_GROWSUP VM_ARCH_1#elif defined(CONFIG_IA64 )# define VM_GROWSUP VM_ARCH_1#elif !defined(CONFIG_MMU )
include/trace/events/mmflags.h +1 -1
@@ -115,7 +115,7 @@ IF_HAVE_PG_IDLE(PG_idle, "idle" )#define __VM_ARCH_SPECIFIC_1 {VM_PAT, "pat" }#elif defined(CONFIG_PPC )#define __VM_ARCH_SPECIFIC_1 {VM_SAO, "sao" } -#elif defined(CONFIG_PARISC ) || defined(CONFIG_METAG ) || defined(CONFIG_IA64 ) +#elif defined(CONFIG_PARISC ) || defined(CONFIG_IA64 )#define __VM_ARCH_SPECIFIC_1 {VM_GROWSUP, "growsup" }#elif !defined(CONFIG_MMU )#define __VM_ARCH_SPECIFIC_1 {VM_MAPPED_COPY,"mappedcopy" }
include/uapi/linux/elf.h +0 -3
@@ -420,9 +420,6 @@ typedef struct elf64_shdr {#define NT_ARM_HW_WATCH 0x403/* ARM hardware watchpoint registers */ #define NT_ARM_SYSTEM_CALL 0x404/* ARM system call number */ #define NT_ARM_SVE 0x405/* ARM Scalable Vector Extension registers */ -#define NT_METAG_CBUF 0x500/* Metag catch buffer registers */ -#define NT_METAG_RPIPE 0x501/* Metag read pipeline state */ -#define NT_METAG_TLS 0x502/* Metag TLS pointer */ #define NT_ARC_V2 0x600/* ARCv2 accumulator/extra registers */ /* Note header in a PT_NOTE section */
lib/Kconfig.debug +1 -1
@@ -356,7 +356,7 @@ config FRAME_POINTER bool "Compile the kernel with frame pointers" depends on DEBUG_KERNEL && \ (CRIS || M68K || FRV || UML || \ - SUPERH || BLACKFIN || MN10300 || METAG) || \ + SUPERH || BLACKFIN || MN10300) || \ ARCH_WANT_FRAME_POINTERS default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS help
mm/Kconfig +3 -4
@@ -627,15 +627,14 @@ config GENERIC_EARLY_IOREMAP config MAX_STACK_SIZE_MB int "Maximum user stack size for 32-bit processes (MB)" default 80 - range 8 256 if METAG range 8 2048 depends on STACK_GROWSUP && (!64BIT || COMPAT) help This is the maximum stack size in Megabytes in the VM layout of 32-bit user processes when the stack grows upwards (currently only on parisc - and metag arch). The stack will be located at the highest memory - address minus the given value, unless the RLIMIT_STACK hard limit is - changed to a smaller value in which case that is used. + arch). The stack will be located at the highest memory address minus + the given value, unless the RLIMIT_STACK hard limit is changed to a + smaller value in which case that is used. A sane initial value is 80 MB.
scripts/checkstack.pl +0 -4
@@ -64,10 +64,6 @@ my (@stack, $re, $dre, $x, $xs, $funcre); # 2b6c: 4e56 fb70 linkw %fp,#-1168 # 1df770: defc ffe4 addaw #-28,%sp $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; - } elsif ($arch eq 'metag') { - #400026fc: 40 00 00 82 ADD A0StP,A0StP,#0x8 - $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; - $funcre = qr/^$x* <[^\$](.*)>:$/; } elsif ($arch eq 'mips64') { #8800402c: 67bdfff0 daddiu sp,sp,-16 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
scripts/recordmcount.c +0 -20
@@ -33,20 +33,6 @@#include <string.h> #include <unistd.h> -/* -* glibc synced up and added the metag number but didn't add the relocations. -* Work around this in a crude manner for now. -*/ -#ifndef EM_METAG -#define EM_METAG 174 -#endif -#ifndef R_METAG_ADDR32 -#define R_METAG_ADDR32 2 -#endif -#ifndef R_METAG_NONE -#define R_METAG_NONE 3 -#endif -#ifndef EM_AARCH64 #define EM_AARCH64 183#define R_AARCH64_NONE 0
@@ -538,12 +524,6 @@ do_file(char const *const fname) gpfx ='_' ;break ;case EM_IA_64 : reltype =R_IA64_IMM64 ; gpfx ='_' ;break ; -case EM_METAG : reltype =R_METAG_ADDR32 ; - altmcount ="_mcount_wrapper" ; - rel_type_nop =R_METAG_NONE ; -/* We happen to have the same requirement as MIPS */ - is_fake_mcount32 = MIPS32_is_fake_mcount; -break ;case EM_MIPS :/* reltype: e_class */ gpfx ='_' ;break ;case EM_PPC : reltype =R_PPC_ADDR32 ; gpfx ='_' ;break ;case EM_PPC64 : reltype =R_PPC64_ADDR64 ; gpfx ='_' ;break ;
tools/perf/perf-sys.h +0 -4
@@ -46,10 +46,6 @@#define CPUINFO_PROC {"Processor"}#endif -#ifdef __metag__ -#define CPUINFO_PROC {"CPU"} -#endif -#ifdef __xtensa__#define CPUINFO_PROC {"core ID"}#endif
Signature · 7 lines
2.13.6 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 04/13] Drop a bunch of metag references
Quoted 21 lines · On Wed, 21 Feb 2018 23:38:16 +0000 James Hogan <[email protected]> wrote:
Now that
arch/metag/has been removed, drop a bunch of metag references in various codes across the whole tree:
-VM_GROWSUPand__VM_ARCH_PECIFIC_1.
- MT_METAG_* ELF note types.
- METAGKconfigdependencies (FRAME_POINTER) and ranges (MAX_STACK_SIZE_MB).
- metag cases in tools (checkstack.pl,recordmcount.c, perf).Signed-off-by James Hogan <[email protected]>Cc Steven Rostedt <[email protected]>Cc Ingo Molnar <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Arnaldo Carvalho de Melo <[email protected]>Cc Alexander Shishkin <[email protected]>Cc Jiri Olsa <[email protected]>Cc Namhyung Kim <[email protected]>--- include/linux/mm.h | 2 --
Quoted 8 lines
include/trace/events/mmflags.h | 2 +-include/uapi/linux/elf.h | 3 --- lib/Kconfig.debug | 2 +- mm/Kconfig | 7 +++---- scripts/checkstack.pl | 4 ----scripts/recordmcount.c | 20 --------------------
-- Steve
Quoted 48 lines
tools/perf/perf-sys.h | 4 ---- 8 files changed, 5 insertions(+), 39 deletions(-)include/trace/events/mmflags.h +1
-1@@ -115,7 +115,7 @@ IF_HAVE_PG_IDLE(PG_idle, "idle" )#define __VM_ARCH_SPECIFIC_1 {VM_PAT, "pat" }#elif defined(CONFIG_PPC )#define __VM_ARCH_SPECIFIC_1 {VM_SAO, "sao" } -#elif defined(CONFIG_PARISC ) || defined(CONFIG_METAG ) || defined(CONFIG_IA64 ) +#elif defined(CONFIG_PARISC ) || defined(CONFIG_IA64 )#define __VM_ARCH_SPECIFIC_1 {VM_GROWSUP, "growsup" }#elif !defined(CONFIG_MMU )#define __VM_ARCH_SPECIFIC_1 {VM_MAPPED_COPY,"mappedcopy" }scripts/recordmcount.c +0
-14@@ -33,20 +33,6 @@#include <string.h> #include <unistd.h> -/* -* glibc synced up and added the metag number but didn't add the relocations. -* Work around this in a crude manner for now. -*/ -#ifndef EM_METAG -#define EM_METAG 174 -#endif -#ifndef R_METAG_ADDR32 -#define R_METAG_ADDR32 2 -#endif -#ifndef R_METAG_NONE -#define R_METAG_NONE 3 -#endif -#ifndef EM_AARCH64 #define EM_AARCH64 183#define R_AARCH64_NONE 0@@ -538,12 +524,6 @@ do_file(char const *const fname) gpfx ='_' ;break ;
scripts/recordmcount.c do_file(char const *const fname) · line 529
Quoted 10 lines
scripts/recordmcount.c +0
-6case EM_IA_64 : reltype =R_IA64_IMM64 ; gpfx ='_' ;break ; -case EM_METAG : reltype =R_METAG_ADDR32 ; - altmcount ="_mcount_wrapper" ; - rel_type_nop =R_METAG_NONE ; -/* We happen to have the same requirement as MIPS */ - is_fake_mcount32 = MIPS32_is_fake_mcount; -break ;case EM_MIPS :/* reltype: e_class */ gpfx ='_' ;break ;case EM_PPC : reltype =R_PPC_ADDR32 ; gpfx ='_' ;break ;case EM_PPC64 : reltype =R_PPC64_ADDR64 ; gpfx ='_' ;break ;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH v2 4/13 Drop a bunch of metag references
In reply to James HoganNow that arch/metag/ has been removed, drop a bunch of metag references in various codes across the whole tree:
- VM_GROWSUP and __VM_ARCH_PECIFIC_1.
- MT_METAG_* ELF note types.
- METAG Kconfig dependencies (FRAME_POINTER) and ranges (MAX_STACK_SIZE_MB).
- metag cases in tools (checkstack.pl, recordmcount.c, perf).
---
Changes in v2:
- Drop CPUHP_AP_PERF_METAG_STARTING too (Guenter).
--- include/linux/cpuhotplug.h | 1 - include/linux/mm.h | 2 -- include/trace/events/mmflags.h | 2 +- include/uapi/linux/elf.h | 3 --- lib/Kconfig.debug | 2 +- mm/Kconfig | 7 +++---- scripts/checkstack.pl | 4 ---- scripts/recordmcount.c | 20 -------------------- tools/perf/perf-sys.h | 4 ---- 9 files changed, 5 insertions(+), 40 deletions(-)
include/linux/cpuhotplug.h +0 -1
@@ -108,7 +108,6 @@ enum cpuhp_state {CPUHP_AP_PERF_X86_CQM_STARTING ,CPUHP_AP_PERF_X86_CSTATE_STARTING ,CPUHP_AP_PERF_XTENSA_STARTING , -CPUHP_AP_PERF_METAG_STARTING ,CPUHP_AP_MIPS_OP_LOONGSON3_STARTING ,CPUHP_AP_ARM_SDEI_STARTING , CPUHP_AP_ARM_VFP_STARTING,
include/linux/mm.h +0 -2
@@ -241,8 +241,6 @@ extern unsigned int kobjsize(const void *objp);# define VM_SAO VM_ARCH_1/* Strong Access Ordering (powerpc) */ #elif defined(CONFIG_PARISC )# define VM_GROWSUP VM_ARCH_1 -#elif defined(CONFIG_METAG ) -# define VM_GROWSUP VM_ARCH_1#elif defined(CONFIG_IA64 )# define VM_GROWSUP VM_ARCH_1#elif !defined(CONFIG_MMU )
include/trace/events/mmflags.h +1 -1
@@ -115,7 +115,7 @@ IF_HAVE_PG_IDLE(PG_idle, "idle" )#define __VM_ARCH_SPECIFIC_1 {VM_PAT, "pat" }#elif defined(CONFIG_PPC )#define __VM_ARCH_SPECIFIC_1 {VM_SAO, "sao" } -#elif defined(CONFIG_PARISC ) || defined(CONFIG_METAG ) || defined(CONFIG_IA64 ) +#elif defined(CONFIG_PARISC ) || defined(CONFIG_IA64 )#define __VM_ARCH_SPECIFIC_1 {VM_GROWSUP, "growsup" }#elif !defined(CONFIG_MMU )#define __VM_ARCH_SPECIFIC_1 {VM_MAPPED_COPY,"mappedcopy" }
include/uapi/linux/elf.h +0 -3
@@ -420,9 +420,6 @@ typedef struct elf64_shdr {#define NT_ARM_HW_WATCH 0x403/* ARM hardware watchpoint registers */ #define NT_ARM_SYSTEM_CALL 0x404/* ARM system call number */ #define NT_ARM_SVE 0x405/* ARM Scalable Vector Extension registers */ -#define NT_METAG_CBUF 0x500/* Metag catch buffer registers */ -#define NT_METAG_RPIPE 0x501/* Metag read pipeline state */ -#define NT_METAG_TLS 0x502/* Metag TLS pointer */ #define NT_ARC_V2 0x600/* ARCv2 accumulator/extra registers */ /* Note header in a PT_NOTE section */
lib/Kconfig.debug +1 -1
@@ -356,7 +356,7 @@ config FRAME_POINTER bool "Compile the kernel with frame pointers" depends on DEBUG_KERNEL && \ (CRIS || M68K || FRV || UML || \ - SUPERH || BLACKFIN || MN10300 || METAG) || \ + SUPERH || BLACKFIN || MN10300) || \ ARCH_WANT_FRAME_POINTERS default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS help
mm/Kconfig +3 -4
@@ -627,15 +627,14 @@ config GENERIC_EARLY_IOREMAP config MAX_STACK_SIZE_MB int "Maximum user stack size for 32-bit processes (MB)" default 80 - range 8 256 if METAG range 8 2048 depends on STACK_GROWSUP && (!64BIT || COMPAT) help This is the maximum stack size in Megabytes in the VM layout of 32-bit user processes when the stack grows upwards (currently only on parisc - and metag arch). The stack will be located at the highest memory - address minus the given value, unless the RLIMIT_STACK hard limit is - changed to a smaller value in which case that is used. + arch). The stack will be located at the highest memory address minus + the given value, unless the RLIMIT_STACK hard limit is changed to a + smaller value in which case that is used. A sane initial value is 80 MB.
scripts/checkstack.pl +0 -4
@@ -64,10 +64,6 @@ my (@stack, $re, $dre, $x, $xs, $funcre); # 2b6c: 4e56 fb70 linkw %fp,#-1168 # 1df770: defc ffe4 addaw #-28,%sp $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; - } elsif ($arch eq 'metag') { - #400026fc: 40 00 00 82 ADD A0StP,A0StP,#0x8 - $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; - $funcre = qr/^$x* <[^\$](.*)>:$/; } elsif ($arch eq 'mips64') { #8800402c: 67bdfff0 daddiu sp,sp,-16 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
scripts/recordmcount.c +0 -20
@@ -33,20 +33,6 @@#include <string.h> #include <unistd.h> -/* -* glibc synced up and added the metag number but didn't add the relocations. -* Work around this in a crude manner for now. -*/ -#ifndef EM_METAG -#define EM_METAG 174 -#endif -#ifndef R_METAG_ADDR32 -#define R_METAG_ADDR32 2 -#endif -#ifndef R_METAG_NONE -#define R_METAG_NONE 3 -#endif -#ifndef EM_AARCH64 #define EM_AARCH64 183#define R_AARCH64_NONE 0
@@ -538,12 +524,6 @@ do_file(char const *const fname) gpfx ='_' ;break ;case EM_IA_64 : reltype =R_IA64_IMM64 ; gpfx ='_' ;break ; -case EM_METAG : reltype =R_METAG_ADDR32 ; - altmcount ="_mcount_wrapper" ; - rel_type_nop =R_METAG_NONE ; -/* We happen to have the same requirement as MIPS */ - is_fake_mcount32 = MIPS32_is_fake_mcount; -break ;case EM_MIPS :/* reltype: e_class */ gpfx ='_' ;break ;case EM_PPC : reltype =R_PPC_ADDR32 ; gpfx ='_' ;break ;case EM_PPC64 : reltype =R_PPC64_ADDR64 ; gpfx ='_' ;break ;
tools/perf/perf-sys.h +0 -4
@@ -46,10 +46,6 @@#define CPUINFO_PROC {"Processor"}#endif -#ifdef __metag__ -#define CPUINFO_PROC {"CPU"} -#endif -#ifdef __xtensa__#define CPUINFO_PROC {"core ID"}#endif
Signature · 7 lines
2.13.6 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH v2 04/13] Drop a bunch of metag references
Quoted 8 lines · James Hogan
Now that
arch/metag/has been removed, drop a bunch of metag references in various codes across the whole tree:
-VM_GROWSUPand__VM_ARCH_PECIFIC_1.
- MT_METAG_* ELF note types.
- METAGKconfigdependencies (FRAME_POINTER) and ranges(MAX_STACK_SIZE_MB).- metag cases in tools (checkstack.pl,
recordmcount.c, perf).
Quoted 11 lines
Signed-off-by James Hogan <[email protected]>Cc Ingo Molnar <[email protected]>Cc Arnaldo Carvalho de Melo <[email protected]>Cc Alexander Shishkin <[email protected]>Cc Jiri Olsa <[email protected]>Cc Namhyung Kim <[email protected]>Cc Guenter Roeck <[email protected]>
Quoted 162 lines
---
Changes in v2:
- DropCPUHP_AP_PERF_METAG_STARTINGtoo (Guenter).--- include/linux/cpuhotplug.h | 1 - include/linux/mm.h | 2 -- include/trace/events/mmflags.h | 2 +- include/uapi/linux/elf.h | 3 --- lib/Kconfig.debug | 2 +- mm/Kconfig | 7 +++---- scripts/checkstack.pl | 4 ---- scripts/recordmcount.c | 20 -------------------- tools/perf/perf-sys.h | 4 ---- 9 files changed, 5 insertions(+), 40 deletions(-)include/linux/cpuhotplug.h +0
-1@@ -108,7 +108,6 @@ enum cpuhp_state {CPUHP_AP_PERF_X86_CQM_STARTING ,CPUHP_AP_PERF_X86_CSTATE_STARTING ,CPUHP_AP_PERF_XTENSA_STARTING , -CPUHP_AP_PERF_METAG_STARTING ,CPUHP_AP_MIPS_OP_LOONGSON3_STARTING ,CPUHP_AP_ARM_SDEI_STARTING , CPUHP_AP_ARM_VFP_STARTING,include/linux/mm.h +0
-2@@ -241,8 +241,6 @@ extern unsigned int kobjsize(const void *objp);# define VM_SAO VM_ARCH_1/* Strong Access Ordering (powerpc) */ #elif defined(CONFIG_PARISC )# define VM_GROWSUP VM_ARCH_1 -#elif defined(CONFIG_METAG ) -# define VM_GROWSUP VM_ARCH_1#elif defined(CONFIG_IA64 )# define VM_GROWSUP VM_ARCH_1#elif !defined(CONFIG_MMU )include/trace/events/mmflags.h +1
-1@@ -115,7 +115,7 @@ IF_HAVE_PG_IDLE(PG_idle, "idle" )#define __VM_ARCH_SPECIFIC_1 {VM_PAT, "pat" }#elif defined(CONFIG_PPC )#define __VM_ARCH_SPECIFIC_1 {VM_SAO, "sao" } -#elif defined(CONFIG_PARISC ) || defined(CONFIG_METAG ) || defined(CONFIG_IA64 ) +#elif defined(CONFIG_PARISC ) || defined(CONFIG_IA64 )#define __VM_ARCH_SPECIFIC_1 {VM_GROWSUP, "growsup" }#elif !defined(CONFIG_MMU )#define __VM_ARCH_SPECIFIC_1 {VM_MAPPED_COPY,"mappedcopy" }include/uapi/linux/elf.h +0
-3@@ -420,9 +420,6 @@ typedef struct elf64_shdr {#define NT_ARM_HW_WATCH 0x403/* ARM hardware watchpoint registers */ #define NT_ARM_SYSTEM_CALL 0x404/* ARM system call number */ #define NT_ARM_SVE 0x405/* ARM Scalable Vector Extension registers */ -#define NT_METAG_CBUF 0x500/* Metag catch buffer registers */ -#define NT_METAG_RPIPE 0x501/* Metag read pipeline state */ -#define NT_METAG_TLS 0x502/* Metag TLS pointer */ #define NT_ARC_V2 0x600/* ARCv2 accumulator/extra registers */ /* Note header in a PT_NOTE section */ lib/Kconfig.debug +1
-1@@ -356,7 +356,7 @@ config FRAME_POINTER bool "Compile the kernel with frame pointers" depends on DEBUG_KERNEL && \ (CRIS || M68K || FRV || UML || \ - SUPERH || BLACKFIN || MN10300 || METAG) || \ + SUPERH || BLACKFIN || MN10300) || \ ARCH_WANT_FRAME_POINTERS default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS helpmm/Kconfig +3
-4@@ -627,15 +627,14 @@ config GENERIC_EARLY_IOREMAP config MAX_STACK_SIZE_MB int "Maximum user stack size for 32-bit processes (MB)" default 80 - range 8 256 if METAG range 8 2048 depends on STACK_GROWSUP && (!64BIT || COMPAT) help This is the maximum stack size in Megabytes in the VM layout of 32-bit user processes when the stack grows upwards (currently only on parisc - and metag arch). The stack will be located at the highest memory - address minus the given value, unless the RLIMIT_STACK hard limit is - changed to a smaller value in which case that is used. + arch). The stack will be located at the highest memory address minus + the given value, unless the RLIMIT_STACK hard limit is changed to a + smaller value in which case that is used. A sane initial value is 80 MB.scripts/checkstack.pl +0
-4@@ -64,10 +64,6 @@ my (@stack, $re, $dre, $x, $xs, $funcre); # 2b6c: 4e56 fb70 linkw %fp,#-1168 # 1df770: defc ffe4 addaw #-28,%sp $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; - } elsif ($arch eq 'metag') { - #400026fc: 40 00 00 82 ADD A0StP,A0StP,#0x8 - $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; - $funcre = qr/^$x* <[^\$](.*)>:$/; } elsif ($arch eq 'mips64') { #8800402c: 67bdfff0 daddiu sp,sp,-16 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;scripts/recordmcount.c +0
-20@@ -33,20 +33,6 @@#include <string.h> #include <unistd.h> -/* -* glibc synced up and added the metag number but didn't add the relocations. -* Work around this in a crude manner for now. -*/ -#ifndef EM_METAG -#define EM_METAG 174 -#endif -#ifndef R_METAG_ADDR32 -#define R_METAG_ADDR32 2 -#endif -#ifndef R_METAG_NONE -#define R_METAG_NONE 3 -#endif -#ifndef EM_AARCH64 #define EM_AARCH64 183#define R_AARCH64_NONE 0@@ -538,12 +524,6 @@ do_file(char const *const fname) gpfx ='_' ;break ;case EM_IA_64 : reltype =R_IA64_IMM64 ; gpfx ='_' ;break ; -case EM_METAG : reltype =R_METAG_ADDR32 ; - altmcount ="_mcount_wrapper" ; - rel_type_nop =R_METAG_NONE ; -/* We happen to have the same requirement as MIPS */ - is_fake_mcount32 = MIPS32_is_fake_mcount; -break ;case EM_MIPS :/* reltype: e_class */ gpfx ='_' ;break ;case EM_PPC : reltype =R_PPC_ADDR32 ; gpfx ='_' ;break ;case EM_PPC64 : reltype =R_PPC64_ADDR64 ; gpfx ='_' ;break ;tools/perf/perf-sys.h +0
-0
tools/perf/perf-sys.h line 51
Quoted 10 lines
tools/perf/perf-sys.h +0
-4@@ -46,10 +46,6 @@#define CPUINFO_PROC {"Processor"}#endif -#ifdef __metag__ -#define CPUINFO_PROC {"CPU"} -#endif -#ifdef __xtensa__#define CPUINFO_PROC {"core ID"}#endif
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 5/13 irqchip: Remove metag irqchip drivers
In reply to James HoganNow that arch/metag/ has been removed, remove the two metag irqchip drivers. They are of no value without the architecture code.
- irq-metag: Meta internal (HWSTATMETA) interrupt code.
- irq-metag-ext: Meta External interrupt code.
--- drivers/irqchip/Makefile | 2 - drivers/irqchip/irq-metag-ext.c | 871 -------------------------------------- drivers/irqchip/irq-metag.c | 343 --------------- include/linux/irqchip/metag-ext.h | 34 -- include/linux/irqchip/metag.h | 25 -- 5 files changed, 1275 deletions(-) delete mode 100644 drivers/irqchip/irq-metag-ext.c delete mode 100644 drivers/irqchip/irq-metag.c delete mode 100644 include/linux/irqchip/metag-ext.h delete mode 100644 include/linux/irqchip/metag.h
drivers/irqchip/Makefile +0 -2
@@ -15,8 +15,6 @@ obj-$(CONFIG_IRQ_MXS) += irq-mxs.o obj-$(CONFIG_ARCH_TEGRA) += irq-tegra.o obj-$(CONFIG_ARCH_S3C24XX) += irq-s3c24xx.o obj-$(CONFIG_DW_APB_ICTL) += irq-dw-apb-ictl.o -obj-$(CONFIG_METAG) += irq-metag-ext.o -obj-$(CONFIG_METAG_PERFCOUNTER_IRQS) += irq-metag.o obj-$(CONFIG_CLPS711X_IRQCHIP) += irq-clps711x.o obj-$(CONFIG_OMPIC) += irq-ompic.o obj-$(CONFIG_OR1K_PIC) += irq-or1k-pic.o
drivers/irqchip/irq-metag-ext.c deleted +0 -0
drivers/irqchip/irq-metag.c deleted +0 -0
include/linux/irqchip/metag-ext.h deleted +0 -0
include/linux/irqchip/metag.h deleted +0 -0
Signature · 1 line
2.13.6
PATCH 6/13 clocksource: Remove metag generic timer driver
In reply to James HoganNow that arch/metag/ has been removed, remove the metag generic per-thread timer driver. It is of no value without the architecture code.
--- drivers/clocksource/Kconfig | 5 -- drivers/clocksource/Makefile | 1 - drivers/clocksource/metag_generic.c | 161 ------------------------------------ include/clocksource/metag_generic.h | 21 ----- include/linux/cpuhotplug.h | 1 - 5 files changed, 189 deletions(-) delete mode 100644 drivers/clocksource/metag_generic.c delete mode 100644 include/clocksource/metag_generic.h
drivers/clocksource/Kconfig +0 -5
@@ -391,11 +391,6 @@ config ATMEL_ST help Support for the Atmel ST timer. -config CLKSRC_METAG_GENERIC - def_bool y if METAG - help - This option enables support for the Meta per-thread timers. - config CLKSRC_EXYNOS_MCT bool "Exynos multi core timer driver" if COMPILE_TEST depends on ARM || ARM64
drivers/clocksource/Makefile +0 -1
@@ -61,7 +61,6 @@ obj-$(CONFIG_ARM_ARCH_TIMER) += arm_arch_timer.o obj-$(CONFIG_ARM_GLOBAL_TIMER) += arm_global_timer.o obj-$(CONFIG_ARMV7M_SYSTICK) += armv7m_systick.o obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp804.o -obj-$(CONFIG_CLKSRC_METAG_GENERIC) += metag_generic.o obj-$(CONFIG_ARCH_HAS_TICK_BROADCAST) += dummy_timer.o obj-$(CONFIG_KEYSTONE_TIMER) += timer-keystone.o obj-$(CONFIG_INTEGRATOR_AP_TIMER) += timer-integrator-ap.o
drivers/clocksource/metag_generic.c deleted +0 -0
include/clocksource/metag_generic.h deleted +0 -0
include/linux/cpuhotplug.h +0 -1
@@ -122,7 +122,6 @@ enum cpuhp_state {CPUHP_AP_JCORE_TIMER_STARTING ,CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING ,CPUHP_AP_ARM_TWD_STARTING , -CPUHP_AP_METAG_TIMER_STARTING ,CPUHP_AP_QCOM_TIMER_STARTING ,CPUHP_AP_ARMADA_TIMER_STARTING , CPUHP_AP_MARCO_TIMER_STARTING,
Signature · 1 line
2.13.6
Re: [PATCH 06/13] clocksource: Remove metag generic timer driver
Quoted 8 lines · James Hogan
Now that
arch/metag/has been removed, remove the metag generic per-thread timer driver. It is of no value without the architecture code.Signed-off-by James Hogan <[email protected]>Cc Daniel Lezcano <[email protected]>Cc Thomas Gleixner <[email protected]>
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
PATCH 7/13 tty: Remove metag DA TTY and console driver
In reply to James HoganNow that arch/metag/ has been removed, remove the metag DA TTY and console driver. It is of no value without the architecture code.
--- drivers/tty/Kconfig | 13 - drivers/tty/Makefile | 1 - drivers/tty/metag_da.c | 665 ------------------------------------------------- 3 files changed, 679 deletions(-) delete mode 100644 drivers/tty/metag_da.c
drivers/tty/Kconfig +0 -13
@@ -402,19 +402,6 @@ config GOLDFISH_TTY_EARLY_CONSOLE default y if GOLDFISH_TTY=y select SERIAL_EARLYCON -config DA_TTY - bool "DA TTY" - depends on METAG_DA - select SERIAL_NONSTANDARD - help - This enables a TTY on a Dash channel. - -config DA_CONSOLE - bool "DA Console" - depends on DA_TTY - help - This enables a console on a Dash channel. - config MIPS_EJTAG_FDC_TTY bool "MIPS EJTAG Fast Debug Channel TTY" depends on MIPS_CDMM
drivers/tty/Makefile +0 -1
@@ -32,7 +32,6 @@ obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o obj-$(CONFIG_SYNCLINK) += synclink.o obj-$(CONFIG_PPC_EPAPR_HV_BYTECHAN) += ehv_bytechan.o obj-$(CONFIG_GOLDFISH_TTY) += goldfish.o -obj-$(CONFIG_DA_TTY) += metag_da.o obj-$(CONFIG_MIPS_EJTAG_FDC_TTY) += mips_ejtag_fdc.o obj-$(CONFIG_VCC) += vcc.o
drivers/tty/metag_da.c deleted +0 -0
Signature · 1 line
2.13.6
Re: [PATCH 07/13] tty: Remove metag DA TTY and console driver
Quoted 7 lines · James Hogan
Now that
arch/metag/has been removed, remove the metag DA TTY and console driver. It is of no value without the architecture code.Signed-off-by James Hogan <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc Jiri Slaby <[email protected]>
Quoted 6 lines
--- drivers/tty/Kconfig | 13 - drivers/tty/Makefile | 1 - drivers/tty/metag_da.c | 665 ------------------------------------------------- 3 files changed, 679 deletions(-) delete mode 100644 drivers/tty/metag_da.c
PATCH 8/13 MAINTAINERS/CREDITS: Drop METAG ARCHITECTURE
In reply to James HoganThe core Meta architecture support has now been removed, so drop the MAINTAINERS entry and add an entry to CREDITS.
--- CREDITS | 5 +++++ MAINTAINERS | 14 -------------- 2 files changed, 5 insertions(+), 14 deletions(-)
CREDITS +5 -0
@@ -1564,6 +1564,11 @@ W: http://www.carumba.com/ D: bug toaster (A1 sauce makes all the difference) D: Random linux hacker +N: James Hogan +E: [email protected] +D: Metag architecture maintainer +D: TZ1090 SoC maintainer + N: Tim Hockin E: [email protected] W: http://www.hockin.org/~thockin
MAINTAINERS +0 -14
@@ -9081,20 +9081,6 @@ F: drivers/media/platform/meson/ao-cec.c F: Documentation/devicetree/bindings/media/meson-ao-cec.txt T: git git://linuxtv.org/media_tree.git -METAG ARCHITECTURE -M: James Hogan <[email protected]> -L: [email protected] -T: git git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag.git -S: Odd Fixes -F: arch/metag/ -F: Documentation/metag/ -F: Documentation/devicetree/bindings/metag/ -F: Documentation/devicetree/bindings/interrupt-controller/img,* -F: drivers/clocksource/metag_generic.c -F: drivers/irqchip/irq-metag.c -F: drivers/irqchip/irq-metag-ext.c -F: drivers/tty/metag_da.c - MICROBLAZE ARCHITECTURE M: Michal Simek <[email protected]> W: http://www.monstr.eu/fdt/
Signature · 1 line
2.13.6
PATCH 9/13 pinctrl: Drop TZ1090 drivers
In reply to James HoganNow that arch/metag/ has been removed, along with TZ1090 SoC support, remove the TZ1090 pinctrl drivers. They are of no value without the architecture and SoC platform code.
--- .../bindings/pinctrl/img,tz1090-pdc-pinctrl.txt | 127 -- .../bindings/pinctrl/img,tz1090-pinctrl.txt | 227 --- drivers/pinctrl/Kconfig | 12 - drivers/pinctrl/Makefile | 2 - drivers/pinctrl/pinctrl-tz1090-pdc.c | 989 ---------- drivers/pinctrl/pinctrl-tz1090.c | 2005 -------------------- 6 files changed, 3362 deletions(-) delete mode 100644 Documentation/devicetree/bindings/pinctrl/img,tz1090-pdc-pinctrl.txt delete mode 100644 Documentation/devicetree/bindings/pinctrl/img,tz1090-pinctrl.txt delete mode 100644 drivers/pinctrl/pinctrl-tz1090-pdc.c delete mode 100644 drivers/pinctrl/pinctrl-tz1090.c
Documentation/devicetree/bindings/pinctrl/img,tz1090-pdc-pinctrl.txt deleted +0 -0
Documentation/devicetree/bindings/pinctrl/img,tz1090-pinctrl.txt deleted +0 -0
drivers/pinctrl/Kconfig +0 -12
@@ -263,18 +263,6 @@ config PINCTRL_ST select PINCONF select GPIOLIB_IRQCHIP -config PINCTRL_TZ1090 - bool "Toumaz Xenif TZ1090 pin control driver" - depends on SOC_TZ1090 - select PINMUX - select GENERIC_PINCONF - -config PINCTRL_TZ1090_PDC - bool "Toumaz Xenif TZ1090 PDC pin control driver" - depends on SOC_TZ1090 - select PINMUX - select PINCONF - config PINCTRL_U300 bool "U300 pin controller driver" depends on ARCH_U300
drivers/pinctrl/Makefile +0 -2
@@ -34,8 +34,6 @@ obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o obj-$(CONFIG_PINCTRL_SIRF) += sirf/ obj-$(CONFIG_PINCTRL_SX150X) += pinctrl-sx150x.o obj-$(CONFIG_ARCH_TEGRA) += tegra/ -obj-$(CONFIG_PINCTRL_TZ1090) += pinctrl-tz1090.o -obj-$(CONFIG_PINCTRL_TZ1090_PDC) += pinctrl-tz1090-pdc.o obj-$(CONFIG_PINCTRL_U300) += pinctrl-u300.o obj-$(CONFIG_PINCTRL_COH901) += pinctrl-coh901.o obj-$(CONFIG_PINCTRL_XWAY) += pinctrl-xway.o
drivers/pinctrl/pinctrl-tz1090-pdc.c deleted +0 -0
drivers/pinctrl/pinctrl-tz1090.c deleted +0 -0
Signature · 1 line
2.13.6
Re: [PATCH 09/13] pinctrl: Drop TZ1090 drivers
Quoted 8 lines · James Hogan
Now that
arch/metag/has been removed, along with TZ1090 SoC support, remove the TZ1090 pinctrl drivers. They are of no value without the architecture and SoC platform code.Signed-off-by James Hogan <[email protected]>Cc Linus Walleij <[email protected]>
Patch applied.
Yours,
Linus Walleij
PATCH 10/13 gpio: Drop TZ1090 drivers
In reply to James HoganNow that arch/metag/ has been removed, along with TZ1090 SoC support, remove the TZ1090 GPIO drivers. They are of no value without the architecture and SoC platform code.
--- .../devicetree/bindings/gpio/gpio-tz1090-pdc.txt | 45 -- .../devicetree/bindings/gpio/gpio-tz1090.txt | 88 --- drivers/gpio/Kconfig | 15 - drivers/gpio/Makefile | 2 - drivers/gpio/gpio-tz1090-pdc.c | 231 -------- drivers/gpio/gpio-tz1090.c | 602 --------------------- 6 files changed, 983 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tz1090-pdc.txt delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tz1090.txt delete mode 100644 drivers/gpio/gpio-tz1090-pdc.c delete mode 100644 drivers/gpio/gpio-tz1090.c
Documentation/devicetree/bindings/gpio/gpio-tz1090-pdc.txt deleted +0 -0
Documentation/devicetree/bindings/gpio/gpio-tz1090.txt deleted +0 -0
drivers/gpio/Kconfig +0 -15
@@ -462,21 +462,6 @@ config GPIO_THUNDERX Say yes here to support the on-chip GPIO lines on the ThunderX and OCTEON-TX families of SoCs. -config GPIO_TZ1090 - bool "Toumaz Xenif TZ1090 GPIO support" - depends on SOC_TZ1090 - select GENERIC_IRQ_CHIP - default y - help - Say yes here to support Toumaz Xenif TZ1090 GPIOs. - -config GPIO_TZ1090_PDC - bool "Toumaz Xenif TZ1090 PDC GPIO support" - depends on SOC_TZ1090 - default y - help - Say yes here to support Toumaz Xenif TZ1090 PDC GPIOs. - config GPIO_UNIPHIER tristate "UniPhier GPIO support" depends on ARCH_UNIPHIER || COMPILE_TEST
drivers/gpio/Makefile +0 -2
@@ -131,8 +131,6 @@ obj-$(CONFIG_GPIO_TS4900) += gpio-ts4900.o obj-$(CONFIG_GPIO_TS5500) += gpio-ts5500.o obj-$(CONFIG_GPIO_TWL4030) += gpio-twl4030.o obj-$(CONFIG_GPIO_TWL6040) += gpio-twl6040.o -obj-$(CONFIG_GPIO_TZ1090) += gpio-tz1090.o -obj-$(CONFIG_GPIO_TZ1090_PDC) += gpio-tz1090-pdc.o obj-$(CONFIG_GPIO_UCB1400) += gpio-ucb1400.o obj-$(CONFIG_GPIO_UNIPHIER) += gpio-uniphier.o obj-$(CONFIG_GPIO_VF610) += gpio-vf610.o
drivers/gpio/gpio-tz1090-pdc.c deleted +0 -0
drivers/gpio/gpio-tz1090.c deleted +0 -0
Signature · 1 line
2.13.6
Re: [PATCH 10/13] gpio: Drop TZ1090 drivers
Quoted 8 lines · James Hogan
Now that
arch/metag/has been removed, along with TZ1090 SoC support, remove the TZ1090 GPIO drivers. They are of no value without the architecture and SoC platform code.Signed-off-by James Hogan <[email protected]>Cc Linus Walleij <[email protected]>
Patch applied.
Yours,
Linus Walleij
PATCH 11/13 watchdog: imgpdc: Drop METAG dependency
In reply to James HoganNow that arch/metag/ has been removed, remove the METAG dependency from the IMG IR device driver. The hardware is also present on MIPS SoCs so the driver still has value.
--- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/Kconfig +1 -1
@@ -1602,7 +1602,7 @@ config BCM7038_WDT config IMGPDC_WDT tristate "Imagination Technologies PDC Watchdog Timer" depends on HAS_IOMEM - depends on METAG || MIPS || COMPILE_TEST + depends on MIPS || COMPILE_TEST select WATCHDOG_CORE help Driver for Imagination Technologies PowerDown Controller
Signature · 1 line
2.13.6
Re: [PATCH 11/13] watchdog: imgpdc: Drop METAG dependency
Quoted 9 lines · James Hogan
Now that
arch/metag/has been removed, remove the METAG dependency from the IMG IR device driver. The hardware is also present on MIPS SoCs so the driver still has value.Signed-off-by James Hogan <[email protected]>Cc Wim Van Sebroeck <[email protected]>Cc Guenter Roeck <[email protected]>
Quoted 18 lines
--- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/watchdog/Kconfig +1
-1@@ -1602,7 +1602,7 @@ config BCM7038_WDT config IMGPDC_WDT tristate "Imagination Technologies PDC Watchdog Timer" depends on HAS_IOMEM - depends on METAG || MIPS || COMPILE_TEST + depends on MIPS || COMPILE_TEST select WATCHDOG_CORE help Driver for Imagination Technologies PowerDown Controller
PATCH 12/13 media: img-ir: Drop METAG dependency
In reply to James HoganNow that arch/metag/ has been removed, remove the METAG dependency from the IMG IR device driver. The hardware is also present on MIPS SoCs so the driver still has value.
--- drivers/media/rc/img-ir/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/rc/img-ir/Kconfig +1 -1
@@ -1,7 +1,7 @@ config IR_IMG tristate "ImgTec IR Decoder" depends on RC_CORE - depends on METAG || MIPS || COMPILE_TEST + depends on MIPS || COMPILE_TEST select IR_IMG_HW if !IR_IMG_RAW help Say Y or M here if you want to use the ImgTec infrared decoder
Signature · 1 line
2.13.6
Re: [PATCH 12/13] media: img-ir: Drop METAG dependency
Quoted 9 lines · James Hogan
Now that
arch/metag/has been removed, remove the METAG dependency from the IMG IR device driver. The hardware is also present on MIPS SoCs so the driver still has value.Signed-off-by James Hogan <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>
Quoted 19 lines
--- drivers/media/rc/img-ir/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/rc/img-ir/Kconfig +1
-1@@ -1,7 +1,7 @@ config IR_IMG tristate "ImgTec IR Decoder" depends on RC_CORE - depends on METAG || MIPS || COMPILE_TEST + depends on MIPS || COMPILE_TEST select IR_IMG_HW if !IR_IMG_RAW help Say Y or M here if you want to use the ImgTec infrared decoderSignature · 1 line
2.13.6
PATCH 13/13 i2c: img-scb: Drop METAG dependency
In reply to James HoganNow that arch/metag/ has been removed, remove the METAG dependency from the IMG SCB I2C device driver. The hardware is also present on MIPS SoCs so the driver still has value.
--- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
@@ -635,7 +635,7 @@ config I2C_IBM_IIC config I2C_IMG tristate "Imagination Technologies I2C SCB Controller" - depends on MIPS || METAG || COMPILE_TEST + depends on MIPS || COMPILE_TEST help Say Y here if you want to use the IMG I2C SCB controller, available on the TZ1090 and other IMG SoCs.
Signature · 1 line
2.13.6
Re: [PATCH 13/13] i2c: img-scb: Drop METAG dependency
Quoted 5 lines · James Hogan
Now that
arch/metag/has been removed, remove the METAG dependency from the IMG SCB I2C device driver. The hardware is also present on MIPS SoCs so the driver still has value.Signed-off-by James Hogan <[email protected]>
I'd think it should go with the rest of this series? For that:
Let me know if I should rather pick this up individually.
Re: [PATCH 13/13] i2c: img-scb: Drop METAG dependency
Quoted 5 lines · Wolfram Sang
Quoted 4 lines · James Hogan
Now that
arch/metag/has been removed, remove the METAG dependency from the IMG SCB I2C device driver. The hardware is also present on MIPS SoCs so the driver still has value.
Quoted 7 lines
Quoted 1 line
Signed-off-by James Hogan <[email protected]>I'd think it should go with the rest of this series? For that:
Acked-by Wolfram Sang <[email protected]>Let me know if I should rather pick this up individually.
Yes, I'll take this with the others.
Thanks
James
Quoted 2 lines · James Hogan
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
So long, and thanks for all the fish!
Nice cleanup though, most welcome :-)
Quoted 7 lines · Peter Zijlstra
Quoted 2 lines · James Hogan
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
So long, and thanks for all the fish!
Nice cleanup though, most welcome :-)
I thought you might like it ;-)
Quoted 1 line
Thanks
James
Graham Whaley
Acked-byQuoted 7 lines · James Hogan
Quoted 6 lines · Peter Zijlstra
Quoted 2 lines · James Hogan
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
So long, and thanks for all the fish!
Quoted 8 lines
Quoted 1 line
Nice cleanup though, most welcome :-)
I thought you might like it ;-)
Quoted 1 line
Thanks
James
RIP indeed. As I sit here listening to my META powered radio.... for the series in general:
Quoted 21 lines · James Hogan
These patches remove the metag architecture and tightly dependent drivers from the kernel. With the 4.16 kernel the ancient gcc 4.2.4 based metag toolchain we have been using is hitting compiler bugs, so now seems a good time to drop it altogether.
Quoting from patch 1:
The earliest Meta architecture port of Linux I have a record of was an import of a Meta port of Linux v2.4.1 in February 2004, which was worked on significantly over the next few years by Graham Whaley, Will Newton, Matt Fleming, myself and others.
Eventually the port was merged into mainline in v3.9 in March 2013, not long after Imagination Technologies bought MIPS Technologies and shifted its CPU focus over to the MIPS architecture.
As a result, though the port was maintained for a while, kept on life support for a while longer, and useful for testing a few specific drivers for which I don't have ready access to the equivalent MIPS hardware, it is now essentially dead with no users.
Quoted 8 lines
It is also stuck using an out-of-tree toolchain based on GCC 4.2.4 which is no longer maintained, now struggles to build modern kernels due to toolchain bugs, and doesn't itself build with a modern GCC. The latest buildroot port is still using an old uClibc snapshot which is no longer served, and the latest uClibc doesn't build with GCC 4.2.4.
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
Since I brought up the architecture removal independently, I could pick this up into a git tree that also has the removal of some of the other architectures.
I see your tree is part of linux-next, so you could also just put it in there and send a pull request at the merge window if you prefer.
The only real reason I see for a shared git tree would be to avoid conflicts when we touch the same Kconfig files or #ifdefs in driver, but Meta only appears in
config FRAME_POINTER
bool "Compile the kernel with frame pointers"
depends on DEBUG_KERNEL && \
(CRIS || M68K || FRV || UML || \
SUPERH || BLACKFIN || MN10300 || METAG) || \
ARCH_WANT_FRAME_POINTERSand
include/trace/events/mmflags.h:#elif defined(CONFIG_PARISC) || defined(CONFIG_METAG) || defined(CONFIG_IA64)
so there is little risk.
Arnd
Quoted 22 lines · Arnd Bergmann
Quoted 2 lines · James Hogan
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
Since I brought up the architecture removal independently, I could pick this up into a git tree that also has the removal of some of the other architectures.
I see your tree is part of linux-next, so you could also just put it in there and send a pull request at the merge window if you prefer.
The only real reason I see for a shared git tree would be to avoid conflicts when we touch the same
Kconfigfiles or #ifdefs in driver, but Meta only appears inconfig
FRAME_POINTERbool "Compile the kernel with frame pointers" depends on DEBUG_KERNEL && \ (CRIS || M68K || FRV || UML || \ SUPERH || BLACKFIN || MN10300 || METAG) || \ ARCH_WANT_FRAME_POINTERS
Quoted 6 lines
and
include/trace/events/mmflags.h:#elif
defined(CONFIG_PARISC)||defined(CONFIG_METAG)||defined(CONFIG_IA64)so there is little risk.
I'm happy to put v2 in linux-next now (only patch 4 has changed, I just sent an updated version), and send you a pull request early next week so you can take it from there. The patches can't be directly applied with git-am anyway thanks to the -D option to make them more concise.
Sound okay?
Thanks
James
Quoted 28 lines · James Hogan
Quoted 27 lines · Arnd Bergmann
Quoted 2 lines · James Hogan
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
Since I brought up the architecture removal independently, I could pick this up into a git tree that also has the removal of some of the other architectures.
I see your tree is part of linux-next, so you could also just put it in there and send a pull request at the merge window if you prefer.
The only real reason I see for a shared git tree would be to avoid conflicts when we touch the same
Kconfigfiles or #ifdefs in driver, but Meta only appears inconfig
FRAME_POINTERbool "Compile the kernel with frame pointers" depends on DEBUG_KERNEL && \ (CRIS || M68K || FRV || UML || \ SUPERH || BLACKFIN || MN10300 || METAG) || \ ARCH_WANT_FRAME_POINTERSand
include/trace/events/mmflags.h:#elif
defined(CONFIG_PARISC)||defined(CONFIG_METAG)||defined(CONFIG_IA64)
Quoted 8 lines
Quoted 1 line
so there is little risk.
I'm happy to put v2 in linux-next now (only patch 4 has changed, I just sent an updated version), and send you a pull request early next week so you can take it from there. The patches can't be directly applied with git-am anyway thanks to the -D option to make them more concise.
Sound okay?
Yes, sounds good, thanks!
Arnd
Hi Arnd,
Quoted 9 lines · Arnd Bergmann
Quoted 6 lines · James Hogan
I'm happy to put v2 in linux-next now (only patch 4 has changed, I just sent an updated version), and send you a pull request early next week so you can take it from there. The patches can't be directly applied with git-am anyway thanks to the -D option to make them more concise.
Sound okay?
Yes, sounds good, thanks!
As discussed, here is a tagged branch to remove arch/metag and dependent drivers. Its basically v2 with some acks added.
Cheers
James
The following changes since commit 91ab883eb21325ad80f3473633f794c78ac87f51:
Linux 4.16-rc2 (2018-02-18 17:29:42 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag.git tags/metag_remove
for you to fetch changes up to ef9fb83815db7d7e03da9a0904b4ef352e633922:
i2c: img-scb: Drop METAG dependency (2018-02-26 14:58:09 +0000)
----------------------------------------------------------------
Remove metag architecture
These patches remove the metag architecture and tightly dependent drivers from the kernel. With the 4.16 kernel the ancient gcc 4.2.4 based metag toolchain we have been using is hitting compiler bugs, so now seems a good time to drop it altogether.
----------------------------------------------------------------
James Hogan (13):
metag: Remove arch/metag/
docs: Remove metag docs
docs: Remove remaining references to metag Drop a bunch of metag references
irqchip: Remove metag irqchip drivers
clocksource: Remove metag generic timer driver
tty: Remove metag DA TTY and console driver MAINTAINERS/CREDITS: Drop METAG ARCHITECTURE
pinctrl: Drop TZ1090 drivers
gpio: Drop TZ1090 drivers
watchdog: imgpdc: Drop METAG dependency
media: img-ir: Drop METAG dependency
i2c: img-scb: Drop METAG dependency
CREDITS | 5 + Documentation/00-INDEX | 2 - Documentation/admin-guide/kernel-parameters.txt | 4 - Documentation/dev-tools/kmemleak.rst | 2 +- .../devicetree/bindings/gpio/gpio-tz1090-pdc.txt | 45 - .../devicetree/bindings/gpio/gpio-tz1090.txt | 88 - Documentation/devicetree/bindings/metag/meta.txt | 30 - .../bindings/pinctrl/img,tz1090-pdc-pinctrl.txt | 127 -- .../bindings/pinctrl/img,tz1090-pinctrl.txt | 227 --- .../features/core/BPF-JIT/arch-support.txt | 1 - .../core/generic-idle-thread/arch-support.txt | 1 - .../features/core/jump-labels/arch-support.txt | 1 - .../features/core/tracehook/arch-support.txt | 1 - .../features/debug/KASAN/arch-support.txt | 1 - .../debug/gcov-profile-all/arch-support.txt | 1 - Documentation/features/debug/kgdb/arch-support.txt | 1 - .../debug/kprobes-on-ftrace/arch-support.txt | 1 - .../features/debug/kprobes/arch-support.txt | 1 - .../features/debug/kretprobes/arch-support.txt | 1 - .../features/debug/optprobes/arch-support.txt | 1 - .../features/debug/stackprotector/arch-support.txt | 1 - .../features/debug/uprobes/arch-support.txt | 1 - .../debug/user-ret-profiler/arch-support.txt | 1 - .../features/io/dma-api-debug/arch-support.txt | 1 - .../features/io/dma-contiguous/arch-support.txt | 1 - .../features/io/sg-chain/arch-support.txt | 1 - .../features/lib/strncasecmp/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 - .../locking/rwsem-optimized/arch-support.txt | 1 - .../features/perf/kprobes-event/arch-support.txt | 1 - .../features/perf/perf-regs/arch-support.txt | 1 - .../features/perf/perf-stackdump/arch-support.txt | 1 - .../sched/membarrier-sync-core/arch-support.txt | 1 - .../features/sched/numa-balancing/arch-support.txt | 1 - .../seccomp/seccomp-filter/arch-support.txt | 1 - .../time/arch-tick-broadcast/arch-support.txt | 1 - .../features/time/clockevents/arch-support.txt | 1 - .../time/context-tracking/arch-support.txt | 1 - .../features/time/irq-time-acct/arch-support.txt | 1 - .../time/modern-timekeeping/arch-support.txt | 1 - .../features/time/virt-cpuacct/arch-support.txt | 1 - .../features/vm/ELF-ASLR/arch-support.txt | 1 - .../features/vm/PG_uncached/arch-support.txt | 1 - Documentation/features/vm/THP/arch-support.txt | 1 - Documentation/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/numa-memblock/arch-support.txt | 1 - .../features/vm/pte_special/arch-support.txt | 1 - Documentation/metag/00-INDEX | 4 - Documentation/metag/kernel-ABI.txt | 256 --- MAINTAINERS | 14 - arch/metag/Kconfig | 287 --- arch/metag/Kconfig.debug | 34 - arch/metag/Kconfig.soc | 69 - arch/metag/Makefile | 89 - arch/metag/boot/.gitignore | 3 - arch/metag/boot/Makefile | 68 - arch/metag/boot/dts/Makefile | 16 - arch/metag/boot/dts/skeleton.dts | 10 - arch/metag/boot/dts/skeleton.dtsi | 15 - arch/metag/boot/dts/tz1090.dtsi | 108 -- arch/metag/boot/dts/tz1090_generic.dts | 10 - arch/metag/configs/meta1_defconfig | 39 - arch/metag/configs/meta2_defconfig | 40 - arch/metag/configs/meta2_smp_defconfig | 41 - arch/metag/configs/tz1090_defconfig | 42 - arch/metag/include/asm/Kbuild | 33 - arch/metag/include/asm/atomic.h | 49 - arch/metag/include/asm/atomic_lnkget.h | 204 -- arch/metag/include/asm/atomic_lock1.h | 157 -- arch/metag/include/asm/barrier.h | 85 - arch/metag/include/asm/bitops.h | 127 -- arch/metag/include/asm/bug.h | 13 - arch/metag/include/asm/cache.h | 24 - arch/metag/include/asm/cacheflush.h | 251 --- arch/metag/include/asm/cachepart.h | 43 - arch/metag/include/asm/checksum.h | 93 - arch/metag/include/asm/clock.h | 59 - arch/metag/include/asm/cmpxchg.h | 64 - arch/metag/include/asm/cmpxchg_irq.h | 43 - arch/metag/include/asm/cmpxchg_lnkget.h | 87 - arch/metag/include/asm/cmpxchg_lock1.h | 49 - arch/metag/include/asm/core_reg.h | 36 - arch/metag/include/asm/cpu.h | 15 - arch/metag/include/asm/da.h | 44 - arch/metag/include/asm/delay.h | 30 - arch/metag/include/asm/div64.h | 13 - arch/metag/include/asm/dma-mapping.h | 12 - arch/metag/include/asm/elf.h | 126 -- arch/metag/include/asm/fixmap.h | 69 - arch/metag/include/asm/ftrace.h | 24 - arch/metag/include/asm/global_lock.h | 101 - arch/metag/include/asm/highmem.h | 62 - arch/metag/include/asm/hugetlb.h | 75 - arch/metag/include/asm/hwthread.h | 41 - arch/metag/include/asm/io.h | 170 -- arch/metag/include/asm/irq.h | 38 - arch/metag/include/asm/irqflags.h | 94 - arch/metag/include/asm/l2cache.h | 259 --- arch/metag/include/asm/linkage.h | 8 - arch/metag/include/asm/mach/arch.h | 86 - arch/metag/include/asm/metag_isa.h | 81 - arch/metag/include/asm/metag_mem.h | 1109 ----------- arch/metag/include/asm/metag_regs.h | 1184 ------------ arch/metag/include/asm/mman.h | 12 - arch/metag/include/asm/mmu.h | 78 - arch/metag/include/asm/mmu_context.h | 115 -- arch/metag/include/asm/mmzone.h | 43 - arch/metag/include/asm/module.h | 38 - arch/metag/include/asm/page.h | 129 -- arch/metag/include/asm/perf_event.h | 4 - arch/metag/include/asm/pgalloc.h | 83 - arch/metag/include/asm/pgtable-bits.h | 105 - arch/metag/include/asm/pgtable.h | 270 --- arch/metag/include/asm/processor.h | 201 -- arch/metag/include/asm/ptrace.h | 61 - arch/metag/include/asm/setup.h | 10 - arch/metag/include/asm/smp.h | 28 - arch/metag/include/asm/sparsemem.h | 14 - arch/metag/include/asm/spinlock.h | 19 - arch/metag/include/asm/spinlock_lnkget.h | 213 --- arch/metag/include/asm/spinlock_lock1.h | 165 -- arch/metag/include/asm/spinlock_types.h | 21 - arch/metag/include/asm/stacktrace.h | 21 - arch/metag/include/asm/string.h | 14 - arch/metag/include/asm/switch.h | 21 - arch/metag/include/asm/syscall.h | 104 - arch/metag/include/asm/syscalls.h | 40 - arch/metag/include/asm/tbx.h | 1420 -------------- arch/metag/include/asm/tcm.h | 31 - arch/metag/include/asm/thread_info.h | 141 -- arch/metag/include/asm/tlb.h | 37 - arch/metag/include/asm/tlbflush.h | 78 - arch/metag/include/asm/topology.h | 28 - arch/metag/include/asm/traps.h | 48 - arch/metag/include/asm/uaccess.h | 213 --- arch/metag/include/asm/unistd.h | 12 - arch/metag/include/asm/user_gateway.h | 45 - arch/metag/include/uapi/asm/Kbuild | 31 - arch/metag/include/uapi/asm/byteorder.h | 2 - arch/metag/include/uapi/asm/ech.h | 16 - arch/metag/include/uapi/asm/ptrace.h | 114 -- arch/metag/include/uapi/asm/sigcontext.h | 32 - arch/metag/include/uapi/asm/siginfo.h | 16 - arch/metag/include/uapi/asm/swab.h | 27 - arch/metag/include/uapi/asm/unistd.h | 24 - arch/metag/kernel/.gitignore | 1 - arch/metag/kernel/Makefile | 40 - arch/metag/kernel/asm-offsets.c | 15 - arch/metag/kernel/cachepart.c | 132 -- arch/metag/kernel/clock.c | 110 -- arch/metag/kernel/core_reg.c | 118 -- arch/metag/kernel/da.c | 25 - arch/metag/kernel/devtree.c | 57 - arch/metag/kernel/dma.c | 588 ------ arch/metag/kernel/ftrace.c | 121 -- arch/metag/kernel/ftrace_stub.S | 62 - arch/metag/kernel/head.S | 66 - arch/metag/kernel/irq.c | 293 --- arch/metag/kernel/kick.c | 110 -- arch/metag/kernel/machines.c | 21 - arch/metag/kernel/metag_ksyms.c | 55 - arch/metag/kernel/module.c | 284 --- arch/metag/kernel/perf/Makefile | 3 - arch/metag/kernel/perf/perf_event.c | 879 --------- arch/metag/kernel/perf/perf_event.h | 106 -- arch/metag/kernel/perf_callchain.c | 97 - arch/metag/kernel/process.c | 448 ----- arch/metag/kernel/ptrace.c | 427 ----- arch/metag/kernel/setup.c | 622 ------ arch/metag/kernel/signal.c | 336 ---- arch/metag/kernel/smp.c | 668 ------- arch/metag/kernel/stacktrace.c | 187 -- arch/metag/kernel/sys_metag.c | 181 -- arch/metag/kernel/tbiunexp.S | 23 - arch/metag/kernel/tcm.c | 152 -- arch/metag/kernel/time.c | 26 - arch/metag/kernel/topology.c | 78 - arch/metag/kernel/traps.c | 992 ---------- arch/metag/kernel/user_gateway.S | 98 - arch/metag/kernel/vmlinux.lds.S | 74 - arch/metag/lib/Makefile | 23 - arch/metag/lib/ashldi3.S | 34 - arch/metag/lib/ashrdi3.S | 34 - arch/metag/lib/checksum.c | 167 -- arch/metag/lib/clear_page.S | 18 - arch/metag/lib/cmpdi2.S | 33 - arch/metag/lib/copy_page.S | 21 - arch/metag/lib/delay.c | 57 - arch/metag/lib/div64.S | 109 -- arch/metag/lib/divsi3.S | 101 - arch/metag/lib/ip_fast_csum.S | 33 - arch/metag/lib/lshrdi3.S | 34 - arch/metag/lib/memcpy.S | 186 -- arch/metag/lib/memmove.S | 346 ---- arch/metag/lib/memset.S | 87 - arch/metag/lib/modsi3.S | 39 - arch/metag/lib/muldi3.S | 45 - arch/metag/lib/ucmpdi2.S | 28 - arch/metag/lib/usercopy.c | 1257 ------------ arch/metag/mm/Kconfig | 147 -- arch/metag/mm/Makefile | 20 - arch/metag/mm/cache.c | 521 ----- arch/metag/mm/extable.c | 15 - arch/metag/mm/fault.c | 247 --- arch/metag/mm/highmem.c | 122 -- arch/metag/mm/hugetlbpage.c | 251 --- arch/metag/mm/init.c | 408 ---- arch/metag/mm/ioremap.c | 90 - arch/metag/mm/l2cache.c | 193 -- arch/metag/mm/maccess.c | 69 - arch/metag/mm/mmu-meta1.c | 157 -- arch/metag/mm/mmu-meta2.c | 208 -- arch/metag/mm/numa.c | 82 - arch/metag/oprofile/Makefile | 18 - arch/metag/oprofile/backtrace.c | 63 - arch/metag/oprofile/backtrace.h | 7 - arch/metag/oprofile/common.c | 66 - arch/metag/tbx/Makefile | 22 - arch/metag/tbx/tbicore.S | 136 -- arch/metag/tbx/tbictx.S | 366 ---- arch/metag/tbx/tbictxfpu.S | 190 -- arch/metag/tbx/tbidefr.S | 175 -- arch/metag/tbx/tbidspram.S | 161 -- arch/metag/tbx/tbilogf.S | 48 - arch/metag/tbx/tbipcx.S | 451 ----- arch/metag/tbx/tbiroot.S | 87 - arch/metag/tbx/tbisoft.S | 237 --- arch/metag/tbx/tbistring.c | 114 -- arch/metag/tbx/tbitimer.S | 207 -- drivers/clocksource/Kconfig | 5 - drivers/clocksource/Makefile | 1 - drivers/clocksource/metag_generic.c | 161 -- drivers/gpio/Kconfig | 15 - drivers/gpio/Makefile | 2 - drivers/gpio/gpio-tz1090-pdc.c | 231 --- drivers/gpio/gpio-tz1090.c | 602 ------ drivers/i2c/busses/Kconfig | 2 +- drivers/irqchip/Makefile | 2 - drivers/irqchip/irq-metag-ext.c | 871 --------- drivers/irqchip/irq-metag.c | 343 ---- drivers/media/rc/img-ir/Kconfig | 2 +- drivers/pinctrl/Kconfig | 12 - drivers/pinctrl/Makefile | 2 - drivers/pinctrl/pinctrl-tz1090-pdc.c | 989 ---------- drivers/pinctrl/pinctrl-tz1090.c | 2005 -------------------- drivers/tty/Kconfig | 13 - drivers/tty/Makefile | 1 - drivers/tty/metag_da.c | 665 ------- drivers/watchdog/Kconfig | 2 +- include/clocksource/metag_generic.h | 21 - include/linux/cpuhotplug.h | 2 - include/linux/irqchip/metag-ext.h | 34 - include/linux/irqchip/metag.h | 25 - include/linux/mm.h | 2 - include/trace/events/mmflags.h | 2 +- include/uapi/linux/elf.h | 3 - lib/Kconfig.debug | 2 +- mm/Kconfig | 7 +- scripts/checkstack.pl | 4 - scripts/recordmcount.c | 20 - tools/perf/perf-sys.h | 4 - 266 files changed, 14 insertions(+), 31963 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tz1090-pdc.txt delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tz1090.txt delete mode 100644 Documentation/devicetree/bindings/metag/meta.txt delete mode 100644 Documentation/devicetree/bindings/pinctrl/img,tz1090-pdc-pinctrl.txt delete mode 100644 Documentation/devicetree/bindings/pinctrl/img,tz1090-pinctrl.txt delete mode 100644 Documentation/metag/00-INDEX delete mode 100644 Documentation/metag/kernel-ABI.txt delete mode 100644 arch/metag/Kconfig delete mode 100644 arch/metag/Kconfig.debug delete mode 100644 arch/metag/Kconfig.soc delete mode 100644 arch/metag/Makefile delete mode 100644 arch/metag/boot/.gitignore delete mode 100644 arch/metag/boot/Makefile delete mode 100644 arch/metag/boot/dts/Makefile delete mode 100644 arch/metag/boot/dts/skeleton.dts delete mode 100644 arch/metag/boot/dts/skeleton.dtsi delete mode 100644 arch/metag/boot/dts/tz1090.dtsi delete mode 100644 arch/metag/boot/dts/tz1090_generic.dts delete mode 100644 arch/metag/configs/meta1_defconfig delete mode 100644 arch/metag/configs/meta2_defconfig delete mode 100644 arch/metag/configs/meta2_smp_defconfig delete mode 100644 arch/metag/configs/tz1090_defconfig delete mode 100644 arch/metag/include/asm/Kbuild delete mode 100644 arch/metag/include/asm/atomic.h delete mode 100644 arch/metag/include/asm/atomic_lnkget.h delete mode 100644 arch/metag/include/asm/atomic_lock1.h delete mode 100644 arch/metag/include/asm/barrier.h delete mode 100644 arch/metag/include/asm/bitops.h delete mode 100644 arch/metag/include/asm/bug.h delete mode 100644 arch/metag/include/asm/cache.h delete mode 100644 arch/metag/include/asm/cacheflush.h delete mode 100644 arch/metag/include/asm/cachepart.h delete mode 100644 arch/metag/include/asm/checksum.h delete mode 100644 arch/metag/include/asm/clock.h delete mode 100644 arch/metag/include/asm/cmpxchg.h delete mode 100644 arch/metag/include/asm/cmpxchg_irq.h delete mode 100644 arch/metag/include/asm/cmpxchg_lnkget.h delete mode 100644 arch/metag/include/asm/cmpxchg_lock1.h delete mode 100644 arch/metag/include/asm/core_reg.h delete mode 100644 arch/metag/include/asm/cpu.h delete mode 100644 arch/metag/include/asm/da.h delete mode 100644 arch/metag/include/asm/delay.h delete mode 100644 arch/metag/include/asm/div64.h delete mode 100644 arch/metag/include/asm/dma-mapping.h delete mode 100644 arch/metag/include/asm/elf.h delete mode 100644 arch/metag/include/asm/fixmap.h delete mode 100644 arch/metag/include/asm/ftrace.h delete mode 100644 arch/metag/include/asm/global_lock.h delete mode 100644 arch/metag/include/asm/highmem.h delete mode 100644 arch/metag/include/asm/hugetlb.h delete mode 100644 arch/metag/include/asm/hwthread.h delete mode 100644 arch/metag/include/asm/io.h delete mode 100644 arch/metag/include/asm/irq.h delete mode 100644 arch/metag/include/asm/irqflags.h delete mode 100644 arch/metag/include/asm/l2cache.h delete mode 100644 arch/metag/include/asm/linkage.h delete mode 100644 arch/metag/include/asm/mach/arch.h delete mode 100644 arch/metag/include/asm/metag_isa.h delete mode 100644 arch/metag/include/asm/metag_mem.h delete mode 100644 arch/metag/include/asm/metag_regs.h delete mode 100644 arch/metag/include/asm/mman.h delete mode 100644 arch/metag/include/asm/mmu.h delete mode 100644 arch/metag/include/asm/mmu_context.h delete mode 100644 arch/metag/include/asm/mmzone.h delete mode 100644 arch/metag/include/asm/module.h delete mode 100644 arch/metag/include/asm/page.h delete mode 100644 arch/metag/include/asm/perf_event.h delete mode 100644 arch/metag/include/asm/pgalloc.h delete mode 100644 arch/metag/include/asm/pgtable-bits.h delete mode 100644 arch/metag/include/asm/pgtable.h delete mode 100644 arch/metag/include/asm/processor.h delete mode 100644 arch/metag/include/asm/ptrace.h delete mode 100644 arch/metag/include/asm/setup.h delete mode 100644 arch/metag/include/asm/smp.h delete mode 100644 arch/metag/include/asm/sparsemem.h delete mode 100644 arch/metag/include/asm/spinlock.h delete mode 100644 arch/metag/include/asm/spinlock_lnkget.h delete mode 100644 arch/metag/include/asm/spinlock_lock1.h delete mode 100644 arch/metag/include/asm/spinlock_types.h delete mode 100644 arch/metag/include/asm/stacktrace.h delete mode 100644 arch/metag/include/asm/string.h delete mode 100644 arch/metag/include/asm/switch.h delete mode 100644 arch/metag/include/asm/syscall.h delete mode 100644 arch/metag/include/asm/syscalls.h delete mode 100644 arch/metag/include/asm/tbx.h delete mode 100644 arch/metag/include/asm/tcm.h delete mode 100644 arch/metag/include/asm/thread_info.h delete mode 100644 arch/metag/include/asm/tlb.h delete mode 100644 arch/metag/include/asm/tlbflush.h delete mode 100644 arch/metag/include/asm/topology.h delete mode 100644 arch/metag/include/asm/traps.h delete mode 100644 arch/metag/include/asm/uaccess.h delete mode 100644 arch/metag/include/asm/unistd.h delete mode 100644 arch/metag/include/asm/user_gateway.h delete mode 100644 arch/metag/include/uapi/asm/Kbuild delete mode 100644 arch/metag/include/uapi/asm/byteorder.h delete mode 100644 arch/metag/include/uapi/asm/ech.h delete mode 100644 arch/metag/include/uapi/asm/ptrace.h delete mode 100644 arch/metag/include/uapi/asm/sigcontext.h delete mode 100644 arch/metag/include/uapi/asm/siginfo.h delete mode 100644 arch/metag/include/uapi/asm/swab.h delete mode 100644 arch/metag/include/uapi/asm/unistd.h delete mode 100644 arch/metag/kernel/.gitignore delete mode 100644 arch/metag/kernel/Makefile delete mode 100644 arch/metag/kernel/asm-offsets.c delete mode 100644 arch/metag/kernel/cachepart.c delete mode 100644 arch/metag/kernel/clock.c delete mode 100644 arch/metag/kernel/core_reg.c delete mode 100644 arch/metag/kernel/da.c delete mode 100644 arch/metag/kernel/devtree.c delete mode 100644 arch/metag/kernel/dma.c delete mode 100644 arch/metag/kernel/ftrace.c delete mode 100644 arch/metag/kernel/ftrace_stub.S delete mode 100644 arch/metag/kernel/head.S delete mode 100644 arch/metag/kernel/irq.c delete mode 100644 arch/metag/kernel/kick.c delete mode 100644 arch/metag/kernel/machines.c delete mode 100644 arch/metag/kernel/metag_ksyms.c delete mode 100644 arch/metag/kernel/module.c delete mode 100644 arch/metag/kernel/perf/Makefile delete mode 100644 arch/metag/kernel/perf/perf_event.c delete mode 100644 arch/metag/kernel/perf/perf_event.h delete mode 100644 arch/metag/kernel/perf_callchain.c delete mode 100644 arch/metag/kernel/process.c delete mode 100644 arch/metag/kernel/ptrace.c delete mode 100644 arch/metag/kernel/setup.c delete mode 100644 arch/metag/kernel/signal.c delete mode 100644 arch/metag/kernel/smp.c delete mode 100644 arch/metag/kernel/stacktrace.c delete mode 100644 arch/metag/kernel/sys_metag.c delete mode 100644 arch/metag/kernel/tbiunexp.S delete mode 100644 arch/metag/kernel/tcm.c delete mode 100644 arch/metag/kernel/time.c delete mode 100644 arch/metag/kernel/topology.c delete mode 100644 arch/metag/kernel/traps.c delete mode 100644 arch/metag/kernel/user_gateway.S delete mode 100644 arch/metag/kernel/vmlinux.lds.S delete mode 100644 arch/metag/lib/Makefile delete mode 100644 arch/metag/lib/ashldi3.S delete mode 100644 arch/metag/lib/ashrdi3.S delete mode 100644 arch/metag/lib/checksum.c delete mode 100644 arch/metag/lib/clear_page.S delete mode 100644 arch/metag/lib/cmpdi2.S delete mode 100644 arch/metag/lib/copy_page.S delete mode 100644 arch/metag/lib/delay.c delete mode 100644 arch/metag/lib/div64.S delete mode 100644 arch/metag/lib/divsi3.S delete mode 100644 arch/metag/lib/ip_fast_csum.S delete mode 100644 arch/metag/lib/lshrdi3.S delete mode 100644 arch/metag/lib/memcpy.S delete mode 100644 arch/metag/lib/memmove.S delete mode 100644 arch/metag/lib/memset.S delete mode 100644 arch/metag/lib/modsi3.S delete mode 100644 arch/metag/lib/muldi3.S delete mode 100644 arch/metag/lib/ucmpdi2.S delete mode 100644 arch/metag/lib/usercopy.c delete mode 100644 arch/metag/mm/Kconfig delete mode 100644 arch/metag/mm/Makefile delete mode 100644 arch/metag/mm/cache.c delete mode 100644 arch/metag/mm/extable.c delete mode 100644 arch/metag/mm/fault.c delete mode 100644 arch/metag/mm/highmem.c delete mode 100644 arch/metag/mm/hugetlbpage.c delete mode 100644 arch/metag/mm/init.c delete mode 100644 arch/metag/mm/ioremap.c delete mode 100644 arch/metag/mm/l2cache.c delete mode 100644 arch/metag/mm/maccess.c delete mode 100644 arch/metag/mm/mmu-meta1.c delete mode 100644 arch/metag/mm/mmu-meta2.c delete mode 100644 arch/metag/mm/numa.c delete mode 100644 arch/metag/oprofile/Makefile delete mode 100644 arch/metag/oprofile/backtrace.c delete mode 100644 arch/metag/oprofile/backtrace.h delete mode 100644 arch/metag/oprofile/common.c delete mode 100644 arch/metag/tbx/Makefile delete mode 100644 arch/metag/tbx/tbicore.S delete mode 100644 arch/metag/tbx/tbictx.S delete mode 100644 arch/metag/tbx/tbictxfpu.S delete mode 100644 arch/metag/tbx/tbidefr.S delete mode 100644 arch/metag/tbx/tbidspram.S delete mode 100644 arch/metag/tbx/tbilogf.S delete mode 100644 arch/metag/tbx/tbipcx.S delete mode 100644 arch/metag/tbx/tbiroot.S delete mode 100644 arch/metag/tbx/tbisoft.S delete mode 100644 arch/metag/tbx/tbistring.c delete mode 100644 arch/metag/tbx/tbitimer.S delete mode 100644 drivers/clocksource/metag_generic.c delete mode 100644 drivers/gpio/gpio-tz1090-pdc.c delete mode 100644 drivers/gpio/gpio-tz1090.c delete mode 100644 drivers/irqchip/irq-metag-ext.c delete mode 100644 drivers/irqchip/irq-metag.c delete mode 100644 drivers/pinctrl/pinctrl-tz1090-pdc.c delete mode 100644 drivers/pinctrl/pinctrl-tz1090.c delete mode 100644 drivers/tty/metag_da.c delete mode 100644 include/clocksource/metag_generic.h delete mode 100644 include/linux/irqchip/metag-ext.h delete mode 100644 include/linux/irqchip/metag.h
Quoted 21 lines · James Hogan
These patches remove the metag architecture and tightly dependent drivers from the kernel. With the 4.16 kernel the ancient gcc 4.2.4 based metag toolchain we have been using is hitting compiler bugs, so now seems a good time to drop it altogether.
Quoting from patch 1:
The earliest Meta architecture port of Linux I have a record of was an import of a Meta port of Linux v2.4.1 in February 2004, which was worked on significantly over the next few years by Graham Whaley, Will Newton, Matt Fleming, myself and others.
Eventually the port was merged into mainline in v3.9 in March 2013, not long after Imagination Technologies bought MIPS Technologies and shifted its CPU focus over to the MIPS architecture.
As a result, though the port was maintained for a while, kept on life support for a while longer, and useful for testing a few specific drivers for which I don't have ready access to the equivalent MIPS hardware, it is now essentially dead with no users.
Quoted 8 lines
It is also stuck using an out-of-tree toolchain based on GCC 4.2.4 which is no longer maintained, now struggles to build modern kernels due to toolchain bugs, and doesn't itself build with a modern GCC. The latest buildroot port is still using an old uClibc snapshot which is no longer served, and the latest uClibc doesn't build with GCC 4.2.4.
So lets call it a day and drop the Meta architecture port from the kernel. RIP Meta.
I've pulled it into my asm-generic tree now, which is also part of linux-next, and followed up with patches removing frv, m32r, score, unicore32 and blackfin. I have not removed the device drivers yet, but I'm working on that.
Arnd