Skip to contentSkip to conversation

Remove metag architecture

PATCH In review James Hogan 12 participants 37 messages Feb 21, 2018 – Mar 7, 2018

Subsystems (27)
lore
Share & tools
lore
#0 lore raw

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.

Cc Guenter Roeck <[email protected]>
Cc Jonathan Corbet <[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]>
Cc Thomas Gleixner <[email protected]>
Cc Jason Cooper <[email protected]>
Cc Marc Zyngier <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Jiri Slaby <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Wim Van Sebroeck <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Wolfram Sang <[email protected]>

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
#1 lore raw

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
deleted file mode 100644
index c7b62a339539..000000000000
arch/metag/Kconfig.debug deleted +0 -0
deleted file mode 100644
index ac4516c605db..000000000000
arch/metag/Kconfig.soc deleted +0 -0
deleted file mode 100644
index c521f0e00d8e..000000000000
arch/metag/Makefile deleted +0 -0
deleted file mode 100644
index 033a58214119..000000000000
arch/metag/boot/.gitignore deleted +0 -0
deleted file mode 100644
index 6c662ddb909a..000000000000
arch/metag/boot/Makefile deleted +0 -0
deleted file mode 100644
index 5a1f88cf91e3..000000000000
arch/metag/boot/dts/Makefile deleted +0 -0
deleted file mode 100644
index f0a180f62766..000000000000
arch/metag/boot/dts/skeleton.dts deleted +0 -0
deleted file mode 100644
index 7a49aeb365d0..000000000000
arch/metag/boot/dts/skeleton.dtsi deleted +0 -0
deleted file mode 100644
index 43e2ffe73c27..000000000000
arch/metag/boot/dts/tz1090.dtsi deleted +0 -0
deleted file mode 100644
index 24ea7d2e9138..000000000000
arch/metag/boot/dts/tz1090_generic.dts deleted +0 -0
deleted file mode 100644
index f96090955964..000000000000
arch/metag/configs/meta1_defconfig deleted +0 -0
deleted file mode 100644
index 01cd67e4403d..000000000000
arch/metag/configs/meta2_defconfig deleted +0 -0
deleted file mode 100644
index 643392ba7ed5..000000000000
arch/metag/configs/meta2_smp_defconfig deleted +0 -0
deleted file mode 100644
index f3306737da20..000000000000
arch/metag/configs/tz1090_defconfig deleted +0 -0
deleted file mode 100644
index 9f9316a6df27..000000000000
arch/metag/include/asm/Kbuild deleted +0 -0
deleted file mode 100644
index 913c779979df..000000000000
arch/metag/include/asm/atomic.h deleted +0 -0
deleted file mode 100644
index 97ae189c2dd8..000000000000
arch/metag/include/asm/atomic_lnkget.h deleted +0 -0
deleted file mode 100644
index 17e8c61c946d..000000000000
arch/metag/include/asm/atomic_lock1.h deleted +0 -0
deleted file mode 100644
index 2ce8fa3a79c2..000000000000
arch/metag/include/asm/barrier.h deleted +0 -0
deleted file mode 100644
index 2661fec5696a..000000000000
arch/metag/include/asm/bitops.h deleted +0 -0
deleted file mode 100644
index 766ad43010ad..000000000000
arch/metag/include/asm/bug.h deleted +0 -0
deleted file mode 100644
index ee07a943f931..000000000000
arch/metag/include/asm/cache.h deleted +0 -0
deleted file mode 100644
index b5df02239c8d..000000000000
arch/metag/include/asm/cacheflush.h deleted +0 -0
deleted file mode 100644
index 2584a51eca1a..000000000000
arch/metag/include/asm/cachepart.h deleted +0 -0
deleted file mode 100644
index 79411e977586..000000000000
arch/metag/include/asm/checksum.h deleted +0 -0
deleted file mode 100644
index 6533d14e9789..000000000000
arch/metag/include/asm/clock.h deleted +0 -0
deleted file mode 100644
index ded4ab2e1fd0..000000000000
arch/metag/include/asm/cmpxchg.h deleted +0 -0
deleted file mode 100644
index 68c4ab1466fd..000000000000
arch/metag/include/asm/cmpxchg_irq.h deleted +0 -0
deleted file mode 100644
index 5255e37f8496..000000000000
arch/metag/include/asm/cmpxchg_lnkget.h deleted +0 -0
deleted file mode 100644
index c69be00a4739..000000000000
arch/metag/include/asm/cmpxchg_lock1.h deleted +0 -0
deleted file mode 100644
index 5976e39db2b4..000000000000
arch/metag/include/asm/core_reg.h deleted +0 -0
deleted file mode 100644
index ca70a0a29b61..000000000000
arch/metag/include/asm/cpu.h deleted +0 -0
deleted file mode 100644
index 9dac67de4748..000000000000
arch/metag/include/asm/da.h deleted +0 -0
deleted file mode 100644
index 901daa540e6e..000000000000
arch/metag/include/asm/delay.h deleted +0 -0
deleted file mode 100644
index fd73d3d5d294..000000000000
arch/metag/include/asm/div64.h deleted +0 -0
deleted file mode 100644
index e3686d2ae20e..000000000000
arch/metag/include/asm/dma-mapping.h deleted +0 -0
deleted file mode 100644
index cfd6a0505b56..000000000000
arch/metag/include/asm/elf.h deleted +0 -0
deleted file mode 100644
index a6c33800ba66..000000000000
arch/metag/include/asm/fixmap.h deleted +0 -0
deleted file mode 100644
index af621b041739..000000000000
arch/metag/include/asm/ftrace.h deleted +0 -0
deleted file mode 100644
index b1c8c76fb772..000000000000
arch/metag/include/asm/global_lock.h deleted +0 -0
deleted file mode 100644
index 4d3da9682233..000000000000
arch/metag/include/asm/highmem.h deleted +0 -0
deleted file mode 100644
index 8b0dfd684e15..000000000000
arch/metag/include/asm/hugetlb.h deleted +0 -0
deleted file mode 100644
index 1607363d2639..000000000000
arch/metag/include/asm/hwthread.h deleted +0 -0
deleted file mode 100644
index 8d2171da5414..000000000000
arch/metag/include/asm/io.h deleted +0 -0
deleted file mode 100644
index 71cd2bc54718..000000000000
arch/metag/include/asm/irq.h deleted +0 -0
deleted file mode 100644
index cb02c29935a4..000000000000
arch/metag/include/asm/irqflags.h deleted +0 -0
deleted file mode 100644
index e2fe34acb93b..000000000000
arch/metag/include/asm/l2cache.h deleted +0 -0
deleted file mode 100644
index f260b158b8fe..000000000000
arch/metag/include/asm/linkage.h deleted +0 -0
deleted file mode 100644
index 3a9024ecb827..000000000000
arch/metag/include/asm/mach/arch.h deleted +0 -0
deleted file mode 100644
index 433f94624fa2..000000000000
arch/metag/include/asm/metag_isa.h deleted +0 -0
deleted file mode 100644
index c8aa2ae3899f..000000000000
arch/metag/include/asm/metag_mem.h deleted +0 -0
deleted file mode 100644
index 7848bc6d3b61..000000000000
arch/metag/include/asm/metag_regs.h deleted +0 -0
deleted file mode 100644
index 60b750971d8a..000000000000
arch/metag/include/asm/mman.h deleted +0 -0
deleted file mode 100644
index dcb0d20a64fd..000000000000
arch/metag/include/asm/mmu.h deleted +0 -0
deleted file mode 100644
index cab5a01c3dcb..000000000000
arch/metag/include/asm/mmu_context.h deleted +0 -0
deleted file mode 100644
index 7b4766379622..000000000000
arch/metag/include/asm/mmzone.h deleted +0 -0
deleted file mode 100644
index 8627fb532206..000000000000
arch/metag/include/asm/module.h deleted +0 -0
deleted file mode 100644
index e957171c320b..000000000000
arch/metag/include/asm/page.h deleted +0 -0
deleted file mode 100644
index 9e994d77069d..000000000000
arch/metag/include/asm/perf_event.h deleted +0 -0
deleted file mode 100644
index 105bbff0149f..000000000000
arch/metag/include/asm/pgalloc.h deleted +0 -0
deleted file mode 100644
index 0b9d95d78b61..000000000000
arch/metag/include/asm/pgtable-bits.h deleted +0 -0
deleted file mode 100644
index 5f6b82282a41..000000000000
arch/metag/include/asm/pgtable.h deleted +0 -0
deleted file mode 100644
index a3422f06c03b..000000000000
arch/metag/include/asm/processor.h deleted +0 -0
deleted file mode 100644
index 9a0c502cd4a0..000000000000
arch/metag/include/asm/ptrace.h deleted +0 -0
deleted file mode 100644
index 9074f254c9ca..000000000000
arch/metag/include/asm/setup.h deleted +0 -0
deleted file mode 100644
index 504621d79ef5..000000000000
arch/metag/include/asm/smp.h deleted +0 -0
deleted file mode 100644
index 8d3683d83680..000000000000
arch/metag/include/asm/sparsemem.h deleted +0 -0
deleted file mode 100644
index 2942894bace5..000000000000
arch/metag/include/asm/spinlock.h deleted +0 -0
deleted file mode 100644
index 4497c232d9c1..000000000000
arch/metag/include/asm/spinlock_lnkget.h deleted +0 -0
deleted file mode 100644
index dfd780eab350..000000000000
arch/metag/include/asm/spinlock_lock1.h deleted +0 -0
deleted file mode 100644
index c0bd81bbe18c..000000000000
arch/metag/include/asm/spinlock_types.h deleted +0 -0
deleted file mode 100644
index cd197f1bed59..000000000000
arch/metag/include/asm/stacktrace.h deleted +0 -0
deleted file mode 100644
index f45e3cb2bbb5..000000000000
arch/metag/include/asm/string.h deleted +0 -0
deleted file mode 100644
index 86f9614d5fc6..000000000000
arch/metag/include/asm/switch.h deleted +0 -0
deleted file mode 100644
index 1fd6a587c844..000000000000
arch/metag/include/asm/syscall.h deleted +0 -0
deleted file mode 100644
index 24fc97939f77..000000000000
arch/metag/include/asm/syscalls.h deleted +0 -0
deleted file mode 100644
index eac0cf120323..000000000000
arch/metag/include/asm/tbx.h deleted +0 -0
deleted file mode 100644
index 5cd2a6c86223..000000000000
arch/metag/include/asm/tcm.h deleted +0 -0
deleted file mode 100644
index a0a4997e4b8a..000000000000
arch/metag/include/asm/thread_info.h deleted +0 -0
deleted file mode 100644
index a1a9c7f5ca8c..000000000000
arch/metag/include/asm/tlb.h deleted +0 -0
deleted file mode 100644
index fbe6ee91e8e7..000000000000
arch/metag/include/asm/tlbflush.h deleted +0 -0
deleted file mode 100644
index f3e5d99a3891..000000000000
arch/metag/include/asm/topology.h deleted +0 -0
deleted file mode 100644
index df0d9e6b7f12..000000000000
arch/metag/include/asm/traps.h deleted +0 -0
deleted file mode 100644
index ac808740bd84..000000000000
arch/metag/include/asm/uaccess.h deleted +0 -0
deleted file mode 100644
index a5311eb36e32..000000000000
arch/metag/include/asm/unistd.h deleted +0 -0
deleted file mode 100644
index 32955a18fb32..000000000000
arch/metag/include/asm/user_gateway.h deleted +0 -0
deleted file mode 100644
index cf2392b95a56..000000000000
arch/metag/include/uapi/asm/Kbuild deleted +0 -0
deleted file mode 100644
index f9eaf07d29f8..000000000000
arch/metag/include/uapi/asm/byteorder.h deleted +0 -0
deleted file mode 100644
index e5e03ff7e20d..000000000000
arch/metag/include/uapi/asm/ech.h deleted +0 -0
deleted file mode 100644
index 1e09f1ea4f7f..000000000000
arch/metag/include/uapi/asm/ptrace.h deleted +0 -0
deleted file mode 100644
index 8ad9daa841c3..000000000000
arch/metag/include/uapi/asm/sigcontext.h deleted +0 -0
deleted file mode 100644
index ac7e1f28d584..000000000000
arch/metag/include/uapi/asm/siginfo.h deleted +0 -0
deleted file mode 100644
index 9a3f6cde9487..000000000000
arch/metag/include/uapi/asm/swab.h deleted +0 -0
deleted file mode 100644
index 30d696fcc237..000000000000
arch/metag/include/uapi/asm/unistd.h deleted +0 -0
deleted file mode 100644
index 9f72c4cfcfb5..000000000000
arch/metag/kernel/.gitignore deleted +0 -0
deleted file mode 100644
index c5f676c3c224..000000000000
arch/metag/kernel/Makefile deleted +0 -0
deleted file mode 100644
index 73441d8c0369..000000000000
arch/metag/kernel/asm-offsets.c deleted +0 -0
deleted file mode 100644
index d9b348b99ff2..000000000000
arch/metag/kernel/cachepart.c deleted +0 -0
deleted file mode 100644
index 6e0f8a80cc96..000000000000
arch/metag/kernel/clock.c deleted +0 -0
deleted file mode 100644
index 6339c9c6d0ab..000000000000
arch/metag/kernel/core_reg.c deleted +0 -0
deleted file mode 100644
index df2833f2766f..000000000000
arch/metag/kernel/da.c deleted +0 -0
deleted file mode 100644
index a35dbed6fffa..000000000000
arch/metag/kernel/devtree.c deleted +0 -0
deleted file mode 100644
index 6af749a64438..000000000000
arch/metag/kernel/dma.c deleted +0 -0
deleted file mode 100644
index f0ab3a498328..000000000000
arch/metag/kernel/ftrace.c deleted +0 -0
deleted file mode 100644
index f7b23d300881..000000000000
arch/metag/kernel/ftrace_stub.S deleted +0 -0
deleted file mode 100644
index 3acc288217c0..000000000000
arch/metag/kernel/head.S deleted +0 -0
deleted file mode 100644
index 3ed27813413e..000000000000
arch/metag/kernel/irq.c deleted +0 -0
deleted file mode 100644
index 704cf17f8370..000000000000
arch/metag/kernel/kick.c deleted +0 -0
deleted file mode 100644
index beb377621322..000000000000
arch/metag/kernel/machines.c deleted +0 -0
deleted file mode 100644
index e49790181051..000000000000
arch/metag/kernel/metag_ksyms.c deleted +0 -0
deleted file mode 100644
index e312386efb72..000000000000
arch/metag/kernel/module.c deleted +0 -0
deleted file mode 100644
index bb8dfba9a763..000000000000
arch/metag/kernel/perf/Makefile deleted +0 -0
deleted file mode 100644
index b158cb27208d..000000000000
arch/metag/kernel/perf/perf_event.c deleted +0 -0
deleted file mode 100644
index 7e793eb0c1fe..000000000000
arch/metag/kernel/perf/perf_event.h deleted +0 -0
deleted file mode 100644
index fd10a1345b67..000000000000
arch/metag/kernel/perf_callchain.c deleted +0 -0
deleted file mode 100644
index d325ba101de0..000000000000
arch/metag/kernel/process.c deleted +0 -0
deleted file mode 100644
index 0909834c83a7..000000000000
arch/metag/kernel/ptrace.c deleted +0 -0
deleted file mode 100644
index e615603a4b0a..000000000000
arch/metag/kernel/setup.c deleted +0 -0
deleted file mode 100644
index 1166f1fbfd63..000000000000
arch/metag/kernel/signal.c deleted +0 -0
deleted file mode 100644
index e64e8b0a9363..000000000000
arch/metag/kernel/smp.c deleted +0 -0
deleted file mode 100644
index 2dbbb7c66043..000000000000
arch/metag/kernel/stacktrace.c deleted +0 -0
deleted file mode 100644
index 09d67b7f51ca..000000000000
arch/metag/kernel/sys_metag.c deleted +0 -0
deleted file mode 100644
index 27d96499dd38..000000000000
arch/metag/kernel/tbiunexp.S deleted +0 -0
deleted file mode 100644
index 2664808086c7..000000000000
arch/metag/kernel/tcm.c deleted +0 -0
deleted file mode 100644
index 1d7b4e33b114..000000000000
arch/metag/kernel/time.c deleted +0 -0
deleted file mode 100644
index 1e809e3b43d1..000000000000
arch/metag/kernel/topology.c deleted +0 -0
deleted file mode 100644
index 4ba595701f7d..000000000000
arch/metag/kernel/traps.c deleted +0 -0
deleted file mode 100644
index 3b62b1b0c0b5..000000000000
arch/metag/kernel/user_gateway.S deleted +0 -0
deleted file mode 100644
index 7833fb8f9ddd..000000000000
arch/metag/kernel/vmlinux.lds.S deleted +0 -0
deleted file mode 100644
index 1efadae2ea8e..000000000000
arch/metag/lib/Makefile deleted +0 -0
deleted file mode 100644
index 3982850d692c..000000000000
arch/metag/lib/ashldi3.S deleted +0 -0
deleted file mode 100644
index 5055df9e5c7b..000000000000
arch/metag/lib/ashrdi3.S deleted +0 -0
deleted file mode 100644
index 0c838fd9da85..000000000000
arch/metag/lib/checksum.c deleted +0 -0
deleted file mode 100644
index 5d6a98a05e9d..000000000000
arch/metag/lib/clear_page.S deleted +0 -0
deleted file mode 100644
index 87756a5d1367..000000000000
arch/metag/lib/cmpdi2.S deleted +0 -0
deleted file mode 100644
index ab70bd94fd81..000000000000
arch/metag/lib/copy_page.S deleted +0 -0
deleted file mode 100644
index abbc75e94374..000000000000
arch/metag/lib/delay.c deleted +0 -0
deleted file mode 100644
index 6754012a261f..000000000000
arch/metag/lib/div64.S deleted +0 -0
deleted file mode 100644
index 55eece273a6b..000000000000
arch/metag/lib/divsi3.S deleted +0 -0
deleted file mode 100644
index 9e31abefb160..000000000000
arch/metag/lib/ip_fast_csum.S deleted +0 -0
deleted file mode 100644
index 441f489d6a81..000000000000
arch/metag/lib/lshrdi3.S deleted +0 -0
deleted file mode 100644
index cf7ffc9b377f..000000000000
arch/metag/lib/memcpy.S deleted +0 -0
deleted file mode 100644
index c2e8395f9456..000000000000
arch/metag/lib/memmove.S deleted +0 -0
deleted file mode 100644
index 934abda0e680..000000000000
arch/metag/lib/memset.S deleted +0 -0
deleted file mode 100644
index 6ee246d831c7..000000000000
arch/metag/lib/modsi3.S deleted +0 -0
deleted file mode 100644
index d65a2e5b3154..000000000000
arch/metag/lib/muldi3.S deleted +0 -0
deleted file mode 100644
index 9d106790244d..000000000000
arch/metag/lib/ucmpdi2.S deleted +0 -0
deleted file mode 100644
index 46f5686db8b1..000000000000
arch/metag/lib/usercopy.c deleted +0 -0
deleted file mode 100644
index a48ef522c02d..000000000000
arch/metag/mm/Kconfig deleted +0 -0
deleted file mode 100644
index 9d4b2c67dcc1..000000000000
arch/metag/mm/Makefile deleted +0 -0
deleted file mode 100644
index 0c7c91ba9fb9..000000000000
arch/metag/mm/cache.c deleted +0 -0
deleted file mode 100644
index a62285284ab8..000000000000
arch/metag/mm/extable.c deleted +0 -0
deleted file mode 100644
index 9b92d3ad7f9c..000000000000
arch/metag/mm/fault.c deleted +0 -0
deleted file mode 100644
index de54fe686080..000000000000
arch/metag/mm/highmem.c deleted +0 -0
deleted file mode 100644
index 83527fc7c8a7..000000000000
arch/metag/mm/hugetlbpage.c deleted +0 -0
deleted file mode 100644
index 012ee4c80dc7..000000000000
arch/metag/mm/init.c deleted +0 -0
deleted file mode 100644
index 0e2ca9058998..000000000000
arch/metag/mm/ioremap.c deleted +0 -0
deleted file mode 100644
index df2b59cb02eb..000000000000
arch/metag/mm/l2cache.c deleted +0 -0
deleted file mode 100644
index addffc58989c..000000000000
arch/metag/mm/maccess.c deleted +0 -0
deleted file mode 100644
index c22755165df9..000000000000
arch/metag/mm/mmu-meta1.c deleted +0 -0
deleted file mode 100644
index 53190b13dc54..000000000000
arch/metag/mm/mmu-meta2.c deleted +0 -0
deleted file mode 100644
index 8b668a69c980..000000000000
arch/metag/mm/numa.c deleted +0 -0
deleted file mode 100644
index 67b46c295072..000000000000
arch/metag/oprofile/Makefile deleted +0 -0
deleted file mode 100644
index dc92a4a3d618..000000000000
arch/metag/oprofile/backtrace.c deleted +0 -0
deleted file mode 100644
index 7cc3f37cb40e..000000000000
arch/metag/oprofile/backtrace.h deleted +0 -0
deleted file mode 100644
index 60adb862aa2c..000000000000
arch/metag/oprofile/common.c deleted +0 -0
deleted file mode 100644
index ba26152b3c00..000000000000
arch/metag/tbx/Makefile deleted +0 -0
deleted file mode 100644
index 98bc5453cf24..000000000000
arch/metag/tbx/tbicore.S deleted +0 -0
deleted file mode 100644
index a0838ebcb433..000000000000
arch/metag/tbx/tbictx.S deleted +0 -0
deleted file mode 100644
index 19af983a13ae..000000000000
arch/metag/tbx/tbictxfpu.S deleted +0 -0
deleted file mode 100644
index e773bea3e7bd..000000000000
arch/metag/tbx/tbidefr.S deleted +0 -0
deleted file mode 100644
index 8f0902b22f70..000000000000
arch/metag/tbx/tbidspram.S deleted +0 -0
deleted file mode 100644
index 2f27c0372212..000000000000
arch/metag/tbx/tbilogf.S deleted +0 -0
deleted file mode 100644
index 4a34d80657db..000000000000
arch/metag/tbx/tbipcx.S deleted +0 -0
deleted file mode 100644
index 163c79ac913b..000000000000
arch/metag/tbx/tbiroot.S deleted +0 -0
deleted file mode 100644
index 7d84daf1340b..000000000000
arch/metag/tbx/tbisoft.S deleted +0 -0
deleted file mode 100644
index b04f50df8d91..000000000000
arch/metag/tbx/tbistring.c deleted +0 -0
deleted file mode 100644
index f90cd0822065..000000000000
arch/metag/tbx/tbitimer.S deleted +0 -0
deleted file mode 100644
index 5dbeddeee7ba..000000000000
Signature · 1 line
2.13.6
maintainer Reviewed-by on v1 1/13
#2 lore raw

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.

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 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
deleted file mode 100644
index c7b62a339539..000000000000
arch/metag/Kconfig.debug deleted +0 -0
deleted file mode 100644
index ac4516c605db..000000000000
arch/metag/Kconfig.soc deleted +0 -0
deleted file mode 100644
index c521f0e00d8e..000000000000
arch/metag/Makefile deleted +0 -0
deleted file mode 100644
index 033a58214119..000000000000
arch/metag/boot/.gitignore deleted +0 -0
deleted file mode 100644
index 6c662ddb909a..000000000000
arch/metag/boot/Makefile deleted +0 -0
deleted file mode 100644
index 5a1f88cf91e3..000000000000
arch/metag/boot/dts/Makefile deleted +0 -0
deleted file mode 100644
index f0a180f62766..000000000000
arch/metag/boot/dts/skeleton.dts deleted +0 -0
deleted file mode 100644
index 7a49aeb365d0..000000000000
arch/metag/boot/dts/skeleton.dtsi deleted +0 -0
deleted file mode 100644
index 43e2ffe73c27..000000000000
arch/metag/boot/dts/tz1090.dtsi deleted +0 -0
deleted file mode 100644
index 24ea7d2e9138..000000000000
arch/metag/boot/dts/tz1090_generic.dts deleted +0 -0
deleted file mode 100644
index f96090955964..000000000000
arch/metag/configs/meta1_defconfig deleted +0 -0
deleted file mode 100644
index 01cd67e4403d..000000000000
arch/metag/configs/meta2_defconfig deleted +0 -0
deleted file mode 100644
index 643392ba7ed5..000000000000
arch/metag/configs/meta2_smp_defconfig deleted +0 -0
deleted file mode 100644
index f3306737da20..000000000000
arch/metag/configs/tz1090_defconfig deleted +0 -0
deleted file mode 100644
index 9f9316a6df27..000000000000
arch/metag/include/asm/Kbuild deleted +0 -0
deleted file mode 100644
index 913c779979df..000000000000
arch/metag/include/asm/atomic.h deleted +0 -0
deleted file mode 100644
index 97ae189c2dd8..000000000000
arch/metag/include/asm/atomic_lnkget.h deleted +0 -0
deleted file mode 100644
index 17e8c61c946d..000000000000
arch/metag/include/asm/atomic_lock1.h deleted +0 -0
deleted file mode 100644
index 2ce8fa3a79c2..000000000000
arch/metag/include/asm/barrier.h deleted +0 -0
deleted file mode 100644
index 2661fec5696a..000000000000
arch/metag/include/asm/bitops.h deleted +0 -0
deleted file mode 100644
index 766ad43010ad..000000000000
arch/metag/include/asm/bug.h deleted +0 -0
deleted file mode 100644
index ee07a943f931..000000000000
arch/metag/include/asm/cache.h deleted +0 -0
deleted file mode 100644
index b5df02239c8d..000000000000
arch/metag/include/asm/cacheflush.h deleted +0 -0
deleted file mode 100644
index 2584a51eca1a..000000000000
arch/metag/include/asm/cachepart.h deleted +0 -0
deleted file mode 100644
index 79411e977586..000000000000
arch/metag/include/asm/checksum.h deleted +0 -0
deleted file mode 100644
index 6533d14e9789..000000000000
arch/metag/include/asm/clock.h deleted +0 -0
deleted file mode 100644
index ded4ab2e1fd0..000000000000
arch/metag/include/asm/cmpxchg.h deleted +0 -0
deleted file mode 100644
index 68c4ab1466fd..000000000000
arch/metag/include/asm/cmpxchg_irq.h deleted +0 -0
deleted file mode 100644
index 5255e37f8496..000000000000
arch/metag/include/asm/cmpxchg_lnkget.h deleted +0 -0
deleted file mode 100644
index c69be00a4739..000000000000
arch/metag/include/asm/cmpxchg_lock1.h deleted +0 -0
deleted file mode 100644
index 5976e39db2b4..000000000000
arch/metag/include/asm/core_reg.h deleted +0 -0
deleted file mode 100644
index ca70a0a29b61..000000000000
arch/metag/include/asm/cpu.h deleted +0 -0
deleted file mode 100644
index 9dac67de4748..000000000000
arch/metag/include/asm/da.h deleted +0 -0
deleted file mode 100644
index 901daa540e6e..000000000000
arch/metag/include/asm/delay.h deleted +0 -0
deleted file mode 100644
index fd73d3d5d294..000000000000
arch/metag/include/asm/div64.h deleted +0 -0
deleted file mode 100644
index e3686d2ae20e..000000000000
arch/metag/include/asm/dma-mapping.h deleted +0 -0
deleted file mode 100644
index cfd6a0505b56..000000000000
arch/metag/include/asm/elf.h deleted +0 -0
deleted file mode 100644
index a6c33800ba66..000000000000
arch/metag/include/asm/fixmap.h deleted +0 -0
deleted file mode 100644
index af621b041739..000000000000
arch/metag/include/asm/ftrace.h deleted +0 -0
deleted file mode 100644
index b1c8c76fb772..000000000000
arch/metag/include/asm/global_lock.h deleted +0 -0
deleted file mode 100644
index 4d3da9682233..000000000000
arch/metag/include/asm/highmem.h deleted +0 -0
deleted file mode 100644
index 8b0dfd684e15..000000000000
arch/metag/include/asm/hugetlb.h deleted +0 -0
deleted file mode 100644
index 1607363d2639..000000000000
arch/metag/include/asm/hwthread.h deleted +0 -0
deleted file mode 100644
index 8d2171da5414..000000000000
arch/metag/include/asm/io.h deleted +0 -0
deleted file mode 100644
index 71cd2bc54718..000000000000
arch/metag/include/asm/irq.h deleted +0 -0
deleted file mode 100644
index cb02c29935a4..000000000000
arch/metag/include/asm/irqflags.h deleted +0 -0
deleted file mode 100644
index e2fe34acb93b..000000000000
arch/metag/include/asm/l2cache.h deleted +0 -0
deleted file mode 100644
index f260b158b8fe..000000000000
arch/metag/include/asm/linkage.h deleted +0 -0
deleted file mode 100644
index 3a9024ecb827..000000000000
arch/metag/include/asm/mach/arch.h deleted +0 -0
deleted file mode 100644
index 433f94624fa2..000000000000
arch/metag/include/asm/metag_isa.h deleted +0 -0
deleted file mode 100644
index c8aa2ae3899f..000000000000
arch/metag/include/asm/metag_mem.h deleted +0 -0
deleted file mode 100644
index 7848bc6d3b61..000000000000
arch/metag/include/asm/metag_regs.h deleted +0 -0
deleted file mode 100644
index 60b750971d8a..000000000000
arch/metag/include/asm/mman.h deleted +0 -0
deleted file mode 100644
index dcb0d20a64fd..000000000000
arch/metag/include/asm/mmu.h deleted +0 -0
deleted file mode 100644
index cab5a01c3dcb..000000000000
arch/metag/include/asm/mmu_context.h deleted +0 -0
deleted file mode 100644
index 7b4766379622..000000000000
arch/metag/include/asm/mmzone.h deleted +0 -0
deleted file mode 100644
index 8627fb532206..000000000000
arch/metag/include/asm/module.h deleted +0 -0
deleted file mode 100644
index e957171c320b..000000000000
arch/metag/include/asm/page.h deleted +0 -0
deleted file mode 100644
index 9e994d77069d..000000000000
arch/metag/include/asm/perf_event.h deleted +0 -0
deleted file mode 100644
index 105bbff0149f..000000000000
arch/metag/include/asm/pgalloc.h deleted +0 -0
deleted file mode 100644
index 0b9d95d78b61..000000000000
arch/metag/include/asm/pgtable-bits.h deleted +0 -0
deleted file mode 100644
index 5f6b82282a41..000000000000
arch/metag/include/asm/pgtable.h deleted +0 -0
deleted file mode 100644
index a3422f06c03b..000000000000
arch/metag/include/asm/processor.h deleted +0 -0
deleted file mode 100644
index 9a0c502cd4a0..000000000000
arch/metag/include/asm/ptrace.h deleted +0 -0
deleted file mode 100644
index 9074f254c9ca..000000000000
arch/metag/include/asm/setup.h deleted +0 -0
deleted file mode 100644
index 504621d79ef5..000000000000
arch/metag/include/asm/smp.h deleted +0 -0
deleted file mode 100644
index 8d3683d83680..000000000000
arch/metag/include/asm/sparsemem.h deleted +0 -0
deleted file mode 100644
index 2942894bace5..000000000000
arch/metag/include/asm/spinlock.h deleted +0 -0
deleted file mode 100644
index 4497c232d9c1..000000000000
arch/metag/include/asm/spinlock_lnkget.h deleted +0 -0
deleted file mode 100644
index dfd780eab350..000000000000
arch/metag/include/asm/spinlock_lock1.h deleted +0 -0
deleted file mode 100644
index c0bd81bbe18c..000000000000
arch/metag/include/asm/spinlock_types.h deleted +0 -0
deleted file mode 100644
index cd197f1bed59..000000000000
arch/metag/include/asm/stacktrace.h deleted +0 -0
deleted file mode 100644
index f45e3cb2bbb5..000000000000
arch/metag/include/asm/string.h deleted +0 -0
deleted file mode 100644
index 86f9614d5fc6..000000000000
arch/metag/include/asm/switch.h deleted +0 -0
deleted file mode 100644
index 1fd6a587c844..000000000000
arch/metag/include/asm/syscall.h deleted +0 -0
deleted file mode 100644
index 24fc97939f77..000000000000
arch/metag/include/asm/syscalls.h deleted +0 -0
deleted file mode 100644
index eac0cf120323..000000000000
arch/metag/include/asm/tbx.h deleted +0 -0
deleted file mode 100644
index 5cd2a6c86223..000000000000
arch/metag/include/asm/tcm.h deleted +0 -0
deleted file mode 100644
index a0a4997e4b8a..000000000000
arch/metag/include/asm/thread_info.h deleted +0 -0
deleted file mode 100644
index a1a9c7f5ca8c..000000000000
arch/metag/include/asm/tlb.h deleted +0 -0
deleted file mode 100644
index fbe6ee91e8e7..000000000000
arch/metag/include/asm/tlbflush.h deleted +0 -0
deleted file mode 100644
index f3e5d99a3891..000000000000
arch/metag/include/asm/topology.h deleted +0 -0
deleted file mode 100644
index df0d9e6b7f12..000000000000
arch/metag/include/asm/traps.h deleted +0 -0
deleted file mode 100644
index ac808740bd84..000000000000
arch/metag/include/asm/uaccess.h deleted +0 -0
deleted file mode 100644
index a5311eb36e32..000000000000
arch/metag/include/asm/unistd.h deleted +0 -0
deleted file mode 100644
index 32955a18fb32..000000000000
arch/metag/include/asm/user_gateway.h deleted +0 -0
deleted file mode 100644
index cf2392b95a56..000000000000
arch/metag/include/uapi/asm/Kbuild deleted +0 -0
deleted file mode 100644
index f9eaf07d29f8..000000000000
arch/metag/include/uapi/asm/byteorder.h deleted +0 -0
deleted file mode 100644
index e5e03ff7e20d..000000000000
arch/metag/include/uapi/asm/ech.h deleted +0 -0
deleted file mode 100644
index 1e09f1ea4f7f..000000000000
arch/metag/include/uapi/asm/ptrace.h deleted +0 -0
deleted file mode 100644
index 8ad9daa841c3..000000000000
arch/metag/include/uapi/asm/sigcontext.h deleted +0 -0
deleted file mode 100644
index ac7e1f28d584..000000000000
arch/metag/include/uapi/asm/siginfo.h deleted +0 -0
deleted file mode 100644
index 9a3f6cde9487..000000000000
arch/metag/include/uapi/asm/swab.h deleted +0 -0
deleted file mode 100644
index 30d696fcc237..000000000000
arch/metag/include/uapi/asm/unistd.h deleted +0 -0
deleted file mode 100644
index 9f72c4cfcfb5..000000000000
arch/metag/kernel/.gitignore deleted +0 -0
deleted file mode 100644
index c5f676c3c224..000000000000
arch/metag/kernel/Makefile deleted +0 -0
deleted file mode 100644
index 73441d8c0369..000000000000
arch/metag/kernel/asm-offsets.c deleted +0 -0
deleted file mode 100644
index d9b348b99ff2..000000000000
arch/metag/kernel/cachepart.c deleted +0 -0
deleted file mode 100644
index 6e0f8a80cc96..000000000000
arch/metag/kernel/clock.c deleted +0 -0
deleted file mode 100644
index 6339c9c6d0ab..000000000000
arch/metag/kernel/core_reg.c deleted +0 -0
deleted file mode 100644
index df2833f2766f..000000000000
arch/metag/kernel/da.c deleted +0 -0
deleted file mode 100644
index a35dbed6fffa..000000000000
arch/metag/kernel/devtree.c deleted +0 -0
deleted file mode 100644
index 6af749a64438..000000000000
arch/metag/kernel/dma.c deleted +0 -0
deleted file mode 100644
index f0ab3a498328..000000000000
arch/metag/kernel/ftrace.c deleted +0 -0
deleted file mode 100644
index f7b23d300881..000000000000
arch/metag/kernel/ftrace_stub.S deleted +0 -0
deleted file mode 100644
index 3acc288217c0..000000000000
arch/metag/kernel/head.S deleted +0 -0
deleted file mode 100644
index 3ed27813413e..000000000000
arch/metag/kernel/irq.c deleted +0 -0
deleted file mode 100644
index 704cf17f8370..000000000000
arch/metag/kernel/kick.c deleted +0 -0
deleted file mode 100644
index beb377621322..000000000000
arch/metag/kernel/machines.c deleted +0 -0
deleted file mode 100644
index e49790181051..000000000000
arch/metag/kernel/metag_ksyms.c deleted +0 -0
deleted file mode 100644
index e312386efb72..000000000000
arch/metag/kernel/module.c deleted +0 -0
deleted file mode 100644
index bb8dfba9a763..000000000000
arch/metag/kernel/perf/Makefile deleted +0 -0
deleted file mode 100644
index b158cb27208d..000000000000
arch/metag/kernel/perf/perf_event.c deleted +0 -0
deleted file mode 100644
index 7e793eb0c1fe..000000000000
arch/metag/kernel/perf/perf_event.h deleted +0 -0
deleted file mode 100644
index fd10a1345b67..000000000000
arch/metag/kernel/perf_callchain.c deleted +0 -0
deleted file mode 100644
index d325ba101de0..000000000000
arch/metag/kernel/process.c deleted +0 -0
deleted file mode 100644
index 0909834c83a7..000000000000
arch/metag/kernel/ptrace.c deleted +0 -0
deleted file mode 100644
index e615603a4b0a..000000000000
arch/metag/kernel/setup.c deleted +0 -0
deleted file mode 100644
index 1166f1fbfd63..000000000000
arch/metag/kernel/signal.c deleted +0 -0
deleted file mode 100644
index e64e8b0a9363..000000000000
arch/metag/kernel/smp.c deleted +0 -0
deleted file mode 100644
index 2dbbb7c66043..000000000000
arch/metag/kernel/stacktrace.c deleted +0 -0
deleted file mode 100644
index 09d67b7f51ca..000000000000
arch/metag/kernel/sys_metag.c deleted +0 -0
deleted file mode 100644
index 27d96499dd38..000000000000
arch/metag/kernel/tbiunexp.S deleted +0 -0
deleted file mode 100644
index 2664808086c7..000000000000
arch/metag/kernel/tcm.c deleted +0 -0
deleted file mode 100644
index 1d7b4e33b114..000000000000
arch/metag/kernel/time.c deleted +0 -0
deleted file mode 100644
index 1e809e3b43d1..000000000000
arch/metag/kernel/topology.c deleted +0 -0
deleted file mode 100644
index 4ba595701f7d..000000000000
arch/metag/kernel/traps.c deleted +0 -0
deleted file mode 100644
index 3b62b1b0c0b5..000000000000
arch/metag/kernel/user_gateway.S deleted +0 -0
deleted file mode 100644
index 7833fb8f9ddd..000000000000
arch/metag/kernel/vmlinux.lds.S deleted +0 -0
deleted file mode 100644
index 1efadae2ea8e..000000000000
arch/metag/lib/Makefile deleted +0 -0
deleted file mode 100644
index 3982850d692c..000000000000
arch/metag/lib/ashldi3.S deleted +0 -0
deleted file mode 100644
index 5055df9e5c7b..000000000000
arch/metag/lib/ashrdi3.S deleted +0 -0
deleted file mode 100644
index 0c838fd9da85..000000000000
arch/metag/lib/checksum.c deleted +0 -0
deleted file mode 100644
index 5d6a98a05e9d..000000000000
arch/metag/lib/clear_page.S deleted +0 -0
deleted file mode 100644
index 87756a5d1367..000000000000
arch/metag/lib/cmpdi2.S deleted +0 -0
deleted file mode 100644
index ab70bd94fd81..000000000000
arch/metag/lib/copy_page.S deleted +0 -0
deleted file mode 100644
index abbc75e94374..000000000000
arch/metag/lib/delay.c deleted +0 -0
deleted file mode 100644
index 6754012a261f..000000000000
arch/metag/lib/div64.S deleted +0 -0
deleted file mode 100644
index 55eece273a6b..000000000000
arch/metag/lib/divsi3.S deleted +0 -0
deleted file mode 100644
index 9e31abefb160..000000000000
arch/metag/lib/ip_fast_csum.S deleted +0 -0
deleted file mode 100644
index 441f489d6a81..000000000000
arch/metag/lib/lshrdi3.S deleted +0 -0
deleted file mode 100644
index cf7ffc9b377f..000000000000
arch/metag/lib/memcpy.S deleted +0 -0
deleted file mode 100644
index c2e8395f9456..000000000000
arch/metag/lib/memmove.S deleted +0 -0
deleted file mode 100644
index 934abda0e680..000000000000
arch/metag/lib/memset.S deleted +0 -0
deleted file mode 100644
index 6ee246d831c7..000000000000
arch/metag/lib/modsi3.S deleted +0 -0
deleted file mode 100644
index d65a2e5b3154..000000000000
arch/metag/lib/muldi3.S deleted +0 -0
deleted file mode 100644
index 9d106790244d..000000000000
arch/metag/lib/ucmpdi2.S deleted +0 -0
deleted file mode 100644
index 46f5686db8b1..000000000000
arch/metag/lib/usercopy.c deleted +0 -0
deleted file mode 100644
index a48ef522c02d..000000000000
arch/metag/mm/Kconfig deleted +0 -0
deleted file mode 100644
index 9d4b2c67dcc1..000000000000
arch/metag/mm/Makefile deleted +0 -0
deleted file mode 100644
index 0c7c91ba9fb9..000000000000
arch/metag/mm/cache.c deleted +0 -0
deleted file mode 100644
index a62285284ab8..000000000000
arch/metag/mm/extable.c deleted +0 -0
deleted file mode 100644
index 9b92d3ad7f9c..000000000000
arch/metag/mm/fault.c deleted +0 -0
deleted file mode 100644
index de54fe686080..000000000000
arch/metag/mm/highmem.c deleted +0 -0
deleted file mode 100644
index 83527fc7c8a7..000000000000
arch/metag/mm/hugetlbpage.c deleted +0 -0
deleted file mode 100644
index 012ee4c80dc7..000000000000
arch/metag/mm/init.c deleted +0 -0
deleted file mode 100644
index 0e2ca9058998..000000000000
arch/metag/mm/ioremap.c deleted +0 -0
deleted file mode 100644
index df2b59cb02eb..000000000000
arch/metag/mm/l2cache.c deleted +0 -0
deleted file mode 100644
index addffc58989c..000000000000
arch/metag/mm/maccess.c deleted +0 -0
deleted file mode 100644
index c22755165df9..000000000000
arch/metag/mm/mmu-meta1.c deleted +0 -0
deleted file mode 100644
index 53190b13dc54..000000000000
arch/metag/mm/mmu-meta2.c deleted +0 -0
deleted file mode 100644
index 8b668a69c980..000000000000
arch/metag/mm/numa.c deleted +0 -0
deleted file mode 100644
index 67b46c295072..000000000000
arch/metag/oprofile/Makefile deleted +0 -0
deleted file mode 100644
index dc92a4a3d618..000000000000
arch/metag/oprofile/backtrace.c deleted +0 -0
deleted file mode 100644
index 7cc3f37cb40e..000000000000
arch/metag/oprofile/backtrace.h deleted +0 -0
deleted file mode 100644
index 60adb862aa2c..000000000000
arch/metag/oprofile/common.c deleted +0 -0
deleted file mode 100644
index ba26152b3c00..000000000000
arch/metag/tbx/Makefile deleted +0 -0
deleted file mode 100644
index 98bc5453cf24..000000000000
arch/metag/tbx/tbicore.S deleted +0 -0
deleted file mode 100644
index a0838ebcb433..000000000000
arch/metag/tbx/tbictx.S deleted +0 -0
deleted file mode 100644
index 19af983a13ae..000000000000
arch/metag/tbx/tbictxfpu.S deleted +0 -0
deleted file mode 100644
index e773bea3e7bd..000000000000
arch/metag/tbx/tbidefr.S deleted +0 -0
deleted file mode 100644
index 8f0902b22f70..000000000000
arch/metag/tbx/tbidspram.S deleted +0 -0
deleted file mode 100644
index 2f27c0372212..000000000000
arch/metag/tbx/tbilogf.S deleted +0 -0
deleted file mode 100644
index 4a34d80657db..000000000000
arch/metag/tbx/tbipcx.S deleted +0 -0
deleted file mode 100644
index 163c79ac913b..000000000000
arch/metag/tbx/tbiroot.S deleted +0 -0
deleted file mode 100644
index 7d84daf1340b..000000000000
arch/metag/tbx/tbisoft.S deleted +0 -0
deleted file mode 100644
index b04f50df8d91..000000000000
arch/metag/tbx/tbistring.c deleted +0 -0
deleted file mode 100644
index f90cd0822065..000000000000
arch/metag/tbx/tbitimer.S deleted +0 -0
deleted file mode 100644
index 5dbeddeee7ba..000000000000
#3 lore raw

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

