Subject: [RFC] remove support for AVR32 architecture

Hello all,

The AVR32 architecture is not keeping up with the development of the kernel,
and since it shares so much of the drivers with Atmel ARM SoC, it is starting
to hinder these drivers to develop swiftly.

Also, all AVR32 AP7 SoC processors are end of lifed from Atmel (now
Microchip).

Finally, the GCC toolchain is stuck at version 4.2.x, and has not received
any patches since the last release from Atmel;
4.2.4-atmel.1.1.3.avr32linux.1. When building kernel v4.10, this toolchain is
no longer able to properly link the network stack.

Haavard and I have came to the conclusion that we feel keeping AVR32 on life
support offers more obstacles for Atmel ARMs, than it gives joy to AVR32
users. I also suspect there are very few AVR32 users left today, if anybody
at all.

I have prepared three patches in my for-linus branch in git tree
https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git

Shortlog below, patches not inlined as they are quite large IMHO.

I will send a formal pull request to Linus unless anybody objects loudly.

I have also prepare patches for removing AVR32 specific kernel drivers, I
will send those to the relevant subsystem maintainers.

Hans-Christian Noren Egtvedt (3):
avr32: remove support for AVR32 architecture
docs: remove all references to AVR32 architecture
scripts: remove AVR32 support from checkstack.pl

CREDITS | 8 +
Documentation/admin-guide/README.rst | 2 +-
Documentation/admin-guide/kernel-parameters.rst | 1 -
Documentation/admin-guide/kernel-parameters.txt | 3 +-
.../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 -
.../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/media/v4l-drivers/soc-camera.rst | 2 +-
MAINTAINERS | 15 -
arch/avr32/Kconfig | 288 ---
arch/avr32/Kconfig.debug | 9 -
arch/avr32/Makefile | 84 -
arch/avr32/boards/atngw100/Kconfig | 65 -
arch/avr32/boards/atngw100/Kconfig_mrmt | 80 -
arch/avr32/boards/atngw100/Makefile | 3 -
arch/avr32/boards/atngw100/evklcd10x.c | 178 --
arch/avr32/boards/atngw100/flash.c | 98 -
arch/avr32/boards/atngw100/mrmt.c | 382 ----
arch/avr32/boards/atngw100/setup.c | 324 ---
arch/avr32/boards/atstk1000/Kconfig | 109 -
arch/avr32/boards/atstk1000/Makefile | 5 -
arch/avr32/boards/atstk1000/atstk1000.h | 17 -
arch/avr32/boards/atstk1000/atstk1002.c | 330 ---
arch/avr32/boards/atstk1000/atstk1003.c | 162 --
arch/avr32/boards/atstk1000/atstk1004.c | 164 --
arch/avr32/boards/atstk1000/flash.c | 98 -
arch/avr32/boards/atstk1000/setup.c | 127 --
arch/avr32/boards/favr-32/Kconfig | 22 -
arch/avr32/boards/favr-32/Makefile | 1 -
arch/avr32/boards/favr-32/flash.c | 98 -
arch/avr32/boards/favr-32/setup.c | 366 ---
arch/avr32/boards/hammerhead/Kconfig | 43 -
arch/avr32/boards/hammerhead/Makefile | 1 -
arch/avr32/boards/hammerhead/flash.c | 381 ----
arch/avr32/boards/hammerhead/flash.h | 6 -
arch/avr32/boards/hammerhead/setup.c | 247 --
arch/avr32/boards/merisc/Kconfig | 5 -
arch/avr32/boards/merisc/Makefile | 1 -
arch/avr32/boards/merisc/display.c | 65 -
arch/avr32/boards/merisc/flash.c | 139 --
arch/avr32/boards/merisc/merisc.h | 18 -
arch/avr32/boards/merisc/merisc_sysfs.c | 64 -
arch/avr32/boards/merisc/setup.c | 305 ---
arch/avr32/boards/mimc200/Makefile | 1 -
arch/avr32/boards/mimc200/flash.c | 143 --
arch/avr32/boards/mimc200/setup.c | 236 --
arch/avr32/boot/images/.gitignore | 4 -
arch/avr32/boot/images/Makefile | 57 -
arch/avr32/boot/u-boot/Makefile | 3 -
arch/avr32/boot/u-boot/empty.S | 1 -
arch/avr32/boot/u-boot/head.S | 83 -
arch/avr32/configs/atngw100_defconfig | 142 --
arch/avr32/configs/atngw100_evklcd100_defconfig | 158 --
arch/avr32/configs/atngw100_evklcd101_defconfig | 157 --
arch/avr32/configs/atngw100_mrmt_defconfig | 136 --
arch/avr32/configs/atngw100mkii_defconfig | 144 --
.../avr32/configs/atngw100mkii_evklcd100_defconfig | 161 --
.../avr32/configs/atngw100mkii_evklcd101_defconfig | 160 --
arch/avr32/configs/atstk1002_defconfig | 157 --
arch/avr32/configs/atstk1003_defconfig | 137 --
arch/avr32/configs/atstk1004_defconfig | 135 --
arch/avr32/configs/atstk1006_defconfig | 160 --
arch/avr32/configs/favr-32_defconfig | 143 --
arch/avr32/configs/hammerhead_defconfig | 145 --
arch/avr32/configs/merisc_defconfig | 115 -
arch/avr32/configs/mimc200_defconfig | 114 -
arch/avr32/include/asm/Kbuild | 24 -
arch/avr32/include/asm/addrspace.h | 43 -
arch/avr32/include/asm/asm-offsets.h | 1 -
arch/avr32/include/asm/asm.h | 102 -
arch/avr32/include/asm/atomic.h | 243 --
arch/avr32/include/asm/barrier.h | 22 -
arch/avr32/include/asm/bitops.h | 314 ---
arch/avr32/include/asm/bug.h | 78 -
arch/avr32/include/asm/bugs.h | 15 -
arch/avr32/include/asm/cache.h | 38 -
arch/avr32/include/asm/cacheflush.h | 132 --
arch/avr32/include/asm/checksum.h | 150 --
arch/avr32/include/asm/cmpxchg.h | 115 -
arch/avr32/include/asm/current.h | 15 -
arch/avr32/include/asm/dma-mapping.h | 14 -
arch/avr32/include/asm/dma.h | 8 -
arch/avr32/include/asm/elf.h | 105 -
arch/avr32/include/asm/fb.h | 21 -
arch/avr32/include/asm/ftrace.h | 1 -
arch/avr32/include/asm/gpio.h | 6 -
arch/avr32/include/asm/hardirq.h | 6 -
arch/avr32/include/asm/hw_irq.h | 9 -
arch/avr32/include/asm/io.h | 329 ---
arch/avr32/include/asm/irq.h | 24 -
arch/avr32/include/asm/irqflags.h | 61 -
arch/avr32/include/asm/kdebug.h | 12 -
arch/avr32/include/asm/kmap_types.h | 10 -
arch/avr32/include/asm/kprobes.h | 49 -
arch/avr32/include/asm/linkage.h | 7 -
arch/avr32/include/asm/mmu.h | 10 -
arch/avr32/include/asm/mmu_context.h | 148 --
arch/avr32/include/asm/module.h | 26 -
arch/avr32/include/asm/ocd.h | 543 -----
arch/avr32/include/asm/page.h | 104 -
arch/avr32/include/asm/pci.h | 8 -
arch/avr32/include/asm/pgalloc.h | 102 -
arch/avr32/include/asm/pgtable-2level.h | 47 -
arch/avr32/include/asm/pgtable.h | 347 ---
arch/avr32/include/asm/processor.h | 166 --
arch/avr32/include/asm/ptrace.h | 45 -
arch/avr32/include/asm/serial.h | 13 -
arch/avr32/include/asm/setup.h | 144 --
arch/avr32/include/asm/shmparam.h | 6 -
arch/avr32/include/asm/signal.h | 31 -
arch/avr32/include/asm/string.h | 17 -
arch/avr32/include/asm/switch_to.h | 49 -
arch/avr32/include/asm/syscalls.h | 21 -
arch/avr32/include/asm/sysreg.h | 291 ---
arch/avr32/include/asm/termios.h | 23 -
arch/avr32/include/asm/thread_info.h | 103 -
arch/avr32/include/asm/timex.h | 39 -
arch/avr32/include/asm/tlb.h | 32 -
arch/avr32/include/asm/tlbflush.h | 32 -
arch/avr32/include/asm/traps.h | 23 -
arch/avr32/include/asm/types.h | 19 -
arch/avr32/include/asm/uaccess.h | 337 ---
arch/avr32/include/asm/ucontext.h | 12 -
arch/avr32/include/asm/unaligned.h | 21 -
arch/avr32/include/asm/unistd.h | 44 -
arch/avr32/include/asm/user.h | 65 -
arch/avr32/include/uapi/asm/Kbuild | 36 -
arch/avr32/include/uapi/asm/auxvec.h | 4 -
arch/avr32/include/uapi/asm/byteorder.h | 9 -
arch/avr32/include/uapi/asm/cachectl.h | 11 -
arch/avr32/include/uapi/asm/msgbuf.h | 31 -
arch/avr32/include/uapi/asm/posix_types.h | 37 -
arch/avr32/include/uapi/asm/ptrace.h | 126 --
arch/avr32/include/uapi/asm/sembuf.h | 25 -
arch/avr32/include/uapi/asm/setup.h | 16 -
arch/avr32/include/uapi/asm/shmbuf.h | 42 -
arch/avr32/include/uapi/asm/sigcontext.h | 34 -
arch/avr32/include/uapi/asm/signal.h | 121 -
arch/avr32/include/uapi/asm/socket.h | 95 -
arch/avr32/include/uapi/asm/sockios.h | 13 -
arch/avr32/include/uapi/asm/stat.h | 79 -
arch/avr32/include/uapi/asm/swab.h | 35 -
arch/avr32/include/uapi/asm/termbits.h | 196 --
arch/avr32/include/uapi/asm/termios.h | 49 -
arch/avr32/include/uapi/asm/types.h | 13 -
arch/avr32/include/uapi/asm/unistd.h | 347 ---
arch/avr32/kernel/.gitignore | 1 -
arch/avr32/kernel/Makefile | 15 -
arch/avr32/kernel/asm-offsets.c | 24 -
arch/avr32/kernel/avr32_ksyms.c | 70 -
arch/avr32/kernel/cpu.c | 410 ----
arch/avr32/kernel/entry-avr32b.S | 877 --------
arch/avr32/kernel/head.S | 22 -
arch/avr32/kernel/irq.c | 28 -
arch/avr32/kernel/kprobes.c | 267 ---
arch/avr32/kernel/module.c | 291 ---
arch/avr32/kernel/nmi_debug.c | 82 -
arch/avr32/kernel/ocd.c | 167 --
arch/avr32/kernel/process.c | 355 ---
arch/avr32/kernel/ptrace.c | 356 ---
arch/avr32/kernel/setup.c | 609 -----
arch/avr32/kernel/signal.c | 288 ---
arch/avr32/kernel/stacktrace.c | 55 -
arch/avr32/kernel/switch_to.S | 35 -
arch/avr32/kernel/syscall-stubs.S | 153 --
arch/avr32/kernel/syscall_table.S | 347 ---
arch/avr32/kernel/time.c | 161 --
arch/avr32/kernel/traps.c | 262 ---
arch/avr32/kernel/vmlinux.lds.S | 89 -
arch/avr32/lib/Makefile | 11 -
arch/avr32/lib/__avr32_asr64.S | 31 -
arch/avr32/lib/__avr32_lsl64.S | 31 -
arch/avr32/lib/__avr32_lsr64.S | 31 -
arch/avr32/lib/clear_user.S | 76 -
arch/avr32/lib/copy_user.S | 119 -
arch/avr32/lib/csum_partial.S | 47 -
arch/avr32/lib/csum_partial_copy_generic.S | 99 -
arch/avr32/lib/delay.c | 57 -
arch/avr32/lib/findbit.S | 185 --
arch/avr32/lib/io-readsb.S | 49 -
arch/avr32/lib/io-readsl.S | 24 -
arch/avr32/lib/io-readsw.S | 43 -
arch/avr32/lib/io-writesb.S | 52 -
arch/avr32/lib/io-writesl.S | 20 -
arch/avr32/lib/io-writesw.S | 38 -
arch/avr32/lib/memcpy.S | 72 -
arch/avr32/lib/memset.S | 72 -
arch/avr32/lib/strncpy_from_user.S | 60 -
arch/avr32/lib/strnlen_user.S | 67 -
arch/avr32/mach-at32ap/Kconfig | 31 -
arch/avr32/mach-at32ap/Makefile | 8 -
arch/avr32/mach-at32ap/at32ap700x.c | 2368 --------------------
arch/avr32/mach-at32ap/clock.c | 334 ---
arch/avr32/mach-at32ap/clock.h | 35 -
arch/avr32/mach-at32ap/extint.c | 271 ---
arch/avr32/mach-at32ap/hmatrix.c | 88 -
arch/avr32/mach-at32ap/hsmc.c | 282 ---
arch/avr32/mach-at32ap/hsmc.h | 127 --
arch/avr32/mach-at32ap/include/mach/at32ap700x.h | 245 --
arch/avr32/mach-at32ap/include/mach/board.h | 115 -
arch/avr32/mach-at32ap/include/mach/chip.h | 19 -
arch/avr32/mach-at32ap/include/mach/cpu.h | 23 -
arch/avr32/mach-at32ap/include/mach/gpio.h | 45 -
arch/avr32/mach-at32ap/include/mach/hmatrix.h | 55 -
arch/avr32/mach-at32ap/include/mach/init.h | 18 -
arch/avr32/mach-at32ap/include/mach/io.h | 38 -
arch/avr32/mach-at32ap/include/mach/irq.h | 14 -
arch/avr32/mach-at32ap/include/mach/pm.h | 27 -
arch/avr32/mach-at32ap/include/mach/portmux.h | 30 -
arch/avr32/mach-at32ap/include/mach/smc.h | 113 -
arch/avr32/mach-at32ap/include/mach/sram.h | 30 -
arch/avr32/mach-at32ap/intc.c | 200 --
arch/avr32/mach-at32ap/intc.h | 329 ---
arch/avr32/mach-at32ap/pdc.c | 47 -
arch/avr32/mach-at32ap/pio.c | 470 ----
arch/avr32/mach-at32ap/pio.h | 180 --
arch/avr32/mach-at32ap/pm-at32ap700x.S | 167 --
arch/avr32/mach-at32ap/pm.c | 243 --
arch/avr32/mach-at32ap/pm.h | 112 -
arch/avr32/mach-at32ap/sdramc.h | 76 -
arch/avr32/mm/Makefile | 6 -
arch/avr32/mm/cache.c | 163 --
arch/avr32/mm/clear_page.S | 25 -
arch/avr32/mm/copy_page.S | 28 -
arch/avr32/mm/dma-coherent.c | 202 --
arch/avr32/mm/fault.c | 268 ---
arch/avr32/mm/init.c | 125 --
arch/avr32/mm/ioremap.c | 93 -
arch/avr32/mm/tlb.c | 375 ----
arch/avr32/oprofile/Makefile | 8 -
arch/avr32/oprofile/backtrace.c | 81 -
arch/avr32/oprofile/op_model_avr32.c | 236 --
scripts/checkstack.pl | 5 -
272 files changed, 11 insertions(+), 27083 deletions(-)
delete mode 100644 arch/avr32/Kconfig
delete mode 100644 arch/avr32/Kconfig.debug
delete mode 100644 arch/avr32/Makefile
delete mode 100644 arch/avr32/boards/atngw100/Kconfig
delete mode 100644 arch/avr32/boards/atngw100/Kconfig_mrmt
delete mode 100644 arch/avr32/boards/atngw100/Makefile
delete mode 100644 arch/avr32/boards/atngw100/evklcd10x.c
delete mode 100644 arch/avr32/boards/atngw100/flash.c
delete mode 100644 arch/avr32/boards/atngw100/mrmt.c
delete mode 100644 arch/avr32/boards/atngw100/setup.c
delete mode 100644 arch/avr32/boards/atstk1000/Kconfig
delete mode 100644 arch/avr32/boards/atstk1000/Makefile
delete mode 100644 arch/avr32/boards/atstk1000/atstk1000.h
delete mode 100644 arch/avr32/boards/atstk1000/atstk1002.c
delete mode 100644 arch/avr32/boards/atstk1000/atstk1003.c
delete mode 100644 arch/avr32/boards/atstk1000/atstk1004.c
delete mode 100644 arch/avr32/boards/atstk1000/flash.c
delete mode 100644 arch/avr32/boards/atstk1000/setup.c
delete mode 100644 arch/avr32/boards/favr-32/Kconfig
delete mode 100644 arch/avr32/boards/favr-32/Makefile
delete mode 100644 arch/avr32/boards/favr-32/flash.c
delete mode 100644 arch/avr32/boards/favr-32/setup.c
delete mode 100644 arch/avr32/boards/hammerhead/Kconfig
delete mode 100644 arch/avr32/boards/hammerhead/Makefile
delete mode 100644 arch/avr32/boards/hammerhead/flash.c
delete mode 100644 arch/avr32/boards/hammerhead/flash.h
delete mode 100644 arch/avr32/boards/hammerhead/setup.c
delete mode 100644 arch/avr32/boards/merisc/Kconfig
delete mode 100644 arch/avr32/boards/merisc/Makefile
delete mode 100644 arch/avr32/boards/merisc/display.c
delete mode 100644 arch/avr32/boards/merisc/flash.c
delete mode 100644 arch/avr32/boards/merisc/merisc.h
delete mode 100644 arch/avr32/boards/merisc/merisc_sysfs.c
delete mode 100644 arch/avr32/boards/merisc/setup.c
delete mode 100644 arch/avr32/boards/mimc200/Makefile
delete mode 100644 arch/avr32/boards/mimc200/flash.c
delete mode 100644 arch/avr32/boards/mimc200/setup.c
delete mode 100644 arch/avr32/boot/images/.gitignore
delete mode 100644 arch/avr32/boot/images/Makefile
delete mode 100644 arch/avr32/boot/u-boot/Makefile
delete mode 100644 arch/avr32/boot/u-boot/empty.S
delete mode 100644 arch/avr32/boot/u-boot/head.S
delete mode 100644 arch/avr32/configs/atngw100_defconfig
delete mode 100644 arch/avr32/configs/atngw100_evklcd100_defconfig
delete mode 100644 arch/avr32/configs/atngw100_evklcd101_defconfig
delete mode 100644 arch/avr32/configs/atngw100_mrmt_defconfig
delete mode 100644 arch/avr32/configs/atngw100mkii_defconfig
delete mode 100644 arch/avr32/configs/atngw100mkii_evklcd100_defconfig
delete mode 100644 arch/avr32/configs/atngw100mkii_evklcd101_defconfig
delete mode 100644 arch/avr32/configs/atstk1002_defconfig
delete mode 100644 arch/avr32/configs/atstk1003_defconfig
delete mode 100644 arch/avr32/configs/atstk1004_defconfig
delete mode 100644 arch/avr32/configs/atstk1006_defconfig
delete mode 100644 arch/avr32/configs/favr-32_defconfig
delete mode 100644 arch/avr32/configs/hammerhead_defconfig
delete mode 100644 arch/avr32/configs/merisc_defconfig
delete mode 100644 arch/avr32/configs/mimc200_defconfig
delete mode 100644 arch/avr32/include/asm/Kbuild
delete mode 100644 arch/avr32/include/asm/addrspace.h
delete mode 100644 arch/avr32/include/asm/asm-offsets.h
delete mode 100644 arch/avr32/include/asm/asm.h
delete mode 100644 arch/avr32/include/asm/atomic.h
delete mode 100644 arch/avr32/include/asm/barrier.h
delete mode 100644 arch/avr32/include/asm/bitops.h
delete mode 100644 arch/avr32/include/asm/bug.h
delete mode 100644 arch/avr32/include/asm/bugs.h
delete mode 100644 arch/avr32/include/asm/cache.h
delete mode 100644 arch/avr32/include/asm/cacheflush.h
delete mode 100644 arch/avr32/include/asm/checksum.h
delete mode 100644 arch/avr32/include/asm/cmpxchg.h
delete mode 100644 arch/avr32/include/asm/current.h
delete mode 100644 arch/avr32/include/asm/dma-mapping.h
delete mode 100644 arch/avr32/include/asm/dma.h
delete mode 100644 arch/avr32/include/asm/elf.h
delete mode 100644 arch/avr32/include/asm/fb.h
delete mode 100644 arch/avr32/include/asm/ftrace.h
delete mode 100644 arch/avr32/include/asm/gpio.h
delete mode 100644 arch/avr32/include/asm/hardirq.h
delete mode 100644 arch/avr32/include/asm/hw_irq.h
delete mode 100644 arch/avr32/include/asm/io.h
delete mode 100644 arch/avr32/include/asm/irq.h
delete mode 100644 arch/avr32/include/asm/irqflags.h
delete mode 100644 arch/avr32/include/asm/kdebug.h
delete mode 100644 arch/avr32/include/asm/kmap_types.h
delete mode 100644 arch/avr32/include/asm/kprobes.h
delete mode 100644 arch/avr32/include/asm/linkage.h
delete mode 100644 arch/avr32/include/asm/mmu.h
delete mode 100644 arch/avr32/include/asm/mmu_context.h
delete mode 100644 arch/avr32/include/asm/module.h
delete mode 100644 arch/avr32/include/asm/ocd.h
delete mode 100644 arch/avr32/include/asm/page.h
delete mode 100644 arch/avr32/include/asm/pci.h
delete mode 100644 arch/avr32/include/asm/pgalloc.h
delete mode 100644 arch/avr32/include/asm/pgtable-2level.h
delete mode 100644 arch/avr32/include/asm/pgtable.h
delete mode 100644 arch/avr32/include/asm/processor.h
delete mode 100644 arch/avr32/include/asm/ptrace.h
delete mode 100644 arch/avr32/include/asm/serial.h
delete mode 100644 arch/avr32/include/asm/setup.h
delete mode 100644 arch/avr32/include/asm/shmparam.h
delete mode 100644 arch/avr32/include/asm/signal.h
delete mode 100644 arch/avr32/include/asm/string.h
delete mode 100644 arch/avr32/include/asm/switch_to.h
delete mode 100644 arch/avr32/include/asm/syscalls.h
delete mode 100644 arch/avr32/include/asm/sysreg.h
delete mode 100644 arch/avr32/include/asm/termios.h
delete mode 100644 arch/avr32/include/asm/thread_info.h
delete mode 100644 arch/avr32/include/asm/timex.h
delete mode 100644 arch/avr32/include/asm/tlb.h
delete mode 100644 arch/avr32/include/asm/tlbflush.h
delete mode 100644 arch/avr32/include/asm/traps.h
delete mode 100644 arch/avr32/include/asm/types.h
delete mode 100644 arch/avr32/include/asm/uaccess.h
delete mode 100644 arch/avr32/include/asm/ucontext.h
delete mode 100644 arch/avr32/include/asm/unaligned.h
delete mode 100644 arch/avr32/include/asm/unistd.h
delete mode 100644 arch/avr32/include/asm/user.h
delete mode 100644 arch/avr32/include/uapi/asm/Kbuild
delete mode 100644 arch/avr32/include/uapi/asm/auxvec.h
delete mode 100644 arch/avr32/include/uapi/asm/byteorder.h
delete mode 100644 arch/avr32/include/uapi/asm/cachectl.h
delete mode 100644 arch/avr32/include/uapi/asm/msgbuf.h
delete mode 100644 arch/avr32/include/uapi/asm/posix_types.h
delete mode 100644 arch/avr32/include/uapi/asm/ptrace.h
delete mode 100644 arch/avr32/include/uapi/asm/sembuf.h
delete mode 100644 arch/avr32/include/uapi/asm/setup.h
delete mode 100644 arch/avr32/include/uapi/asm/shmbuf.h
delete mode 100644 arch/avr32/include/uapi/asm/sigcontext.h
delete mode 100644 arch/avr32/include/uapi/asm/signal.h
delete mode 100644 arch/avr32/include/uapi/asm/socket.h
delete mode 100644 arch/avr32/include/uapi/asm/sockios.h
delete mode 100644 arch/avr32/include/uapi/asm/stat.h
delete mode 100644 arch/avr32/include/uapi/asm/swab.h
delete mode 100644 arch/avr32/include/uapi/asm/termbits.h
delete mode 100644 arch/avr32/include/uapi/asm/termios.h
delete mode 100644 arch/avr32/include/uapi/asm/types.h
delete mode 100644 arch/avr32/include/uapi/asm/unistd.h
delete mode 100644 arch/avr32/kernel/.gitignore
delete mode 100644 arch/avr32/kernel/Makefile
delete mode 100644 arch/avr32/kernel/asm-offsets.c
delete mode 100644 arch/avr32/kernel/avr32_ksyms.c
delete mode 100644 arch/avr32/kernel/cpu.c
delete mode 100644 arch/avr32/kernel/entry-avr32b.S
delete mode 100644 arch/avr32/kernel/head.S
delete mode 100644 arch/avr32/kernel/irq.c
delete mode 100644 arch/avr32/kernel/kprobes.c
delete mode 100644 arch/avr32/kernel/module.c
delete mode 100644 arch/avr32/kernel/nmi_debug.c
delete mode 100644 arch/avr32/kernel/ocd.c
delete mode 100644 arch/avr32/kernel/process.c
delete mode 100644 arch/avr32/kernel/ptrace.c
delete mode 100644 arch/avr32/kernel/setup.c
delete mode 100644 arch/avr32/kernel/signal.c
delete mode 100644 arch/avr32/kernel/stacktrace.c
delete mode 100644 arch/avr32/kernel/switch_to.S
delete mode 100644 arch/avr32/kernel/syscall-stubs.S
delete mode 100644 arch/avr32/kernel/syscall_table.S
delete mode 100644 arch/avr32/kernel/time.c
delete mode 100644 arch/avr32/kernel/traps.c
delete mode 100644 arch/avr32/kernel/vmlinux.lds.S
delete mode 100644 arch/avr32/lib/Makefile
delete mode 100644 arch/avr32/lib/__avr32_asr64.S
delete mode 100644 arch/avr32/lib/__avr32_lsl64.S
delete mode 100644 arch/avr32/lib/__avr32_lsr64.S
delete mode 100644 arch/avr32/lib/clear_user.S
delete mode 100644 arch/avr32/lib/copy_user.S
delete mode 100644 arch/avr32/lib/csum_partial.S
delete mode 100644 arch/avr32/lib/csum_partial_copy_generic.S
delete mode 100644 arch/avr32/lib/delay.c
delete mode 100644 arch/avr32/lib/findbit.S
delete mode 100644 arch/avr32/lib/io-readsb.S
delete mode 100644 arch/avr32/lib/io-readsl.S
delete mode 100644 arch/avr32/lib/io-readsw.S
delete mode 100644 arch/avr32/lib/io-writesb.S
delete mode 100644 arch/avr32/lib/io-writesl.S
delete mode 100644 arch/avr32/lib/io-writesw.S
delete mode 100644 arch/avr32/lib/memcpy.S
delete mode 100644 arch/avr32/lib/memset.S
delete mode 100644 arch/avr32/lib/strncpy_from_user.S
delete mode 100644 arch/avr32/lib/strnlen_user.S
delete mode 100644 arch/avr32/mach-at32ap/Kconfig
delete mode 100644 arch/avr32/mach-at32ap/Makefile
delete mode 100644 arch/avr32/mach-at32ap/at32ap700x.c
delete mode 100644 arch/avr32/mach-at32ap/clock.c
delete mode 100644 arch/avr32/mach-at32ap/clock.h
delete mode 100644 arch/avr32/mach-at32ap/extint.c
delete mode 100644 arch/avr32/mach-at32ap/hmatrix.c
delete mode 100644 arch/avr32/mach-at32ap/hsmc.c
delete mode 100644 arch/avr32/mach-at32ap/hsmc.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/at32ap700x.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/board.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/chip.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/cpu.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/gpio.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/hmatrix.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/init.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/io.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/irq.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/pm.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/portmux.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/smc.h
delete mode 100644 arch/avr32/mach-at32ap/include/mach/sram.h
delete mode 100644 arch/avr32/mach-at32ap/intc.c
delete mode 100644 arch/avr32/mach-at32ap/intc.h
delete mode 100644 arch/avr32/mach-at32ap/pdc.c
delete mode 100644 arch/avr32/mach-at32ap/pio.c
delete mode 100644 arch/avr32/mach-at32ap/pio.h
delete mode 100644 arch/avr32/mach-at32ap/pm-at32ap700x.S
delete mode 100644 arch/avr32/mach-at32ap/pm.c
delete mode 100644 arch/avr32/mach-at32ap/pm.h
delete mode 100644 arch/avr32/mach-at32ap/sdramc.h
delete mode 100644 arch/avr32/mm/Makefile
delete mode 100644 arch/avr32/mm/cache.c
delete mode 100644 arch/avr32/mm/clear_page.S
delete mode 100644 arch/avr32/mm/copy_page.S
delete mode 100644 arch/avr32/mm/dma-coherent.c
delete mode 100644 arch/avr32/mm/fault.c
delete mode 100644 arch/avr32/mm/init.c
delete mode 100644 arch/avr32/mm/ioremap.c
delete mode 100644 arch/avr32/mm/tlb.c
delete mode 100644 arch/avr32/oprofile/Makefile
delete mode 100644 arch/avr32/oprofile/backtrace.c
delete mode 100644 arch/avr32/oprofile/op_model_avr32.c