FWIW:

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

#4 lore raw

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

#5 lore raw

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

#6 lore raw

PATCH 2/13 docs: Remove metag docs

In reply to James Hogan

Now 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
index 7f3a0728ccf2..eae1e7193f50 100644
@@ -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
index 1d1d53f85ddd..30a8d0635898 100644
@@ -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
deleted file mode 100644
index f4457f57ab08..000000000000
Documentation/metag/00-INDEX deleted +0 -0
deleted file mode 100644
index db11c513bd5c..000000000000
Documentation/metag/kernel-ABI.txt deleted +0 -0
deleted file mode 100644
index 628216603198..000000000000
Signature · 1 line
2.13.6
#7 lore raw

PATCH 3/13 docs: Remove remaining references to metag

In reply to James Hogan

Remove 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
index cb8862659178..e6f51260ff32 100644
@@ -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
index 5575d2d09625..b0634ec01881 100644
@@ -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
index abb5f271a792..e2a1a385efd3 100644
@@ -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
index dbdaffcc5110..dafcea38fe5e 100644
@@ -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
index dfb638c2f842..3d7886fcb6a9 100644
@@ -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
index 3406fae833c3..63598b0e8ea6 100644
@@ -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
index 830dbe801aaf..13b3b3dfe7f2 100644
@@ -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
index 0217bf6e942d..cb4792cf0f98 100644
@@ -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
index 1e84be3c142e..2046539489fe 100644
@@ -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
index 529f66eda679..bfb3546a70d0 100644
@@ -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
index 43353242e439..cb2213bfadc5 100644
@@ -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
index f559f1ba5416..219aa64ca3f5 100644
@@ -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
index 59a4c9ffb7f3..904864c3f18c 100644
@@ -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
index 53ed42b0e7e5..d092f000e6bb 100644
@@ -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
index 149443936de9..9e9e195b6d30 100644
@@ -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
index 6be920643be6..ba9e169859c4 100644
@@ -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
index 0eb08e1e32b8..35b501f2c117 100644
@@ -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
index 514ad3468aa5..42c078dff18b 100644
@@ -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
index 532c6f0fc15c..b10c21f14739 100644
@@ -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
index f3eec26c8cf8..3b87fd37bae8 100644
@@ -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
index 9756abc680a7..cefcd720f04e 100644
@@ -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
index 62f4ee5c156c..da6c7e37141c 100644
@@ -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
index 321b32f6e63c..1e5dbcdd1c76 100644
@@ -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
index 79bfa4d6e41f..b79e92288112 100644
@@ -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
index 00f1606bbf45..6418ccc6fc34 100644
@@ -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
index 7d516eacf7b9..3b3392ac6466 100644
@@ -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
index f974b8df5d82..4594cb28fbc8 100644
@@ -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
index 2c815a7f1ba7..42eaab4d439d 100644
@@ -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
index 1d3c0f669152..4e67833aae66 100644
@@ -19,7 +19,6 @@
     |        ia64: | TODO |
     |        m32r: |  ..  |
     |        m68k: |  ..  |