--
Best regards,
Hans-Christian Noren Egtvedt


2017-03-01 21:45:34

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [RFC] remove support for AVR32 architecture

On Wed, Mar 1, 2017 at 10:44 PM, Hans-Christian Noren Egtvedt
<[email protected]> wrote:
> Hello all,
>
> The AVR32 architecture is not keeping up with the development of the kernel,
> and since it shares so much of the drivers with Atmel ARM SoC, it is starting
> to hinder these drivers to develop swiftly.
>
> Also, all AVR32 AP7 SoC processors are end of lifed from Atmel (now
> Microchip).
>
> Finally, the GCC toolchain is stuck at version 4.2.x, and has not received
> any patches since the last release from Atmel;
> 4.2.4-atmel.1.1.3.avr32linux.1. When building kernel v4.10, this toolchain is
> no longer able to properly link the network stack.

For the record Buildroot distribution removed support back to 2015 IIRC.

commit 80be8753d5bacc865ceeee26c55bf4b0c2940e10
Author: Yann E. MORIN <[email protected]>
Date: Sat Feb 14 10:23:15 2015 +0100

arch/avr32: decommission for real

OTOH U-Boot still has it, but I didn't check if it even compiles.

> Haavard and I have came to the conclusion that we feel keeping AVR32 on life
> support offers more obstacles for Atmel ARMs, than it gives joy to AVR32
> users. I also suspect there are very few AVR32 users left today, if anybody
> at all.
>
> I have prepared three patches in my for-linus branch in git tree
> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git
>
> Shortlog below, patches not inlined as they are quite large IMHO.
>
> I will send a formal pull request to Linus unless anybody objects loudly.
>
> I have also prepare patches for removing AVR32 specific kernel drivers, I
> will send those to the relevant subsystem maintainers.
>