-    |       metag: |  ..  |
     |  microblaze: |  ..  |
     |        mips: | TODO |
     |     mn10300: |  ..  |
Documentation/features/seccomp/seccomp-filter/arch-support.txt +0 -1
index a32d5b207679..c5d8b397a693 100644
@@ -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
index caee8f64d1bc..9e4999136881 100644
@@ -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
index 1cd87f6cd07d..f90cb64c640b 100644
@@ -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
index e6d7c7b2253c..eb4e5d32a2e9 100644
@@ -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
index 15c6071788ae..02b7441f360f 100644
@@ -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
index baee7611ba3d..b3eb6fe6bc27 100644
@@ -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
index 9129530cb73c..a1bd77fd723a 100644
@@ -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
index f6829af3255f..3f926177833c 100644
@@ -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
index 1a09ea99d486..4c8f65d525d7 100644
@@ -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
index d170e6236503..d121dc2e3e5e 100644
@@ -19,7 +19,6 @@
     |        ia64: | TODO |
     |        m32r: |  ..  |
     |        m68k: |  ..  |
-    |       metag: | TODO |
     |  microblaze: |  ..  |
     |        mips: |  ok  |
     |     mn10300: |  ..  |
Documentation/features/vm/TLB/arch-support.txt +0 -1
index abfab4080a91..af233d2d82cf 100644
@@ -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
index f81f09b22b08..45c74fbe6805 100644
@@ -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
index 0cc3e11c42e2..6cd436af0cc8 100644
@@ -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
index 9a3fdac42ce1..2db895856da6 100644
@@ -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
index dfaa39e664ff..ccb15b6da42f 100644
@@ -19,7 +19,6 @@
     |        ia64: | TODO |
     |        m32r: | TODO |
     |        m68k: | TODO |