Eager to give my
Acked-by: Andy Shevchenko <[email protected]>
since it's a real burden and ugliness in drivers/dma/dw/core.c due to AVR32.

> Hans-Christian Noren Egtvedt (3):
> avr32: remove support for AVR32 architecture
> docs: remove all references to AVR32 architecture
> scripts: remove AVR32 support from checkstack.pl
>
> CREDITS | 8 +
> Documentation/admin-guide/README.rst | 2 +-
> Documentation/admin-guide/kernel-parameters.rst | 1 -
> Documentation/admin-guide/kernel-parameters.txt | 3 +-
> .../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 -
> .../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/media/v4l-drivers/soc-camera.rst | 2 +-
> MAINTAINERS | 15 -
> arch/avr32/Kconfig | 288 ---
> arch/avr32/Kconfig.debug | 9 -
> arch/avr32/Makefile | 84 -
> arch/avr32/boards/atngw100/Kconfig | 65 -
> arch/avr32/boards/atngw100/Kconfig_mrmt | 80 -
> arch/avr32/boards/atngw100/Makefile | 3 -
> arch/avr32/boards/atngw100/evklcd10x.c | 178 --
> arch/avr32/boards/atngw100/flash.c | 98 -
> arch/avr32/boards/atngw100/mrmt.c | 382 ----
> arch/avr32/boards/atngw100/setup.c | 324 ---
> arch/avr32/boards/atstk1000/Kconfig | 109 -
> arch/avr32/boards/atstk1000/Makefile | 5 -
> arch/avr32/boards/atstk1000/atstk1000.h | 17 -
> arch/avr32/boards/atstk1000/atstk1002.c | 330 ---
> arch/avr32/boards/atstk1000/atstk1003.c | 162 --
> arch/avr32/boards/atstk1000/atstk1004.c | 164 --
> arch/avr32/boards/atstk1000/flash.c | 98 -
> arch/avr32/boards/atstk1000/setup.c | 127 --
> arch/avr32/boards/favr-32/Kconfig | 22 -
> arch/avr32/boards/favr-32/Makefile | 1 -
> arch/avr32/boards/favr-32/flash.c | 98 -
> arch/avr32/boards/favr-32/setup.c | 366 ---
> arch/avr32/boards/hammerhead/Kconfig | 43 -
> arch/avr32/boards/hammerhead/Makefile | 1 -
> arch/avr32/boards/hammerhead/flash.c | 381 ----
> arch/avr32/boards/hammerhead/flash.h | 6 -
> arch/avr32/boards/hammerhead/setup.c | 247 --
> arch/avr32/boards/merisc/Kconfig | 5 -
> arch/avr32/boards/merisc/Makefile | 1 -
> arch/avr32/boards/merisc/display.c | 65 -
> arch/avr32/boards/merisc/flash.c | 139 --
> arch/avr32/boards/merisc/merisc.h | 18 -
> arch/avr32/boards/merisc/merisc_sysfs.c | 64 -
> arch/avr32/boards/merisc/setup.c | 305 ---
> arch/avr32/boards/mimc200/Makefile | 1 -
> arch/avr32/boards/mimc200/flash.c | 143 --
> arch/avr32/boards/mimc200/setup.c | 236 --
> arch/avr32/boot/images/.gitignore | 4 -
> arch/avr32/boot/images/Makefile | 57 -
> arch/avr32/boot/u-boot/Makefile | 3 -
> arch/avr32/boot/u-boot/empty.S | 1 -
> arch/avr32/boot/u-boot/head.S | 83 -
> arch/avr32/configs/atngw100_defconfig | 142 --
> arch/avr32/configs/atngw100_evklcd100_defconfig | 158 --
> arch/avr32/configs/atngw100_evklcd101_defconfig | 157 --
> arch/avr32/configs/atngw100_mrmt_defconfig | 136 --
> arch/avr32/configs/atngw100mkii_defconfig | 144 --
> .../avr32/configs/atngw100mkii_evklcd100_defconfig | 161 --
> .../avr32/configs/atngw100mkii_evklcd101_defconfig | 160 --
> arch/avr32/configs/atstk1002_defconfig | 157 --
> arch/avr32/configs/atstk1003_defconfig | 137 --
> arch/avr32/configs/atstk1004_defconfig | 135 --
> arch/avr32/configs/atstk1006_defconfig | 160 --
> arch/avr32/configs/favr-32_defconfig | 143 --
> arch/avr32/configs/hammerhead_defconfig | 145 --
> arch/avr32/configs/merisc_defconfig | 115 -
> arch/avr32/configs/mimc200_defconfig | 114 -
> arch/avr32/include/asm/Kbuild | 24 -
> arch/avr32/include/asm/addrspace.h | 43 -
> arch/avr32/include/asm/asm-offsets.h | 1 -
> arch/avr32/include/asm/asm.h | 102 -
> arch/avr32/include/asm/atomic.h | 243 --
> arch/avr32/include/asm/barrier.h | 22 -
> arch/avr32/include/asm/bitops.h | 314 ---
> arch/avr32/include/asm/bug.h | 78 -
> arch/avr32/include/asm/bugs.h | 15 -
> arch/avr32/include/asm/cache.h | 38 -
> arch/avr32/include/asm/cacheflush.h | 132 --
> arch/avr32/include/asm/checksum.h | 150 --
> arch/avr32/include/asm/cmpxchg.h | 115 -
> arch/avr32/include/asm/current.h | 15 -
> arch/avr32/include/asm/dma-mapping.h | 14 -
> arch/avr32/include/asm/dma.h | 8 -
> arch/avr32/include/asm/elf.h | 105 -
> arch/avr32/include/asm/fb.h | 21 -
> arch/avr32/include/asm/ftrace.h | 1 -
> arch/avr32/include/asm/gpio.h | 6 -
> arch/avr32/include/asm/hardirq.h | 6 -
> arch/avr32/include/asm/hw_irq.h | 9 -
> arch/avr32/include/asm/io.h | 329 ---
> arch/avr32/include/asm/irq.h | 24 -
> arch/avr32/include/asm/irqflags.h | 61 -
> arch/avr32/include/asm/kdebug.h | 12 -
> arch/avr32/include/asm/kmap_types.h | 10 -
> arch/avr32/include/asm/kprobes.h | 49 -
> arch/avr32/include/asm/linkage.h | 7 -
> arch/avr32/include/asm/mmu.h | 10 -
> arch/avr32/include/asm/mmu_context.h | 148 --
> arch/avr32/include/asm/module.h | 26 -
> arch/avr32/include/asm/ocd.h | 543 -----
> arch/avr32/include/asm/page.h | 104 -
> arch/avr32/include/asm/pci.h | 8 -
> arch/avr32/include/asm/pgalloc.h | 102 -
> arch/avr32/include/asm/pgtable-2level.h | 47 -
> arch/avr32/include/asm/pgtable.h | 347 ---
> arch/avr32/include/asm/processor.h | 166 --
> arch/avr32/include/asm/ptrace.h | 45 -
> arch/avr32/include/asm/serial.h | 13 -
> arch/avr32/include/asm/setup.h | 144 --
> arch/avr32/include/asm/shmparam.h | 6 -
> arch/avr32/include/asm/signal.h | 31 -
> arch/avr32/include/asm/string.h | 17 -
> arch/avr32/include/asm/switch_to.h | 49 -
> arch/avr32/include/asm/syscalls.h | 21 -
> arch/avr32/include/asm/sysreg.h | 291 ---
> arch/avr32/include/asm/termios.h | 23 -
> arch/avr32/include/asm/thread_info.h | 103 -
> arch/avr32/include/asm/timex.h | 39 -
> arch/avr32/include/asm/tlb.h | 32 -
> arch/avr32/include/asm/tlbflush.h | 32 -
> arch/avr32/include/asm/traps.h | 23 -
> arch/avr32/include/asm/types.h | 19 -
> arch/avr32/include/asm/uaccess.h | 337 ---
> arch/avr32/include/asm/ucontext.h | 12 -
> arch/avr32/include/asm/unaligned.h | 21 -
> arch/avr32/include/asm/unistd.h | 44 -
> arch/avr32/include/asm/user.h | 65 -
> arch/avr32/include/uapi/asm/Kbuild | 36 -
> arch/avr32/include/uapi/asm/auxvec.h | 4 -
> arch/avr32/include/uapi/asm/byteorder.h | 9 -
> arch/avr32/include/uapi/asm/cachectl.h | 11 -
> arch/avr32/include/uapi/asm/msgbuf.h | 31 -
> arch/avr32/include/uapi/asm/posix_types.h | 37 -
> arch/avr32/include/uapi/asm/ptrace.h | 126 --
> arch/avr32/include/uapi/asm/sembuf.h | 25 -
> arch/avr32/include/uapi/asm/setup.h | 16 -
> arch/avr32/include/uapi/asm/shmbuf.h | 42 -
> arch/avr32/include/uapi/asm/sigcontext.h | 34 -
> arch/avr32/include/uapi/asm/signal.h | 121 -
> arch/avr32/include/uapi/asm/socket.h | 95 -
> arch/avr32/include/uapi/asm/sockios.h | 13 -
> arch/avr32/include/uapi/asm/stat.h | 79 -
> arch/avr32/include/uapi/asm/swab.h | 35 -
> arch/avr32/include/uapi/asm/termbits.h | 196 --
> arch/avr32/include/uapi/asm/termios.h | 49 -
> arch/avr32/include/uapi/asm/types.h | 13 -
> arch/avr32/include/uapi/asm/unistd.h | 347 ---
> arch/avr32/kernel/.gitignore | 1 -
> arch/avr32/kernel/Makefile | 15 -
> arch/avr32/kernel/asm-offsets.c | 24 -
> arch/avr32/kernel/avr32_ksyms.c | 70 -
> arch/avr32/kernel/cpu.c | 410 ----
> arch/avr32/kernel/entry-avr32b.S | 877 --------
> arch/avr32/kernel/head.S | 22 -
> arch/avr32/kernel/irq.c | 28 -
> arch/avr32/kernel/kprobes.c | 267 ---
> arch/avr32/kernel/module.c | 291 ---
> arch/avr32/kernel/nmi_debug.c | 82 -
> arch/avr32/kernel/ocd.c | 167 --
> arch/avr32/kernel/process.c | 355 ---
> arch/avr32/kernel/ptrace.c | 356 ---
> arch/avr32/kernel/setup.c | 609 -----
> arch/avr32/kernel/signal.c | 288 ---
> arch/avr32/kernel/stacktrace.c | 55 -
> arch/avr32/kernel/switch_to.S | 35 -
> arch/avr32/kernel/syscall-stubs.S | 153 --
> arch/avr32/kernel/syscall_table.S | 347 ---
> arch/avr32/kernel/time.c | 161 --
> arch/avr32/kernel/traps.c | 262 ---
> arch/avr32/kernel/vmlinux.lds.S | 89 -
> arch/avr32/lib/Makefile | 11 -
> arch/avr32/lib/__avr32_asr64.S | 31 -
> arch/avr32/lib/__avr32_lsl64.S | 31 -
> arch/avr32/lib/__avr32_lsr64.S | 31 -
> arch/avr32/lib/clear_user.S | 76 -
> arch/avr32/lib/copy_user.S | 119 -
> arch/avr32/lib/csum_partial.S | 47 -
> arch/avr32/lib/csum_partial_copy_generic.S | 99 -
> arch/avr32/lib/delay.c | 57 -
> arch/avr32/lib/findbit.S | 185 --
> arch/avr32/lib/io-readsb.S | 49 -
> arch/avr32/lib/io-readsl.S | 24 -
> arch/avr32/lib/io-readsw.S | 43 -
> arch/avr32/lib/io-writesb.S | 52 -
> arch/avr32/lib/io-writesl.S | 20 -
> arch/avr32/lib/io-writesw.S | 38 -
> arch/avr32/lib/memcpy.S | 72 -
> arch/avr32/lib/memset.S | 72 -
> arch/avr32/lib/strncpy_from_user.S | 60 -
> arch/avr32/lib/strnlen_user.S | 67 -
> arch/avr32/mach-at32ap/Kconfig | 31 -
> arch/avr32/mach-at32ap/Makefile | 8 -
> arch/avr32/mach-at32ap/at32ap700x.c | 2368 --------------------
> arch/avr32/mach-at32ap/clock.c | 334 ---
> arch/avr32/mach-at32ap/clock.h | 35 -
> arch/avr32/mach-at32ap/extint.c | 271 ---
> arch/avr32/mach-at32ap/hmatrix.c | 88 -
> arch/avr32/mach-at32ap/hsmc.c | 282 ---
> arch/avr32/mach-at32ap/hsmc.h | 127 --
> arch/avr32/mach-at32ap/include/mach/at32ap700x.h | 245 --
> arch/avr32/mach-at32ap/include/mach/board.h | 115 -
> arch/avr32/mach-at32ap/include/mach/chip.h | 19 -
> arch/avr32/mach-at32ap/include/mach/cpu.h | 23 -
> arch/avr32/mach-at32ap/include/mach/gpio.h | 45 -
> arch/avr32/mach-at32ap/include/mach/hmatrix.h | 55 -
> arch/avr32/mach-at32ap/include/mach/init.h | 18 -
> arch/avr32/mach-at32ap/include/mach/io.h | 38 -
> arch/avr32/mach-at32ap/include/mach/irq.h | 14 -
> arch/avr32/mach-at32ap/include/mach/pm.h | 27 -
> arch/avr32/mach-at32ap/include/mach/portmux.h | 30 -
> arch/avr32/mach-at32ap/include/mach/smc.h | 113 -
> arch/avr32/mach-at32ap/include/mach/sram.h | 30 -
> arch/avr32/mach-at32ap/intc.c | 200 --
> arch/avr32/mach-at32ap/intc.h | 329 ---
> arch/avr32/mach-at32ap/pdc.c | 47 -
> arch/avr32/mach-at32ap/pio.c | 470 ----
> arch/avr32/mach-at32ap/pio.h | 180 --
> arch/avr32/mach-at32ap/pm-at32ap700x.S | 167 --
> arch/avr32/mach-at32ap/pm.c | 243 --
> arch/avr32/mach-at32ap/pm.h | 112 -
> arch/avr32/mach-at32ap/sdramc.h | 76 -
> arch/avr32/mm/Makefile | 6 -
> arch/avr32/mm/cache.c | 163 --
> arch/avr32/mm/clear_page.S | 25 -
> arch/avr32/mm/copy_page.S | 28 -
> arch/avr32/mm/dma-coherent.c | 202 --
> arch/avr32/mm/fault.c | 268 ---
> arch/avr32/mm/init.c | 125 --
> arch/avr32/mm/ioremap.c | 93 -
> arch/avr32/mm/tlb.c | 375 ----
> arch/avr32/oprofile/Makefile | 8 -
> arch/avr32/oprofile/backtrace.c | 81 -
> arch/avr32/oprofile/op_model_avr32.c | 236 --
> scripts/checkstack.pl | 5 -
> 272 files changed, 11 insertions(+), 27083 deletions(-)
> delete mode 100644 arch/avr32/Kconfig
> delete mode 100644 arch/avr32/Kconfig.debug
> delete mode 100644 arch/avr32/Makefile
> delete mode 100644 arch/avr32/boards/atngw100/Kconfig
> delete mode 100644 arch/avr32/boards/atngw100/Kconfig_mrmt
> delete mode 100644 arch/avr32/boards/atngw100/Makefile
> delete mode 100644 arch/avr32/boards/atngw100/evklcd10x.c
> delete mode 100644 arch/avr32/boards/atngw100/flash.c
> delete mode 100644 arch/avr32/boards/atngw100/mrmt.c
> delete mode 100644 arch/avr32/boards/atngw100/setup.c
> delete mode 100644 arch/avr32/boards/atstk1000/Kconfig
> delete mode 100644 arch/avr32/boards/atstk1000/Makefile
> delete mode 100644 arch/avr32/boards/atstk1000/atstk1000.h
> delete mode 100644 arch/avr32/boards/atstk1000/atstk1002.c
> delete mode 100644 arch/avr32/boards/atstk1000/atstk1003.c
> delete mode 100644 arch/avr32/boards/atstk1000/atstk1004.c
> delete mode 100644 arch/avr32/boards/atstk1000/flash.c
> delete mode 100644 arch/avr32/boards/atstk1000/setup.c
> delete mode 100644 arch/avr32/boards/favr-32/Kconfig
> delete mode 100644 arch/avr32/boards/favr-32/Makefile
> delete mode 100644 arch/avr32/boards/favr-32/flash.c
> delete mode 100644 arch/avr32/boards/favr-32/setup.c
> delete mode 100644 arch/avr32/boards/hammerhead/Kconfig
> delete mode 100644 arch/avr32/boards/hammerhead/Makefile
> delete mode 100644 arch/avr32/boards/hammerhead/flash.c
> delete mode 100644 arch/avr32/boards/hammerhead/flash.h
> delete mode 100644 arch/avr32/boards/hammerhead/setup.c
> delete mode 100644 arch/avr32/boards/merisc/Kconfig
> delete mode 100644 arch/avr32/boards/merisc/Makefile
> delete mode 100644 arch/avr32/boards/merisc/display.c
> delete mode 100644 arch/avr32/boards/merisc/flash.c
> delete mode 100644 arch/avr32/boards/merisc/merisc.h
> delete mode 100644 arch/avr32/boards/merisc/merisc_sysfs.c
> delete mode 100644 arch/avr32/boards/merisc/setup.c
> delete mode 100644 arch/avr32/boards/mimc200/Makefile
> delete mode 100644 arch/avr32/boards/mimc200/flash.c
> delete mode 100644 arch/avr32/boards/mimc200/setup.c
> delete mode 100644 arch/avr32/boot/images/.gitignore
> delete mode 100644 arch/avr32/boot/images/Makefile
> delete mode 100644 arch/avr32/boot/u-boot/Makefile
> delete mode 100644 arch/avr32/boot/u-boot/empty.S
> delete mode 100644 arch/avr32/boot/u-boot/head.S
> delete mode 100644 arch/avr32/configs/atngw100_defconfig
> delete mode 100644 arch/avr32/configs/atngw100_evklcd100_defconfig
> delete mode 100644 arch/avr32/configs/atngw100_evklcd101_defconfig
> delete mode 100644 arch/avr32/configs/atngw100_mrmt_defconfig
> delete mode 100644 arch/avr32/configs/atngw100mkii_defconfig
> delete mode 100644 arch/avr32/configs/atngw100mkii_evklcd100_defconfig
> delete mode 100644 arch/avr32/configs/atngw100mkii_evklcd101_defconfig
> delete mode 100644 arch/avr32/configs/atstk1002_defconfig
> delete mode 100644 arch/avr32/configs/atstk1003_defconfig
> delete mode 100644 arch/avr32/configs/atstk1004_defconfig
> delete mode 100644 arch/avr32/configs/atstk1006_defconfig
> delete mode 100644 arch/avr32/configs/favr-32_defconfig
> delete mode 100644 arch/avr32/configs/hammerhead_defconfig
> delete mode 100644 arch/avr32/configs/merisc_defconfig
> delete mode 100644 arch/avr32/configs/mimc200_defconfig
> delete mode 100644 arch/avr32/include/asm/Kbuild
> delete mode 100644 arch/avr32/include/asm/addrspace.h
> delete mode 100644 arch/avr32/include/asm/asm-offsets.h
> delete mode 100644 arch/avr32/include/asm/asm.h
> delete mode 100644 arch/avr32/include/asm/atomic.h
> delete mode 100644 arch/avr32/include/asm/barrier.h
> delete mode 100644 arch/avr32/include/asm/bitops.h
> delete mode 100644 arch/avr32/include/asm/bug.h
> delete mode 100644 arch/avr32/include/asm/bugs.h
> delete mode 100644 arch/avr32/include/asm/cache.h
> delete mode 100644 arch/avr32/include/asm/cacheflush.h
> delete mode 100644 arch/avr32/include/asm/checksum.h
> delete mode 100644 arch/avr32/include/asm/cmpxchg.h
> delete mode 100644 arch/avr32/include/asm/current.h
> delete mode 100644 arch/avr32/include/asm/dma-mapping.h
> delete mode 100644 arch/avr32/include/asm/dma.h
> delete mode 100644 arch/avr32/include/asm/elf.h
> delete mode 100644 arch/avr32/include/asm/fb.h
> delete mode 100644 arch/avr32/include/asm/ftrace.h
> delete mode 100644 arch/avr32/include/asm/gpio.h
> delete mode 100644 arch/avr32/include/asm/hardirq.h
> delete mode 100644 arch/avr32/include/asm/hw_irq.h
> delete mode 100644 arch/avr32/include/asm/io.h
> delete mode 100644 arch/avr32/include/asm/irq.h
> delete mode 100644 arch/avr32/include/asm/irqflags.h
> delete mode 100644 arch/avr32/include/asm/kdebug.h
> delete mode 100644 arch/avr32/include/asm/kmap_types.h
> delete mode 100644 arch/avr32/include/asm/kprobes.h
> delete mode 100644 arch/avr32/include/asm/linkage.h
> delete mode 100644 arch/avr32/include/asm/mmu.h
> delete mode 100644 arch/avr32/include/asm/mmu_context.h
> delete mode 100644 arch/avr32/include/asm/module.h
> delete mode 100644 arch/avr32/include/asm/ocd.h
> delete mode 100644 arch/avr32/include/asm/page.h
> delete mode 100644 arch/avr32/include/asm/pci.h
> delete mode 100644 arch/avr32/include/asm/pgalloc.h
> delete mode 100644 arch/avr32/include/asm/pgtable-2level.h
> delete mode 100644 arch/avr32/include/asm/pgtable.h
> delete mode 100644 arch/avr32/include/asm/processor.h
> delete mode 100644 arch/avr32/include/asm/ptrace.h
> delete mode 100644 arch/avr32/include/asm/serial.h
> delete mode 100644 arch/avr32/include/asm/setup.h
> delete mode 100644 arch/avr32/include/asm/shmparam.h
> delete mode 100644 arch/avr32/include/asm/signal.h
> delete mode 100644 arch/avr32/include/asm/string.h
> delete mode 100644 arch/avr32/include/asm/switch_to.h
> delete mode 100644 arch/avr32/include/asm/syscalls.h
> delete mode 100644 arch/avr32/include/asm/sysreg.h
> delete mode 100644 arch/avr32/include/asm/termios.h
> delete mode 100644 arch/avr32/include/asm/thread_info.h
> delete mode 100644 arch/avr32/include/asm/timex.h
> delete mode 100644 arch/avr32/include/asm/tlb.h
> delete mode 100644 arch/avr32/include/asm/tlbflush.h
> delete mode 100644 arch/avr32/include/asm/traps.h
> delete mode 100644 arch/avr32/include/asm/types.h
> delete mode 100644 arch/avr32/include/asm/uaccess.h
> delete mode 100644 arch/avr32/include/asm/ucontext.h
> delete mode 100644 arch/avr32/include/asm/unaligned.h
> delete mode 100644 arch/avr32/include/asm/unistd.h
> delete mode 100644 arch/avr32/include/asm/user.h
> delete mode 100644 arch/avr32/include/uapi/asm/Kbuild
> delete mode 100644 arch/avr32/include/uapi/asm/auxvec.h
> delete mode 100644 arch/avr32/include/uapi/asm/byteorder.h
> delete mode 100644 arch/avr32/include/uapi/asm/cachectl.h
> delete mode 100644 arch/avr32/include/uapi/asm/msgbuf.h
> delete mode 100644 arch/avr32/include/uapi/asm/posix_types.h
> delete mode 100644 arch/avr32/include/uapi/asm/ptrace.h
> delete mode 100644 arch/avr32/include/uapi/asm/sembuf.h
> delete mode 100644 arch/avr32/include/uapi/asm/setup.h
> delete mode 100644 arch/avr32/include/uapi/asm/shmbuf.h
> delete mode 100644 arch/avr32/include/uapi/asm/sigcontext.h
> delete mode 100644 arch/avr32/include/uapi/asm/signal.h
> delete mode 100644 arch/avr32/include/uapi/asm/socket.h
> delete mode 100644 arch/avr32/include/uapi/asm/sockios.h
> delete mode 100644 arch/avr32/include/uapi/asm/stat.h
> delete mode 100644 arch/avr32/include/uapi/asm/swab.h
> delete mode 100644 arch/avr32/include/uapi/asm/termbits.h
> delete mode 100644 arch/avr32/include/uapi/asm/termios.h
> delete mode 100644 arch/avr32/include/uapi/asm/types.h
> delete mode 100644 arch/avr32/include/uapi/asm/unistd.h
> delete mode 100644 arch/avr32/kernel/.gitignore
> delete mode 100644 arch/avr32/kernel/Makefile
> delete mode 100644 arch/avr32/kernel/asm-offsets.c
> delete mode 100644 arch/avr32/kernel/avr32_ksyms.c
> delete mode 100644 arch/avr32/kernel/cpu.c
> delete mode 100644 arch/avr32/kernel/entry-avr32b.S
> delete mode 100644 arch/avr32/kernel/head.S
> delete mode 100644 arch/avr32/kernel/irq.c
> delete mode 100644 arch/avr32/kernel/kprobes.c
> delete mode 100644 arch/avr32/kernel/module.c
> delete mode 100644 arch/avr32/kernel/nmi_debug.c
> delete mode 100644 arch/avr32/kernel/ocd.c
> delete mode 100644 arch/avr32/kernel/process.c
> delete mode 100644 arch/avr32/kernel/ptrace.c
> delete mode 100644 arch/avr32/kernel/setup.c
> delete mode 100644 arch/avr32/kernel/signal.c
> delete mode 100644 arch/avr32/kernel/stacktrace.c
> delete mode 100644 arch/avr32/kernel/switch_to.S
> delete mode 100644 arch/avr32/kernel/syscall-stubs.S
> delete mode 100644 arch/avr32/kernel/syscall_table.S
> delete mode 100644 arch/avr32/kernel/time.c
> delete mode 100644 arch/avr32/kernel/traps.c
> delete mode 100644 arch/avr32/kernel/vmlinux.lds.S
> delete mode 100644 arch/avr32/lib/Makefile
> delete mode 100644 arch/avr32/lib/__avr32_asr64.S
> delete mode 100644 arch/avr32/lib/__avr32_lsl64.S
> delete mode 100644 arch/avr32/lib/__avr32_lsr64.S
> delete mode 100644 arch/avr32/lib/clear_user.S
> delete mode 100644 arch/avr32/lib/copy_user.S
> delete mode 100644 arch/avr32/lib/csum_partial.S
> delete mode 100644 arch/avr32/lib/csum_partial_copy_generic.S
> delete mode 100644 arch/avr32/lib/delay.c
> delete mode 100644 arch/avr32/lib/findbit.S
> delete mode 100644 arch/avr32/lib/io-readsb.S
> delete mode 100644 arch/avr32/lib/io-readsl.S
> delete mode 100644 arch/avr32/lib/io-readsw.S
> delete mode 100644 arch/avr32/lib/io-writesb.S
> delete mode 100644 arch/avr32/lib/io-writesl.S
> delete mode 100644 arch/avr32/lib/io-writesw.S
> delete mode 100644 arch/avr32/lib/memcpy.S
> delete mode 100644 arch/avr32/lib/memset.S
> delete mode 100644 arch/avr32/lib/strncpy_from_user.S
> delete mode 100644 arch/avr32/lib/strnlen_user.S
> delete mode 100644 arch/avr32/mach-at32ap/Kconfig
> delete mode 100644 arch/avr32/mach-at32ap/Makefile
> delete mode 100644 arch/avr32/mach-at32ap/at32ap700x.c
> delete mode 100644 arch/avr32/mach-at32ap/clock.c
> delete mode 100644 arch/avr32/mach-at32ap/clock.h
> delete mode 100644 arch/avr32/mach-at32ap/extint.c
> delete mode 100644 arch/avr32/mach-at32ap/hmatrix.c
> delete mode 100644 arch/avr32/mach-at32ap/hsmc.c
> delete mode 100644 arch/avr32/mach-at32ap/hsmc.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/at32ap700x.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/board.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/chip.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/cpu.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/gpio.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/hmatrix.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/init.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/io.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/irq.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/pm.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/portmux.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/smc.h
> delete mode 100644 arch/avr32/mach-at32ap/include/mach/sram.h
> delete mode 100644 arch/avr32/mach-at32ap/intc.c
> delete mode 100644 arch/avr32/mach-at32ap/intc.h
> delete mode 100644 arch/avr32/mach-at32ap/pdc.c
> delete mode 100644 arch/avr32/mach-at32ap/pio.c
> delete mode 100644 arch/avr32/mach-at32ap/pio.h
> delete mode 100644 arch/avr32/mach-at32ap/pm-at32ap700x.S
> delete mode 100644 arch/avr32/mach-at32ap/pm.c
> delete mode 100644 arch/avr32/mach-at32ap/pm.h
> delete mode 100644 arch/avr32/mach-at32ap/sdramc.h
> delete mode 100644 arch/avr32/mm/Makefile
> delete mode 100644 arch/avr32/mm/cache.c
> delete mode 100644 arch/avr32/mm/clear_page.S
> delete mode 100644 arch/avr32/mm/copy_page.S
> delete mode 100644 arch/avr32/mm/dma-coherent.c
> delete mode 100644 arch/avr32/mm/fault.c
> delete mode 100644 arch/avr32/mm/init.c
> delete mode 100644 arch/avr32/mm/ioremap.c
> delete mode 100644 arch/avr32/mm/tlb.c
> delete mode 100644 arch/avr32/oprofile/Makefile
> delete mode 100644 arch/avr32/oprofile/backtrace.c
> delete mode 100644 arch/avr32/oprofile/op_model_avr32.c
>
> --
> Best regards,
> Hans-Christian Noren Egtvedt