-    |       metag: | TODO |
     |  microblaze: | TODO |
     |        mips: | TODO |
     |     mn10300: | TODO |
Signature · 1 line
2.13.6
#8 lore raw

PATCH 4/13 Drop a bunch of metag references

In reply to James Hogan

Now 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).

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 --
 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
index ad06d42adb1a..ccac10682ce5 100644
@@ -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
index dbe1bb058c09..a81cffb76d89 100644
@@ -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
index 3bf73fb58045..e2535d6dcec7 100644
@@ -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
index 6088408ef26c..d1c523e408e9 100644
@@ -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
index c782e8fb7235..abefa573bcd8 100644
@@ -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
index cb993801e4b2..eeb9ac8dbcfb 100755
@@ -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
index 16e086dcc567..8c9691c3329e 100644
@@ -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
index 36673f98d66b..3eb7a39169f6 100644
@@ -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>
maintainer Acked-by on v1 4/13
#9 lore raw

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_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).

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
index dbe1bb058c09..a81cffb76d89 100644
@@ -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
index 16e086dcc567..8c9691c3329e 100644
@@ -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 -6
 	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;

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

#10 lore raw

PATCH v2 4/13 Drop a bunch of metag references

In reply to James Hogan

Now 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
index 5172ad0daa7c..c7a950681f3a 100644
@@ -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
index ad06d42adb1a..ccac10682ce5 100644
@@ -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
index dbe1bb058c09..a81cffb76d89 100644
@@ -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
index 3bf73fb58045..e2535d6dcec7 100644
@@ -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
index 6088408ef26c..d1c523e408e9 100644
@@ -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
index c782e8fb7235..abefa573bcd8 100644
@@ -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
index cb993801e4b2..eeb9ac8dbcfb 100755
@@ -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
index 16e086dcc567..8c9691c3329e 100644
@@ -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
index 36673f98d66b..3eb7a39169f6 100644
@@ -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>
maintainer Reviewed-by on v2 4/13
#11 lore raw

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_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).