--
With Best Regards,
Andy Shevchenko

2017-03-02 01:02:02

by Boris Brezillon

[permalink] [raw]
Subject: Re: [RFC] remove support for AVR32 architecture

On Wed, 1 Mar 2017 21:44:26 +0100
Hans-Christian Noren Egtvedt <[email protected]> wrote:

> Hello all,
>
> The AVR32 architecture is not keeping up with the development of the kernel,
> and since it shares so much of the drivers with Atmel ARM SoC, it is starting
> to hinder these drivers to develop swiftly.

Thanks a lot for doing that.

>
> Also, all AVR32 AP7 SoC processors are end of lifed from Atmel (now
> Microchip).
>
> Finally, the GCC toolchain is stuck at version 4.2.x, and has not received
> any patches since the last release from Atmel;
> 4.2.4-atmel.1.1.3.avr32linux.1. When building kernel v4.10, this toolchain is
> no longer able to properly link the network stack.
>
> Haavard and I have came to the conclusion that we feel keeping AVR32 on life
> support offers more obstacles for Atmel ARMs, than it gives joy to AVR32
> users. I also suspect there are very few AVR32 users left today, if anybody
> at all.
>
> I have prepared three patches in my for-linus branch in git tree
> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git

Not sure it has any value since I'm not the maintainer of this platform,
but