Quoted 11 lines
Quoted 162 lines

---
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
index 5172ad0daa7c..c7a950681f3a 100644
@@ -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
index ad06d42adb1a..ccac10682ce5 100644
@@ -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
index dbe1bb058c09..a81cffb76d89 100644
@@ -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
index 3bf73fb58045..e2535d6dcec7 100644
@@ -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
index 6088408ef26c..d1c523e408e9 100644
@@ -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
index c782e8fb7235..abefa573bcd8 100644
@@ -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
index cb993801e4b2..eeb9ac8dbcfb 100755
@@ -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
index 16e086dcc567..8c9691c3329e 100644
@@ -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
index 36673f98d66b..3eb7a39169f6 100644

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>

#12 lore raw

PATCH 5/13 irqchip: Remove metag irqchip drivers

In reply to James Hogan

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

Cc Thomas Gleixner <[email protected]>
Cc Jason Cooper <[email protected]>
Cc Marc Zyngier <[email protected]>
---
 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
index d27e3e3619e0..b5b1f4c93413 100644
@@ -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
deleted file mode 100644
index e67483161f0f..000000000000
drivers/irqchip/irq-metag.c deleted +0 -0
deleted file mode 100644
index 857b946747eb..000000000000
include/linux/irqchip/metag-ext.h deleted +0 -0
deleted file mode 100644
index d120496370b9..000000000000
include/linux/irqchip/metag.h deleted +0 -0
deleted file mode 100644
index 0adcf449e4e4..000000000000
Signature · 1 line
2.13.6
#13 lore raw

PATCH 6/13 clocksource: Remove metag generic timer driver

In reply to 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.

Cc Daniel Lezcano <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 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
index b3b4ed9b6874..f99dbc2f7ee4 100644
@@ -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
index d6dec4489d66..a2d47e9ecf91 100644
@@ -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
deleted file mode 100644
index 3e5fa2f62d5f..000000000000
include/clocksource/metag_generic.h deleted +0 -0
deleted file mode 100644
index ac17e7d06cfb..000000000000
include/linux/cpuhotplug.h +0 -1
index 5172ad0daa7c..a456be2f10c3 100644
@@ -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
Acked-by on v1 6/13
#14 lore raw

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.

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
#15 lore raw

PATCH 7/13 tty: Remove metag DA TTY and console driver

In reply to 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.

---
 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
index b811442c5ce6..75a71ebcb369 100644
@@ -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
index 8ce3a8661b31..47c71f43a397 100644
@@ -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
deleted file mode 100644
index 99eaed4b2dbc..000000000000
Signature · 1 line
2.13.6
maintainer Acked-by on v1 7/13
#16 lore raw

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.

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
#17 lore raw

PATCH 8/13 MAINTAINERS/CREDITS: Drop METAG ARCHITECTURE

In reply to James Hogan

The 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
index a3ec0c744172..989cda91c427 100644
@@ -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
index 9a7f76eadae9..d5ddf19e76bb 100644
@@ -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
#18 lore raw