Acked-by: Boris Brezillon <[email protected]>

2017-03-02 16:00:15

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [RFC] remove support for AVR32 architecture

Le 01/03/2017 ? 21:44, Hans-Christian Noren Egtvedt a ?crit :
> Hello all,
>
> The AVR32 architecture is not keeping up with the development of the kernel,
> and since it shares so much of the drivers with Atmel ARM SoC, it is starting
> to hinder these drivers to develop swiftly.

It will definitively help to remove some of the non-DT code in all our
former-common drivers.

> Also, all AVR32 AP7 SoC processors are end of lifed from Atmel (now
> Microchip).
>
> Finally, the GCC toolchain is stuck at version 4.2.x, and has not received
> any patches since the last release from Atmel;
> 4.2.4-atmel.1.1.3.avr32linux.1. When building kernel v4.10, this toolchain is
> no longer able to properly link the network stack.
>
> Haavard and I have came to the conclusion that we feel keeping AVR32 on life
> support offers more obstacles for Atmel ARMs, than it gives joy to AVR32
> users. I also suspect there are very few AVR32 users left today, if anybody
> at all.
>
> I have prepared three patches in my for-linus branch in git tree
> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git

Quick look at the patches (file path mostly) seems okay:

Acked-by: Nicolas Ferre <[email protected]>

And thanks a lot to Haavard and you Hans-Christian for having developed,
more than 10 years ago, and then maintained some of the nice early
drivers that we are still using for our ARM-based platforms!

> Shortlog below, patches not inlined as they are quite large IMHO.
>
> I will send a formal pull request to Linus unless anybody objects loudly.
>
> I have also prepare patches for removing AVR32 specific kernel drivers, I
> will send those to the relevant subsystem maintainers.
>
> Hans-Christian Noren Egtvedt (3):
> avr32: remove support for AVR32 architecture
> docs: remove all references to AVR32 architecture
> scripts: remove AVR32 support from checkstack.pl

Best regards,
--
Nicolas Ferre

2017-03-06 06:09:19

by Håvard Skinnemoen

[permalink] [raw]
Subject: Re: [RFC] remove support for AVR32 architecture

On Wed, Mar 1, 2017 at 12:44 PM, Hans-Christian Noren Egtvedt
<[email protected]> wrote:
> I have prepared three patches in my for-linus branch in git tree
> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git

Acked-by: Haavard Skinnemoen <[email protected]>

Thank you for keeping it alive for so long!

I looked through you tree superficially. There are a few references to
AVR32 remaining. Most of them are for other subsystems, but you could
consider picking up a couple of more for your patchset:

include/uapi/linux/elf-em.h still defines EM_AVR32. This could be
considered a part of the architecture code.