PATCH 9/13 pinctrl: Drop TZ1090 drivers

In reply to 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.

---
 .../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
deleted file mode 100644
index cf9ccdff4455..000000000000
Documentation/devicetree/bindings/pinctrl/img,tz1090-pinctrl.txt deleted +0 -0
deleted file mode 100644
index 2dfd9a3fc1e4..000000000000
drivers/pinctrl/Kconfig +0 -12
index 0f254b35c378..f5ef8201c09f 100644
@@ -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
index d3692633e9ed..6255546735ff 100644
@@ -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
deleted file mode 100644
index b16d1c96b7eb..000000000000
drivers/pinctrl/pinctrl-tz1090.c deleted +0 -0
deleted file mode 100644
index 2379ce2be365..000000000000
Signature · 1 line
2.13.6
#20 lore raw

PATCH 10/13 gpio: Drop TZ1090 drivers

In reply to 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.

---
 .../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
deleted file mode 100644
index 528f5ef5a893..000000000000
Documentation/devicetree/bindings/gpio/gpio-tz1090.txt deleted +0 -0
deleted file mode 100644
index b05a90e0ab29..000000000000
drivers/gpio/Kconfig +0 -15
index 8dbb2280538d..8fda844de07e 100644
@@ -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
index cccb0d40846c..329e34d1bd2e 100644
@@ -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
deleted file mode 100644
index 5b7781741ee9..000000000000
drivers/gpio/gpio-tz1090.c deleted +0 -0
deleted file mode 100644
index 0bb9bb583889..000000000000
Signature · 1 line
2.13.6
#22 lore raw