lib/Kconfig.debug has a list of architectures which want frame
pointers. You could probably remove AVR32 from that list.

mm/Kconfig has a special case for AVR32 needing two quicklists.

If you were planning to patch each of those separately later, please
ignore my comments.

Håvard

Subject: Re: [RFC] remove support for AVR32 architecture

Around Sun 05 Mar 2017 21:58:16 -0800 or thereabout, H?vard Skinnemoen wrote:
> On Wed, Mar 1, 2017 at 12:44 PM, Hans-Christian Noren Egtvedt
> <[email protected]> wrote:
>> I have prepared three patches in my for-linus branch in git tree
>> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git
>
> Acked-by: Haavard Skinnemoen <[email protected]>
>
> Thank you for keeping it alive for so long!
>
> I looked through you tree superficially. There are a few references to
> AVR32 remaining. Most of them are for other subsystems, but you could
> consider picking up a couple of more for your patchset:
>
> include/uapi/linux/elf-em.h still defines EM_AVR32. This could be
> considered a part of the architecture code.

My git grep magic did not catch this.

> lib/Kconfig.debug has a list of architectures which want frame
> pointers. You could probably remove AVR32 from that list.

Same.

Will add a patch for these two.

> mm/Kconfig has a special case for AVR32 needing two quicklists.
>

This one I have in a different series, the one I planned to push to various
maintainers after the initial removal.

> If you were planning to patch each of those separately later, please
> ignore my comments.

Partly (-:

--
mvh
Hans-Christian Noren Egtvedt

2017-03-27 13:26:47

by Boris Brezillon

[permalink] [raw]
Subject: Re: [RFC] remove support for AVR32 architecture

Hi Hans,

On Wed, 1 Mar 2017 21:44:26 +0100
Hans-Christian Noren Egtvedt <[email protected]> wrote:

> Hello all,
>
> The AVR32 architecture is not keeping up with the development of the kernel,
> and since it shares so much of the drivers with Atmel ARM SoC, it is starting
> to hinder these drivers to develop swiftly.
>
> Also, all AVR32 AP7 SoC processors are end of lifed from Atmel (now
> Microchip).
>
> Finally, the GCC toolchain is stuck at version 4.2.x, and has not received
> any patches since the last release from Atmel;
> 4.2.4-atmel.1.1.3.avr32linux.1. When building kernel v4.10, this toolchain is
> no longer able to properly link the network stack.
>
> Haavard and I have came to the conclusion that we feel keeping AVR32 on life
> support offers more obstacles for Atmel ARMs, than it gives joy to AVR32
> users. I also suspect there are very few AVR32 users left today, if anybody
> at all.
>
> I have prepared three patches in my for-linus branch in git tree
> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git
>
> Shortlog below, patches not inlined as they are quite large IMHO.
>
> I will send a formal pull request to Linus unless anybody objects loudly.

Is this still planned for 4.12?

Subject: Re: [RFC] remove support for AVR32 architecture

Around Mon 27 Mar 2017 15:26:04 +0200 or thereabout, Boris Brezillon wrote:
> On Wed, 1 Mar 2017 21:44:26 +0100 Hans-Christian Noren Egtvedt <[email protected]> wrote:
>> The AVR32 architecture is not keeping up with the development of the kernel,
>> and since it shares so much of the drivers with Atmel ARM SoC, it is starting
>> to hinder these drivers to develop swiftly.
>>
>> Also, all AVR32 AP7 SoC processors are end of lifed from Atmel (now
>> Microchip).
>>
>> Finally, the GCC toolchain is stuck at version 4.2.x, and has not received
>> any patches since the last release from Atmel;
>> 4.2.4-atmel.1.1.3.avr32linux.1. When building kernel v4.10, this toolchain is
>> no longer able to properly link the network stack.
>>
>> Haavard and I have came to the conclusion that we feel keeping AVR32 on life
>> support offers more obstacles for Atmel ARMs, than it gives joy to AVR32
>> users. I also suspect there are very few AVR32 users left today, if anybody
>> at all.
>>
>> I have prepared three patches in my for-linus branch in git tree
>> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git
>>
>> Shortlog below, patches not inlined as they are quite large IMHO.
>>
>> I will send a formal pull request to Linus unless anybody objects loudly.
>
> Is this still planned for 4.12?

Yes, I have received no objections, only feedback to bits and pieces in
generic areas that can be removed in addition to my initial patch.

--
mvh
Hans-Christian Noren Egtvedt