PATCH 11/13 watchdog: imgpdc: Drop METAG dependency

In reply to 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.

---
 drivers/watchdog/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/Kconfig +1 -1
index aff773bcebdb..152268010c45 100644
@@ -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
maintainer Acked-by on v1 11/13
#23 lore raw

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.

Quoted 18 lines
---
  drivers/watchdog/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/Kconfig +1 -1
index aff773bcebdb..152268010c45 100644
@@ -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
#24 lore raw

PATCH 12/13 media: img-ir: Drop METAG dependency

In reply to 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.

Cc Mauro Carvalho Chehab <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/rc/img-ir/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/rc/img-ir/Kconfig +1 -1
index a896d3c83a1c..d2c6617d468e 100644
@@ -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
maintainer Acked-by on v1 12/13
#25 lore raw

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.

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
index a896d3c83a1c..d2c6617d468e 100644
@@ -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
#26 lore raw

PATCH 13/13 i2c: img-scb: Drop METAG dependency

In reply to 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.

---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
index a9805c7cb305..94f419489a0b 100644
@@ -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
Acked-by on v1 13/13
#27 lore raw

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.

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.

#28 lore raw

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

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.

Yes, I'll take this with the others.

Thanks
James

#30 lore raw
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

Acked-by
#31 lore raw
Quoted 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:

#32 lore raw
In reply to James Hogan
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_POINTERS

and

include/trace/events/mmflags.h:#elif defined(CONFIG_PARISC) || defined(CONFIG_METAG) || defined(CONFIG_IA64)

so there is little risk.

Arnd

#33 lore raw
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 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_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

#34 lore raw
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 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_POINTERS

and

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

#35 lore raw

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
#36 lore raw
In reply to James Hogan
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