linux-ia64.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] Retire IA64/Itanium support
@ 2023-02-15 10:00 Ard Biesheuvel
  2023-02-15 10:00 ` [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers Ard Biesheuvel
                   ` (11 more replies)
  0 siblings, 12 replies; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 10:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ard Biesheuvel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

The IA64 port of Linux has no maintainer, and according to a report from
its only remaining user [0], it has been broken for a month and nobody
cares.

Given that keeping a complex but unused architecture alive uses up
valuable developer bandwidth, let's just get rid of it.

This supersedes my patch proposing to mark it as 'dead', which received
no replies from anyone that wants to keep it alive. [1]

[0] https://www.spinics.net/lists/linux-ia64/msg21926.html
[1] https://lore.kernel.org/all/20230128122904.1345120-1-ardb@kernel.org/

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Jessica Clarke <jrtc27@jrtc27.com>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-ia64@vger.kernel.org

Ard Biesheuvel (5):
  arch: Remove Itanium (IA-64) architecture
  kernel: Drop IA64 support from sig_fault handlers
  Documentation: Drop IA64 from feature descriptions
  lib/raid6: Drop IA64 support
  Documentation: Drop or replace remaining mentions of IA64

 Documentation/ABI/testing/sysfs-devices-system-cpu                 |    3 -
 Documentation/ABI/testing/sysfs-firmware-dmi-entries               |    2 +-
 Documentation/admin-guide/kdump/kdump.rst                          |   37 +-
 Documentation/admin-guide/kdump/vmcoreinfo.rst                     |   30 -
 Documentation/admin-guide/kernel-parameters.txt                    |    8 +-
 Documentation/admin-guide/mm/memory-hotplug.rst                    |    2 +-
 Documentation/admin-guide/sysctl/kernel.rst                        |   23 +-
 Documentation/arch.rst                                             |    1 -
 Documentation/block/ioprio.rst                                     |    3 -
 Documentation/core-api/cpu_hotplug.rst                             |    6 -
 Documentation/core-api/debugging-via-ohci1394.rst                  |    6 +-
 Documentation/features/core/cBPF-JIT/arch-support.txt              |    1 -
 Documentation/features/core/eBPF-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/thread-info-in-task/arch-support.txt   |    1 -
 Documentation/features/core/tracehook/arch-support.txt             |    1 -
 Documentation/features/debug/KASAN/arch-support.txt                |    1 -
 Documentation/features/debug/debug-vm-pgtable/arch-support.txt     |    1 -
 Documentation/features/debug/gcov-profile-all/arch-support.txt     |    1 -
 Documentation/features/debug/kcov/arch-support.txt                 |    1 -
 Documentation/features/debug/kgdb/arch-support.txt                 |    1 -
 Documentation/features/debug/kmemleak/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-contiguous/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/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/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/pte_special/arch-support.txt             |    1 -
 Documentation/ia64/aliasing.rst                                    |  246 ---
 Documentation/ia64/efirtc.rst                                      |  144 --
 Documentation/ia64/err_inject.rst                                  | 1067 ---------
 Documentation/ia64/features.rst                                    |    3 -
 Documentation/ia64/fsys.rst                                        |  303 ---
 Documentation/ia64/ia64.rst                                        |   49 -
 Documentation/ia64/index.rst                                       |   19 -
 Documentation/ia64/irq-redir.rst                                   |   80 -
 Documentation/ia64/mca.rst                                         |  198 --
 Documentation/ia64/serial.rst                                      |  165 --
 Documentation/kbuild/makefiles.rst                                 |    2 +-
 Documentation/networking/device_drivers/ethernet/neterion/s2io.rst |    4 +-
 Documentation/scheduler/sched-arch.rst                             |    4 +-
 Documentation/trace/kprobes.rst                                    |    1 -
 Documentation/translations/zh_CN/arch.rst                          |    1 -
 Documentation/translations/zh_CN/core-api/cpu_hotplug.rst          |    6 -
 Documentation/translations/zh_CN/scheduler/sched-arch.rst          |    5 +-
 MAINTAINERS                                                        |   11 -
 Makefile                                                           |    4 +-
 arch/Kconfig                                                       |    1 -
 arch/ia64/Kbuild                                                   |    3 -
 arch/ia64/Kconfig                                                  |  410 ----
 arch/ia64/Kconfig.debug                                            |   55 -
 arch/ia64/Makefile                                                 |   82 -
 arch/ia64/configs/bigsur_defconfig                                 |  102 -
 arch/ia64/configs/generic_defconfig                                |  206 --
 arch/ia64/configs/gensparse_defconfig                              |  184 --
 arch/ia64/configs/tiger_defconfig                                  |  169 --
 arch/ia64/configs/zx1_defconfig                                    |  148 --
 arch/ia64/hp/common/Makefile                                       |   10 -
 arch/ia64/hp/common/aml_nfw.c                                      |  232 --
 arch/ia64/hp/common/sba_iommu.c                                    | 2147 ------------------
 arch/ia64/include/asm/Kbuild                                       |    5 -
 arch/ia64/include/asm/acenv.h                                      |   49 -
 arch/ia64/include/asm/acpi-ext.h                                   |   17 -
 arch/ia64/include/asm/acpi.h                                       |  110 -
 arch/ia64/include/asm/agp.h                                        |   27 -
 arch/ia64/include/asm/asm-offsets.h                                |    1 -
 arch/ia64/include/asm/asm-prototypes.h                             |   30 -
 arch/ia64/include/asm/asmmacro.h                                   |  136 --
 arch/ia64/include/asm/atomic.h                                     |  223 --
 arch/ia64/include/asm/barrier.h                                    |   79 -
 arch/ia64/include/asm/bitops.h                                     |  453 ----
 arch/ia64/include/asm/bug.h                                        |   19 -
 arch/ia64/include/asm/bugs.h                                       |   20 -
 arch/ia64/include/asm/cache.h                                      |   30 -
 arch/ia64/include/asm/cacheflush.h                                 |   33 -
 arch/ia64/include/asm/checksum.h                                   |   63 -
 arch/ia64/include/asm/clocksource.h                                |   11 -
 arch/ia64/include/asm/cmpxchg.h                                    |   16 -
 arch/ia64/include/asm/cpu.h                                        |   23 -
 arch/ia64/include/asm/cputime.h                                    |   21 -
 arch/ia64/include/asm/current.h                                    |   18 -
 arch/ia64/include/asm/cyclone.h                                    |   16 -
 arch/ia64/include/asm/delay.h                                      |   89 -
 arch/ia64/include/asm/device.h                                     |   14 -
 arch/ia64/include/asm/div64.h                                      |    1 -
 arch/ia64/include/asm/dma-mapping.h                                |   16 -
 arch/ia64/include/asm/dma.h                                        |   17 -
 arch/ia64/include/asm/dmi.h                                        |   15 -
 arch/ia64/include/asm/early_ioremap.h                              |   11 -
 arch/ia64/include/asm/efi.h                                        |   13 -
 arch/ia64/include/asm/elf.h                                        |  233 --
 arch/ia64/include/asm/emergency-restart.h                          |    6 -
 arch/ia64/include/asm/esi.h                                        |   30 -
 arch/ia64/include/asm/exception.h                                  |   23 -
 arch/ia64/include/asm/export.h                                     |    3 -
 arch/ia64/include/asm/extable.h                                    |   12 -
 arch/ia64/include/asm/fb.h                                         |   24 -
 arch/ia64/include/asm/fpswa.h                                      |   74 -
 arch/ia64/include/asm/ftrace.h                                     |   28 -
 arch/ia64/include/asm/futex.h                                      |  109 -
 arch/ia64/include/asm/gcc_intrin.h                                 |   13 -
 arch/ia64/include/asm/hardirq.h                                    |   27 -
 arch/ia64/include/asm/hugetlb.h                                    |   34 -
 arch/ia64/include/asm/hw_irq.h                                     |  167 --
 arch/ia64/include/asm/idle.h                                       |    8 -
 arch/ia64/include/asm/intrinsics.h                                 |   13 -
 arch/ia64/include/asm/io.h                                         |  274 ---
 arch/ia64/include/asm/iommu.h                                      |   22 -
 arch/ia64/include/asm/iosapic.h                                    |  106 -
 arch/ia64/include/asm/irq.h                                        |   37 -
 arch/ia64/include/asm/irq_regs.h                                   |    1 -
 arch/ia64/include/asm/irq_remapping.h                              |    5 -
 arch/ia64/include/asm/irqflags.h                                   |   95 -
 arch/ia64/include/asm/kdebug.h                                     |   45 -
 arch/ia64/include/asm/kexec.h                                      |   46 -
 arch/ia64/include/asm/kprobes.h                                    |  116 -
 arch/ia64/include/asm/kregs.h                                      |  166 --
 arch/ia64/include/asm/libata-portmap.h                             |    9 -
 arch/ia64/include/asm/linkage.h                                    |   19 -
 arch/ia64/include/asm/local.h                                      |    1 -
 arch/ia64/include/asm/mca.h                                        |  185 --
 arch/ia64/include/asm/mca_asm.h                                    |  245 ---
 arch/ia64/include/asm/meminit.h                                    |   59 -
 arch/ia64/include/asm/mman.h                                       |   18 -
 arch/ia64/include/asm/mmiowb.h                                     |   17 -
 arch/ia64/include/asm/mmu.h                                        |   14 -
 arch/ia64/include/asm/mmu_context.h                                |  194 --
 arch/ia64/include/asm/mmzone.h                                     |   35 -
 arch/ia64/include/asm/module.h                                     |   35 -
 arch/ia64/include/asm/module.lds.h                                 |   14 -
 arch/ia64/include/asm/msidef.h                                     |   43 -
 arch/ia64/include/asm/native/inst.h                                |  119 -
 arch/ia64/include/asm/native/irq.h                                 |   20 -
 arch/ia64/include/asm/native/patchlist.h                           |   24 -
 arch/ia64/include/asm/nodedata.h                                   |   63 -
 arch/ia64/include/asm/numa.h                                       |   83 -
 arch/ia64/include/asm/page.h                                       |  214 --
 arch/ia64/include/asm/pal.h                                        | 1827 ---------------
 arch/ia64/include/asm/param.h                                      |   18 -
 arch/ia64/include/asm/parport.h                                    |   20 -
 arch/ia64/include/asm/patch.h                                      |   28 -
 arch/ia64/include/asm/pci.h                                        |   66 -
 arch/ia64/include/asm/percpu.h                                     |   53 -
 arch/ia64/include/asm/pgalloc.h                                    |   64 -
 arch/ia64/include/asm/pgtable.h                                    |  520 -----
 arch/ia64/include/asm/processor.h                                  |  663 ------
 arch/ia64/include/asm/ptrace.h                                     |  146 --
 arch/ia64/include/asm/sal.h                                        |  919 --------
 arch/ia64/include/asm/sections.h                                   |   33 -
 arch/ia64/include/asm/serial.h                                     |   17 -
 arch/ia64/include/asm/shmparam.h                                   |   13 -
 arch/ia64/include/asm/signal.h                                     |   33 -
 arch/ia64/include/asm/smp.h                                        |  103 -
 arch/ia64/include/asm/sn/intr.h                                    |   15 -
 arch/ia64/include/asm/sn/sn_sal.h                                  |  124 --
 arch/ia64/include/asm/sparsemem.h                                  |   28 -
 arch/ia64/include/asm/spinlock.h                                   |  265 ---
 arch/ia64/include/asm/spinlock_types.h                             |   22 -
 arch/ia64/include/asm/string.h                                     |   22 -
 arch/ia64/include/asm/switch_to.h                                  |   71 -
 arch/ia64/include/asm/syscall.h                                    |   65 -
 arch/ia64/include/asm/thread_info.h                                |  131 --
 arch/ia64/include/asm/timex.h                                      |   47 -
 arch/ia64/include/asm/tlb.h                                        |   50 -
 arch/ia64/include/asm/tlbflush.h                                   |  128 --
 arch/ia64/include/asm/topology.h                                   |   56 -
 arch/ia64/include/asm/types.h                                      |   32 -
 arch/ia64/include/asm/uaccess.h                                    |  265 ---
 arch/ia64/include/asm/uncached.h                                   |    9 -
 arch/ia64/include/asm/unistd.h                                     |   38 -
 arch/ia64/include/asm/unwind.h                                     |  234 --
 arch/ia64/include/asm/user.h                                       |   53 -
 arch/ia64/include/asm/ustack.h                                     |   12 -
 arch/ia64/include/asm/uv/uv.h                                      |   30 -
 arch/ia64/include/asm/uv/uv_hub.h                                  |  315 ---
 arch/ia64/include/asm/uv/uv_mmrs.h                                 |  825 -------
 arch/ia64/include/asm/vermagic.h                                   |   15 -
 arch/ia64/include/asm/vga.h                                        |   26 -
 arch/ia64/include/asm/vmalloc.h                                    |    4 -
 arch/ia64/include/asm/xor.h                                        |   30 -
 arch/ia64/include/asm/xtp.h                                        |   46 -
 arch/ia64/include/uapi/asm/Kbuild                                  |    2 -
 arch/ia64/include/uapi/asm/auxvec.h                                |   14 -
 arch/ia64/include/uapi/asm/bitsperlong.h                           |    9 -
 arch/ia64/include/uapi/asm/break.h                                 |   23 -
 arch/ia64/include/uapi/asm/byteorder.h                             |    7 -
 arch/ia64/include/uapi/asm/cmpxchg.h                               |  159 --
 arch/ia64/include/uapi/asm/fcntl.h                                 |   15 -
 arch/ia64/include/uapi/asm/fpu.h                                   |   67 -
 arch/ia64/include/uapi/asm/gcc_intrin.h                            |  619 ------
 arch/ia64/include/uapi/asm/ia64regs.h                              |  101 -
 arch/ia64/include/uapi/asm/intel_intrin.h                          |  162 --
 arch/ia64/include/uapi/asm/intrinsics.h                            |   86 -
 arch/ia64/include/uapi/asm/mman.h                                  |   17 -
 arch/ia64/include/uapi/asm/param.h                                 |   30 -
 arch/ia64/include/uapi/asm/posix_types.h                           |    9 -
 arch/ia64/include/uapi/asm/ptrace.h                                |  248 ---
 arch/ia64/include/uapi/asm/ptrace_offsets.h                        |  269 ---
 arch/ia64/include/uapi/asm/resource.h                              |    8 -
 arch/ia64/include/uapi/asm/rse.h                                   |   67 -
 arch/ia64/include/uapi/asm/setup.h                                 |   25 -
 arch/ia64/include/uapi/asm/sigcontext.h                            |   71 -
 arch/ia64/include/uapi/asm/siginfo.h                               |   28 -
 arch/ia64/include/uapi/asm/signal.h                                |   98 -
 arch/ia64/include/uapi/asm/stat.h                                  |   52 -
 arch/ia64/include/uapi/asm/statfs.h                                |   21 -
 arch/ia64/include/uapi/asm/swab.h                                  |   35 -
 arch/ia64/include/uapi/asm/types.h                                 |   32 -
 arch/ia64/include/uapi/asm/ucontext.h                              |   13 -
 arch/ia64/include/uapi/asm/unistd.h                                |   22 -
 arch/ia64/include/uapi/asm/ustack.h                                |   13 -
 arch/ia64/install.sh                                               |   30 -
 arch/ia64/kernel/.gitignore                                        |    3 -
 arch/ia64/kernel/Makefile                                          |   46 -
 arch/ia64/kernel/Makefile.gate                                     |   29 -
 arch/ia64/kernel/acpi-ext.c                                        |  101 -
 arch/ia64/kernel/acpi.c                                            |  911 --------
 arch/ia64/kernel/asm-offsets.c                                     |  289 ---
 arch/ia64/kernel/audit.c                                           |   63 -
 arch/ia64/kernel/brl_emu.c                                         |  217 --
 arch/ia64/kernel/crash.c                                           |  266 ---
 arch/ia64/kernel/crash_dump.c                                      |   27 -
 arch/ia64/kernel/cyclone.c                                         |  125 --
 arch/ia64/kernel/dma-mapping.c                                     |    9 -
 arch/ia64/kernel/efi.c                                             | 1360 ------------
 arch/ia64/kernel/efi_stub.S                                        |   87 -
 arch/ia64/kernel/elfcore.c                                         |   77 -
 arch/ia64/kernel/entry.S                                           | 1428 ------------
 arch/ia64/kernel/entry.h                                           |   83 -
 arch/ia64/kernel/err_inject.c                                      |  273 ---
 arch/ia64/kernel/esi.c                                             |  193 --
 arch/ia64/kernel/esi_stub.S                                        |   99 -
 arch/ia64/kernel/fsys.S                                            |  837 -------
 arch/ia64/kernel/fsyscall_gtod_data.h                              |   30 -
 arch/ia64/kernel/ftrace.c                                          |  196 --
 arch/ia64/kernel/gate-data.S                                       |    3 -
 arch/ia64/kernel/gate.S                                            |  380 ----
 arch/ia64/kernel/gate.lds.S                                        |  108 -
 arch/ia64/kernel/head.S                                            | 1168 ----------
 arch/ia64/kernel/iosapic.c                                         | 1137 ----------
 arch/ia64/kernel/irq.c                                             |  181 --
 arch/ia64/kernel/irq.h                                             |    3 -
 arch/ia64/kernel/irq_ia64.c                                        |  645 ------
 arch/ia64/kernel/irq_lsapic.c                                      |   45 -
 arch/ia64/kernel/ivt.S                                             | 1689 --------------
 arch/ia64/kernel/kprobes.c                                         |  911 --------
 arch/ia64/kernel/machine_kexec.c                                   |  163 --
 arch/ia64/kernel/mca.c                                             | 2111 ------------------
 arch/ia64/kernel/mca_asm.S                                         | 1123 ----------
 arch/ia64/kernel/mca_drv.c                                         |  796 -------
 arch/ia64/kernel/mca_drv.h                                         |  123 --
 arch/ia64/kernel/mca_drv_asm.S                                     |   56 -
 arch/ia64/kernel/minstate.h                                        |  251 ---
 arch/ia64/kernel/module.c                                          |  955 --------
 arch/ia64/kernel/msi_ia64.c                                        |  198 --
 arch/ia64/kernel/numa.c                                            |   73 -
 arch/ia64/kernel/pal.S                                             |  306 ---
 arch/ia64/kernel/palinfo.c                                         |  942 --------
 arch/ia64/kernel/patch.c                                           |  237 --
 arch/ia64/kernel/pci-dma.c                                         |   33 -
 arch/ia64/kernel/perfmon_itanium.h                                 |  116 -
 arch/ia64/kernel/process.c                                         |  610 -----
 arch/ia64/kernel/ptrace.c                                          | 2012 -----------------
 arch/ia64/kernel/relocate_kernel.S                                 |  321 ---
 arch/ia64/kernel/sal.c                                             |  400 ----
 arch/ia64/kernel/salinfo.c                                         |  646 ------
 arch/ia64/kernel/setup.c                                           | 1082 ---------
 arch/ia64/kernel/sigframe.h                                        |   26 -
 arch/ia64/kernel/signal.c                                          |  412 ----
 arch/ia64/kernel/smp.c                                             |  335 ---
 arch/ia64/kernel/smpboot.c                                         |  839 -------
 arch/ia64/kernel/stacktrace.c                                      |   40 -
 arch/ia64/kernel/sys_ia64.c                                        |  197 --
 arch/ia64/kernel/syscalls/Makefile                                 |   32 -
 arch/ia64/kernel/syscalls/syscall.tbl                              |  373 ----
 arch/ia64/kernel/time.c                                            |  462 ----
 arch/ia64/kernel/topology.c                                        |  410 ----
 arch/ia64/kernel/traps.c                                           |  612 ------
 arch/ia64/kernel/unaligned.c                                       | 1560 -------------
 arch/ia64/kernel/uncached.c                                        |  273 ---
 arch/ia64/kernel/unwind.c                                          | 2320 --------------------
 arch/ia64/kernel/unwind_decoder.c                                  |  460 ----
 arch/ia64/kernel/unwind_i.h                                        |  165 --
 arch/ia64/kernel/vmlinux.lds.S                                     |  225 --
 arch/ia64/lib/Makefile                                             |   48 -
 arch/ia64/lib/checksum.c                                           |  102 -
 arch/ia64/lib/clear_page.S                                         |   79 -
 arch/ia64/lib/clear_user.S                                         |  212 --
 arch/ia64/lib/copy_page.S                                          |  101 -
 arch/ia64/lib/copy_page_mck.S                                      |  188 --
 arch/ia64/lib/copy_user.S                                          |  613 ------
 arch/ia64/lib/csum_partial_copy.c                                  |   98 -
 arch/ia64/lib/do_csum.S                                            |  324 ---
 arch/ia64/lib/flush.S                                              |  120 -
 arch/ia64/lib/idiv32.S                                             |   86 -
 arch/ia64/lib/idiv64.S                                             |   83 -
 arch/ia64/lib/io.c                                                 |   51 -
 arch/ia64/lib/ip_fast_csum.S                                       |  148 --
 arch/ia64/lib/memcpy.S                                             |  304 ---
 arch/ia64/lib/memcpy_mck.S                                         |  659 ------
 arch/ia64/lib/memset.S                                             |  365 ---
 arch/ia64/lib/strlen.S                                             |  195 --
 arch/ia64/lib/strncpy_from_user.S                                  |   47 -
 arch/ia64/lib/strnlen_user.S                                       |   48 -
 arch/ia64/lib/xor.S                                                |  181 --
 arch/ia64/mm/Makefile                                              |   11 -
 arch/ia64/mm/contig.c                                              |  208 --
 arch/ia64/mm/discontig.c                                           |  635 ------
 arch/ia64/mm/extable.c                                             |   24 -
 arch/ia64/mm/fault.c                                               |  272 ---
 arch/ia64/mm/hugetlbpage.c                                         |  186 --
 arch/ia64/mm/init.c                                                |  518 -----
 arch/ia64/mm/ioremap.c                                             |  123 --
 arch/ia64/mm/numa.c                                                |   80 -
 arch/ia64/mm/tlb.c                                                 |  591 -----
 arch/ia64/pci/Makefile                                             |    5 -
 arch/ia64/pci/fixup.c                                              |   80 -
 arch/ia64/pci/pci.c                                                |  576 -----
 arch/ia64/scripts/check-gas                                        |   16 -
 arch/ia64/scripts/check-gas-asm.S                                  |    2 -
 arch/ia64/scripts/check-model.c                                    |    1 -
 arch/ia64/scripts/check-segrel.S                                   |    5 -
 arch/ia64/scripts/check-segrel.lds                                 |   13 -
 arch/ia64/scripts/check-serialize.S                                |    2 -
 arch/ia64/scripts/check-text-align.S                               |    7 -
 arch/ia64/scripts/toolchain-flags                                  |   54 -
 arch/ia64/scripts/unwcheck.py                                      |   65 -
 arch/ia64/uv/Makefile                                              |   12 -
 arch/ia64/uv/kernel/Makefile                                       |   12 -
 arch/ia64/uv/kernel/setup.c                                        |  120 -
 drivers/acpi/Kconfig                                               |    6 +-
 drivers/acpi/numa/Kconfig                                          |    4 +-
 drivers/acpi/osl.c                                                 |    2 +-
 drivers/char/Kconfig                                               |    4 +-
 drivers/char/Makefile                                              |    1 -
 drivers/char/agp/Kconfig                                           |   16 +-
 drivers/char/agp/Makefile                                          |    2 -
 drivers/char/agp/hp-agp.c                                          |  550 -----
 drivers/char/agp/i460-agp.c                                        |  659 ------
 drivers/char/hpet.c                                                |   30 -
 drivers/char/hw_random/Kconfig                                     |    2 +-
 drivers/char/mem.c                                                 |   12 -
 drivers/char/mspec.c                                               |  295 ---
 drivers/cpufreq/Kconfig                                            |   11 -
 drivers/cpufreq/Makefile                                           |    1 -
 drivers/cpufreq/ia64-acpi-cpufreq.c                                |  353 ---
 drivers/firmware/Kconfig                                           |   24 -
 drivers/firmware/Makefile                                          |    1 -
 drivers/firmware/efi/Kconfig                                       |    6 +-
 drivers/firmware/efi/efi.c                                         |   13 +-
 drivers/firmware/pcdp.c                                            |  135 --
 drivers/firmware/pcdp.h                                            |  108 -
 drivers/gpu/drm/drm_ioc32.c                                        |    4 +-
 drivers/input/serio/i8042.h                                        |    2 +-
 drivers/iommu/Kconfig                                              |    4 +-
 drivers/iommu/intel/Kconfig                                        |    2 +-
 drivers/media/cec/platform/Kconfig                                 |    2 +-
 drivers/misc/Kconfig                                               |    2 +-
 drivers/misc/sgi-gru/gru.h                                         |    4 +-
 drivers/misc/sgi-gru/gru_instructions.h                            |   12 +-
 drivers/misc/sgi-gru/grufile.c                                     |   72 -
 drivers/misc/sgi-gru/gruhandles.c                                  |    6 -
 drivers/misc/sgi-gru/grumain.c                                     |    4 -
 drivers/misc/sgi-xp/xp.h                                           |    2 +-
 drivers/misc/sgi-xp/xp_uv.c                                        |   24 -
 drivers/misc/sgi-xp/xpc_main.c                                     |   31 -
 drivers/misc/sgi-xp/xpc_uv.c                                       |   85 -
 drivers/net/ethernet/broadcom/tg3.c                                |    2 +-
 drivers/net/ethernet/brocade/bna/bnad.h                            |    1 -
 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c               |    2 -
 drivers/pci/vgaarb.c                                               |    2 +-
 drivers/tty/serial/8250/Kconfig                                    |    2 +-
 drivers/tty/vt/keyboard.c                                          |    2 +-
 drivers/video/fbdev/Kconfig                                        |    2 +-
 drivers/watchdog/Kconfig                                           |    2 +-
 fs/Kconfig                                                         |    2 +-
 fs/afs/main.c                                                      |    2 -
 fs/xfs/xfs_ioctl32.h                                               |    2 +-
 include/linux/acpi.h                                               |    9 +-
 include/linux/efi.h                                                |    7 -
 include/linux/mm.h                                                 |    2 -
 include/linux/moduleparam.h                                        |    2 +-
 include/linux/raid/pq.h                                            |    2 -
 include/linux/sched/signal.h                                       |   17 +-
 include/trace/events/mmflags.h                                     |    2 +-
 init/Kconfig                                                       |    2 +-
 kernel/cpu.c                                                       |    3 -
 kernel/fork.c                                                      |    2 +-
 kernel/sched/core.c                                                |   29 +-
 kernel/signal.c                                                    |   25 +-
 kernel/sysctl.c                                                    |    9 -
 lib/Kconfig.debug                                                  |    2 +-
 lib/decompress_unxz.c                                              |    3 -
 lib/raid6/Makefile                                                 |    4 +-
 lib/raid6/algos.c                                                  |    4 -
 lib/xz/Kconfig                                                     |    5 -
 mm/mmap.c                                                          |    6 +-
 scripts/headers_install.sh                                         |    1 -
 tools/arch/ia64/include/asm/barrier.h                              |   59 -
 tools/arch/ia64/include/uapi/asm/bitsperlong.h                     |    9 -
 tools/arch/ia64/include/uapi/asm/mman.h                            |    7 -
 usr/include/Makefile                                               |    6 -
 427 files changed, 74 insertions(+), 65400 deletions(-)
 delete mode 100644 Documentation/ia64/aliasing.rst
 delete mode 100644 Documentation/ia64/efirtc.rst
 delete mode 100644 Documentation/ia64/err_inject.rst
 delete mode 100644 Documentation/ia64/features.rst
 delete mode 100644 Documentation/ia64/fsys.rst
 delete mode 100644 Documentation/ia64/ia64.rst
 delete mode 100644 Documentation/ia64/index.rst
 delete mode 100644 Documentation/ia64/irq-redir.rst
 delete mode 100644 Documentation/ia64/mca.rst
 delete mode 100644 Documentation/ia64/serial.rst
 delete mode 100644 arch/ia64/Kbuild
 delete mode 100644 arch/ia64/Kconfig
 delete mode 100644 arch/ia64/Kconfig.debug
 delete mode 100644 arch/ia64/Makefile
 delete mode 100644 arch/ia64/configs/bigsur_defconfig
 delete mode 100644 arch/ia64/configs/generic_defconfig
 delete mode 100644 arch/ia64/configs/gensparse_defconfig
 delete mode 100644 arch/ia64/configs/tiger_defconfig
 delete mode 100644 arch/ia64/configs/zx1_defconfig
 delete mode 100644 arch/ia64/hp/common/Makefile
 delete mode 100644 arch/ia64/hp/common/aml_nfw.c
 delete mode 100644 arch/ia64/hp/common/sba_iommu.c
 delete mode 100644 arch/ia64/include/asm/Kbuild
 delete mode 100644 arch/ia64/include/asm/acenv.h
 delete mode 100644 arch/ia64/include/asm/acpi-ext.h
 delete mode 100644 arch/ia64/include/asm/acpi.h
 delete mode 100644 arch/ia64/include/asm/agp.h
 delete mode 100644 arch/ia64/include/asm/asm-offsets.h
 delete mode 100644 arch/ia64/include/asm/asm-prototypes.h
 delete mode 100644 arch/ia64/include/asm/asmmacro.h
 delete mode 100644 arch/ia64/include/asm/atomic.h
 delete mode 100644 arch/ia64/include/asm/barrier.h
 delete mode 100644 arch/ia64/include/asm/bitops.h
 delete mode 100644 arch/ia64/include/asm/bug.h
 delete mode 100644 arch/ia64/include/asm/bugs.h
 delete mode 100644 arch/ia64/include/asm/cache.h
 delete mode 100644 arch/ia64/include/asm/cacheflush.h
 delete mode 100644 arch/ia64/include/asm/checksum.h
 delete mode 100644 arch/ia64/include/asm/clocksource.h
 delete mode 100644 arch/ia64/include/asm/cmpxchg.h
 delete mode 100644 arch/ia64/include/asm/cpu.h
 delete mode 100644 arch/ia64/include/asm/cputime.h
 delete mode 100644 arch/ia64/include/asm/current.h
 delete mode 100644 arch/ia64/include/asm/cyclone.h
 delete mode 100644 arch/ia64/include/asm/delay.h
 delete mode 100644 arch/ia64/include/asm/device.h
 delete mode 100644 arch/ia64/include/asm/div64.h
 delete mode 100644 arch/ia64/include/asm/dma-mapping.h
 delete mode 100644 arch/ia64/include/asm/dma.h
 delete mode 100644 arch/ia64/include/asm/dmi.h
 delete mode 100644 arch/ia64/include/asm/early_ioremap.h
 delete mode 100644 arch/ia64/include/asm/efi.h
 delete mode 100644 arch/ia64/include/asm/elf.h
 delete mode 100644 arch/ia64/include/asm/emergency-restart.h
 delete mode 100644 arch/ia64/include/asm/esi.h
 delete mode 100644 arch/ia64/include/asm/exception.h
 delete mode 100644 arch/ia64/include/asm/export.h
 delete mode 100644 arch/ia64/include/asm/extable.h
 delete mode 100644 arch/ia64/include/asm/fb.h
 delete mode 100644 arch/ia64/include/asm/fpswa.h
 delete mode 100644 arch/ia64/include/asm/ftrace.h
 delete mode 100644 arch/ia64/include/asm/futex.h
 delete mode 100644 arch/ia64/include/asm/gcc_intrin.h
 delete mode 100644 arch/ia64/include/asm/hardirq.h
 delete mode 100644 arch/ia64/include/asm/hugetlb.h
 delete mode 100644 arch/ia64/include/asm/hw_irq.h
 delete mode 100644 arch/ia64/include/asm/idle.h
 delete mode 100644 arch/ia64/include/asm/intrinsics.h
 delete mode 100644 arch/ia64/include/asm/io.h
 delete mode 100644 arch/ia64/include/asm/iommu.h
 delete mode 100644 arch/ia64/include/asm/iosapic.h
 delete mode 100644 arch/ia64/include/asm/irq.h
 delete mode 100644 arch/ia64/include/asm/irq_regs.h
 delete mode 100644 arch/ia64/include/asm/irq_remapping.h
 delete mode 100644 arch/ia64/include/asm/irqflags.h
 delete mode 100644 arch/ia64/include/asm/kdebug.h
 delete mode 100644 arch/ia64/include/asm/kexec.h
 delete mode 100644 arch/ia64/include/asm/kprobes.h
 delete mode 100644 arch/ia64/include/asm/kregs.h
 delete mode 100644 arch/ia64/include/asm/libata-portmap.h
 delete mode 100644 arch/ia64/include/asm/linkage.h
 delete mode 100644 arch/ia64/include/asm/local.h
 delete mode 100644 arch/ia64/include/asm/mca.h
 delete mode 100644 arch/ia64/include/asm/mca_asm.h
 delete mode 100644 arch/ia64/include/asm/meminit.h
 delete mode 100644 arch/ia64/include/asm/mman.h
 delete mode 100644 arch/ia64/include/asm/mmiowb.h
 delete mode 100644 arch/ia64/include/asm/mmu.h
 delete mode 100644 arch/ia64/include/asm/mmu_context.h
 delete mode 100644 arch/ia64/include/asm/mmzone.h
 delete mode 100644 arch/ia64/include/asm/module.h
 delete mode 100644 arch/ia64/include/asm/module.lds.h
 delete mode 100644 arch/ia64/include/asm/msidef.h
 delete mode 100644 arch/ia64/include/asm/native/inst.h
 delete mode 100644 arch/ia64/include/asm/native/irq.h
 delete mode 100644 arch/ia64/include/asm/native/patchlist.h
 delete mode 100644 arch/ia64/include/asm/nodedata.h
 delete mode 100644 arch/ia64/include/asm/numa.h
 delete mode 100644 arch/ia64/include/asm/page.h
 delete mode 100644 arch/ia64/include/asm/pal.h
 delete mode 100644 arch/ia64/include/asm/param.h
 delete mode 100644 arch/ia64/include/asm/parport.h
 delete mode 100644 arch/ia64/include/asm/patch.h
 delete mode 100644 arch/ia64/include/asm/pci.h
 delete mode 100644 arch/ia64/include/asm/percpu.h
 delete mode 100644 arch/ia64/include/asm/pgalloc.h
 delete mode 100644 arch/ia64/include/asm/pgtable.h
 delete mode 100644 arch/ia64/include/asm/processor.h
 delete mode 100644 arch/ia64/include/asm/ptrace.h
 delete mode 100644 arch/ia64/include/asm/sal.h
 delete mode 100644 arch/ia64/include/asm/sections.h
 delete mode 100644 arch/ia64/include/asm/serial.h
 delete mode 100644 arch/ia64/include/asm/shmparam.h
 delete mode 100644 arch/ia64/include/asm/signal.h
 delete mode 100644 arch/ia64/include/asm/smp.h
 delete mode 100644 arch/ia64/include/asm/sn/intr.h
 delete mode 100644 arch/ia64/include/asm/sn/sn_sal.h
 delete mode 100644 arch/ia64/include/asm/sparsemem.h
 delete mode 100644 arch/ia64/include/asm/spinlock.h
 delete mode 100644 arch/ia64/include/asm/spinlock_types.h
 delete mode 100644 arch/ia64/include/asm/string.h
 delete mode 100644 arch/ia64/include/asm/switch_to.h
 delete mode 100644 arch/ia64/include/asm/syscall.h
 delete mode 100644 arch/ia64/include/asm/thread_info.h
 delete mode 100644 arch/ia64/include/asm/timex.h
 delete mode 100644 arch/ia64/include/asm/tlb.h
 delete mode 100644 arch/ia64/include/asm/tlbflush.h
 delete mode 100644 arch/ia64/include/asm/topology.h
 delete mode 100644 arch/ia64/include/asm/types.h
 delete mode 100644 arch/ia64/include/asm/uaccess.h
 delete mode 100644 arch/ia64/include/asm/uncached.h
 delete mode 100644 arch/ia64/include/asm/unistd.h
 delete mode 100644 arch/ia64/include/asm/unwind.h
 delete mode 100644 arch/ia64/include/asm/user.h
 delete mode 100644 arch/ia64/include/asm/ustack.h
 delete mode 100644 arch/ia64/include/asm/uv/uv.h
 delete mode 100644 arch/ia64/include/asm/uv/uv_hub.h
 delete mode 100644 arch/ia64/include/asm/uv/uv_mmrs.h
 delete mode 100644 arch/ia64/include/asm/vermagic.h
 delete mode 100644 arch/ia64/include/asm/vga.h
 delete mode 100644 arch/ia64/include/asm/vmalloc.h
 delete mode 100644 arch/ia64/include/asm/xor.h
 delete mode 100644 arch/ia64/include/asm/xtp.h
 delete mode 100644 arch/ia64/include/uapi/asm/Kbuild
 delete mode 100644 arch/ia64/include/uapi/asm/auxvec.h
 delete mode 100644 arch/ia64/include/uapi/asm/bitsperlong.h
 delete mode 100644 arch/ia64/include/uapi/asm/break.h
 delete mode 100644 arch/ia64/include/uapi/asm/byteorder.h
 delete mode 100644 arch/ia64/include/uapi/asm/cmpxchg.h
 delete mode 100644 arch/ia64/include/uapi/asm/fcntl.h
 delete mode 100644 arch/ia64/include/uapi/asm/fpu.h
 delete mode 100644 arch/ia64/include/uapi/asm/gcc_intrin.h
 delete mode 100644 arch/ia64/include/uapi/asm/ia64regs.h
 delete mode 100644 arch/ia64/include/uapi/asm/intel_intrin.h
 delete mode 100644 arch/ia64/include/uapi/asm/intrinsics.h
 delete mode 100644 arch/ia64/include/uapi/asm/mman.h
 delete mode 100644 arch/ia64/include/uapi/asm/param.h
 delete mode 100644 arch/ia64/include/uapi/asm/posix_types.h
 delete mode 100644 arch/ia64/include/uapi/asm/ptrace.h
 delete mode 100644 arch/ia64/include/uapi/asm/ptrace_offsets.h
 delete mode 100644 arch/ia64/include/uapi/asm/resource.h
 delete mode 100644 arch/ia64/include/uapi/asm/rse.h
 delete mode 100644 arch/ia64/include/uapi/asm/setup.h
 delete mode 100644 arch/ia64/include/uapi/asm/sigcontext.h
 delete mode 100644 arch/ia64/include/uapi/asm/siginfo.h
 delete mode 100644 arch/ia64/include/uapi/asm/signal.h
 delete mode 100644 arch/ia64/include/uapi/asm/stat.h
 delete mode 100644 arch/ia64/include/uapi/asm/statfs.h
 delete mode 100644 arch/ia64/include/uapi/asm/swab.h
 delete mode 100644 arch/ia64/include/uapi/asm/types.h
 delete mode 100644 arch/ia64/include/uapi/asm/ucontext.h
 delete mode 100644 arch/ia64/include/uapi/asm/unistd.h
 delete mode 100644 arch/ia64/include/uapi/asm/ustack.h
 delete mode 100755 arch/ia64/install.sh
 delete mode 100644 arch/ia64/kernel/.gitignore
 delete mode 100644 arch/ia64/kernel/Makefile
 delete mode 100644 arch/ia64/kernel/Makefile.gate
 delete mode 100644 arch/ia64/kernel/acpi-ext.c
 delete mode 100644 arch/ia64/kernel/acpi.c
 delete mode 100644 arch/ia64/kernel/asm-offsets.c
 delete mode 100644 arch/ia64/kernel/audit.c
 delete mode 100644 arch/ia64/kernel/brl_emu.c
 delete mode 100644 arch/ia64/kernel/crash.c
 delete mode 100644 arch/ia64/kernel/crash_dump.c
 delete mode 100644 arch/ia64/kernel/cyclone.c
 delete mode 100644 arch/ia64/kernel/dma-mapping.c
 delete mode 100644 arch/ia64/kernel/efi.c
 delete mode 100644 arch/ia64/kernel/efi_stub.S
 delete mode 100644 arch/ia64/kernel/elfcore.c
 delete mode 100644 arch/ia64/kernel/entry.S
 delete mode 100644 arch/ia64/kernel/entry.h
 delete mode 100644 arch/ia64/kernel/err_inject.c
 delete mode 100644 arch/ia64/kernel/esi.c
 delete mode 100644 arch/ia64/kernel/esi_stub.S
 delete mode 100644 arch/ia64/kernel/fsys.S
 delete mode 100644 arch/ia64/kernel/fsyscall_gtod_data.h
 delete mode 100644 arch/ia64/kernel/ftrace.c
 delete mode 100644 arch/ia64/kernel/gate-data.S
 delete mode 100644 arch/ia64/kernel/gate.S
 delete mode 100644 arch/ia64/kernel/gate.lds.S
 delete mode 100644 arch/ia64/kernel/head.S
 delete mode 100644 arch/ia64/kernel/iosapic.c
 delete mode 100644 arch/ia64/kernel/irq.c
 delete mode 100644 arch/ia64/kernel/irq.h
 delete mode 100644 arch/ia64/kernel/irq_ia64.c
 delete mode 100644 arch/ia64/kernel/irq_lsapic.c
 delete mode 100644 arch/ia64/kernel/ivt.S
 delete mode 100644 arch/ia64/kernel/kprobes.c
 delete mode 100644 arch/ia64/kernel/machine_kexec.c
 delete mode 100644 arch/ia64/kernel/mca.c
 delete mode 100644 arch/ia64/kernel/mca_asm.S
 delete mode 100644 arch/ia64/kernel/mca_drv.c
 delete mode 100644 arch/ia64/kernel/mca_drv.h
 delete mode 100644 arch/ia64/kernel/mca_drv_asm.S
 delete mode 100644 arch/ia64/kernel/minstate.h
 delete mode 100644 arch/ia64/kernel/module.c
 delete mode 100644 arch/ia64/kernel/msi_ia64.c
 delete mode 100644 arch/ia64/kernel/numa.c
 delete mode 100644 arch/ia64/kernel/pal.S
 delete mode 100644 arch/ia64/kernel/palinfo.c
 delete mode 100644 arch/ia64/kernel/patch.c
 delete mode 100644 arch/ia64/kernel/pci-dma.c
 delete mode 100644 arch/ia64/kernel/perfmon_itanium.h
 delete mode 100644 arch/ia64/kernel/process.c
 delete mode 100644 arch/ia64/kernel/ptrace.c
 delete mode 100644 arch/ia64/kernel/relocate_kernel.S
 delete mode 100644 arch/ia64/kernel/sal.c
 delete mode 100644 arch/ia64/kernel/salinfo.c
 delete mode 100644 arch/ia64/kernel/setup.c
 delete mode 100644 arch/ia64/kernel/sigframe.h
 delete mode 100644 arch/ia64/kernel/signal.c
 delete mode 100644 arch/ia64/kernel/smp.c
 delete mode 100644 arch/ia64/kernel/smpboot.c
 delete mode 100644 arch/ia64/kernel/stacktrace.c
 delete mode 100644 arch/ia64/kernel/sys_ia64.c
 delete mode 100644 arch/ia64/kernel/syscalls/Makefile
 delete mode 100644 arch/ia64/kernel/syscalls/syscall.tbl
 delete mode 100644 arch/ia64/kernel/time.c
 delete mode 100644 arch/ia64/kernel/topology.c
 delete mode 100644 arch/ia64/kernel/traps.c
 delete mode 100644 arch/ia64/kernel/unaligned.c
 delete mode 100644 arch/ia64/kernel/uncached.c
 delete mode 100644 arch/ia64/kernel/unwind.c
 delete mode 100644 arch/ia64/kernel/unwind_decoder.c
 delete mode 100644 arch/ia64/kernel/unwind_i.h
 delete mode 100644 arch/ia64/kernel/vmlinux.lds.S
 delete mode 100644 arch/ia64/lib/Makefile
 delete mode 100644 arch/ia64/lib/checksum.c
 delete mode 100644 arch/ia64/lib/clear_page.S
 delete mode 100644 arch/ia64/lib/clear_user.S
 delete mode 100644 arch/ia64/lib/copy_page.S
 delete mode 100644 arch/ia64/lib/copy_page_mck.S
 delete mode 100644 arch/ia64/lib/copy_user.S
 delete mode 100644 arch/ia64/lib/csum_partial_copy.c
 delete mode 100644 arch/ia64/lib/do_csum.S
 delete mode 100644 arch/ia64/lib/flush.S
 delete mode 100644 arch/ia64/lib/idiv32.S
 delete mode 100644 arch/ia64/lib/idiv64.S
 delete mode 100644 arch/ia64/lib/io.c
 delete mode 100644 arch/ia64/lib/ip_fast_csum.S
 delete mode 100644 arch/ia64/lib/memcpy.S
 delete mode 100644 arch/ia64/lib/memcpy_mck.S
 delete mode 100644 arch/ia64/lib/memset.S
 delete mode 100644 arch/ia64/lib/strlen.S
 delete mode 100644 arch/ia64/lib/strncpy_from_user.S
 delete mode 100644 arch/ia64/lib/strnlen_user.S
 delete mode 100644 arch/ia64/lib/xor.S
 delete mode 100644 arch/ia64/mm/Makefile
 delete mode 100644 arch/ia64/mm/contig.c
 delete mode 100644 arch/ia64/mm/discontig.c
 delete mode 100644 arch/ia64/mm/extable.c
 delete mode 100644 arch/ia64/mm/fault.c
 delete mode 100644 arch/ia64/mm/hugetlbpage.c
 delete mode 100644 arch/ia64/mm/init.c
 delete mode 100644 arch/ia64/mm/ioremap.c
 delete mode 100644 arch/ia64/mm/numa.c
 delete mode 100644 arch/ia64/mm/tlb.c
 delete mode 100644 arch/ia64/pci/Makefile
 delete mode 100644 arch/ia64/pci/fixup.c
 delete mode 100644 arch/ia64/pci/pci.c
 delete mode 100755 arch/ia64/scripts/check-gas
 delete mode 100644 arch/ia64/scripts/check-gas-asm.S
 delete mode 100644 arch/ia64/scripts/check-model.c
 delete mode 100644 arch/ia64/scripts/check-segrel.S
 delete mode 100644 arch/ia64/scripts/check-segrel.lds
 delete mode 100644 arch/ia64/scripts/check-serialize.S
 delete mode 100644 arch/ia64/scripts/check-text-align.S
 delete mode 100755 arch/ia64/scripts/toolchain-flags
 delete mode 100644 arch/ia64/scripts/unwcheck.py
 delete mode 100644 arch/ia64/uv/Makefile
 delete mode 100644 arch/ia64/uv/kernel/Makefile
 delete mode 100644 arch/ia64/uv/kernel/setup.c
 delete mode 100644 drivers/char/agp/hp-agp.c
 delete mode 100644 drivers/char/agp/i460-agp.c
 delete mode 100644 drivers/char/mspec.c
 delete mode 100644 drivers/cpufreq/ia64-acpi-cpufreq.c
 delete mode 100644 drivers/firmware/pcdp.c
 delete mode 100644 drivers/firmware/pcdp.h
 delete mode 100644 tools/arch/ia64/include/asm/barrier.h
 delete mode 100644 tools/arch/ia64/include/uapi/asm/bitsperlong.h
 delete mode 100644 tools/arch/ia64/include/uapi/asm/mman.h

-- 
2.39.1

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
@ 2023-02-15 10:00 ` Ard Biesheuvel
  2023-02-15 10:19   ` Arnd Bergmann
  2023-02-15 10:00 ` [RFC PATCH 3/5] Documentation: Drop IA64 from feature descriptions Ard Biesheuvel
                   ` (10 subsequent siblings)
  11 siblings, 1 reply; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 10:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ard Biesheuvel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 include/linux/sched/signal.h | 17 ++++---------
 kernel/signal.c              | 25 ++++----------------
 2 files changed, 9 insertions(+), 33 deletions(-)

diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h
index 20099268fa257f40..6aecfbf823656f6c 100644
--- a/include/linux/sched/signal.h
+++ b/include/linux/sched/signal.h
@@ -303,20 +303,11 @@ static inline void kernel_signal_stop(void)
 
 	schedule();
 }
-#ifdef __ia64__
-# define ___ARCH_SI_IA64(_a1, _a2, _a3) , _a1, _a2, _a3
-#else
-# define ___ARCH_SI_IA64(_a1, _a2, _a3)
-#endif
 
-int force_sig_fault_to_task(int sig, int code, void __user *addr
-	___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr)
-	, struct task_struct *t);
-int force_sig_fault(int sig, int code, void __user *addr
-	___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr));
-int send_sig_fault(int sig, int code, void __user *addr
-	___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr)
-	, struct task_struct *t);
+int force_sig_fault_to_task(int sig, int code, void __user *addr,
+			    struct task_struct *t);
+int force_sig_fault(int sig, int code, void __user *addr);
+int send_sig_fault(int sig, int code, void __user *addr, struct task_struct *t);
 
 int force_sig_mceerr(int code, void __user *, short);
 int send_sig_mceerr(int code, void __user *, short, struct task_struct *);
diff --git a/kernel/signal.c b/kernel/signal.c
index ae26da61c4d9fa6a..5b7f0bf2713901da 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1701,9 +1701,8 @@ void force_sigsegv(int sig)
 		force_sig(SIGSEGV);
 }
 
-int force_sig_fault_to_task(int sig, int code, void __user *addr
-	___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr)
-	, struct task_struct *t)
+int force_sig_fault_to_task(int sig, int code, void __user *addr,
+			    struct task_struct *t)
 {
 	struct kernel_siginfo info;
 
@@ -1712,24 +1711,15 @@ int force_sig_fault_to_task(int sig, int code, void __user *addr
 	info.si_errno = 0;
 	info.si_code  = code;
 	info.si_addr  = addr;
-#ifdef __ia64__
-	info.si_imm = imm;
-	info.si_flags = flags;
-	info.si_isr = isr;
-#endif
 	return force_sig_info_to_task(&info, t, HANDLER_CURRENT);
 }
 
-int force_sig_fault(int sig, int code, void __user *addr
-	___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr))
+int force_sig_fault(int sig, int code, void __user *addr)
 {
-	return force_sig_fault_to_task(sig, code, addr
-				       ___ARCH_SI_IA64(imm, flags, isr), current);
+	return force_sig_fault_to_task(sig, code, addr, current);
 }
 
-int send_sig_fault(int sig, int code, void __user *addr
-	___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr)
-	, struct task_struct *t)
+int send_sig_fault(int sig, int code, void __user *addr, struct task_struct *t)
 {
 	struct kernel_siginfo info;
 
@@ -1738,11 +1728,6 @@ int send_sig_fault(int sig, int code, void __user *addr
 	info.si_errno = 0;
 	info.si_code  = code;
 	info.si_addr  = addr;
-#ifdef __ia64__
-	info.si_imm = imm;
-	info.si_flags = flags;
-	info.si_isr = isr;
-#endif
 	return send_sig_info(info.si_signo, &info, t);
 }
 
-- 
2.39.1

^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [RFC PATCH 3/5] Documentation: Drop IA64 from feature descriptions
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
  2023-02-15 10:00 ` [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers Ard Biesheuvel
@ 2023-02-15 10:00 ` Ard Biesheuvel
  2023-02-15 10:00 ` [RFC PATCH 4/5] lib/raid6: Drop IA64 support Ard Biesheuvel
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 10:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ard Biesheuvel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

Itanium (IA64) is going away, so drop it from the kernel feature
documentation.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 Documentation/features/core/cBPF-JIT/arch-support.txt              | 1 -
 Documentation/features/core/eBPF-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/thread-info-in-task/arch-support.txt   | 1 -
 Documentation/features/core/tracehook/arch-support.txt             | 1 -
 Documentation/features/debug/KASAN/arch-support.txt                | 1 -
 Documentation/features/debug/debug-vm-pgtable/arch-support.txt     | 1 -
 Documentation/features/debug/gcov-profile-all/arch-support.txt     | 1 -
 Documentation/features/debug/kcov/arch-support.txt                 | 1 -
 Documentation/features/debug/kgdb/arch-support.txt                 | 1 -
 Documentation/features/debug/kmemleak/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-contiguous/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/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/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/pte_special/arch-support.txt             | 1 -
 42 files changed, 42 deletions(-)

diff --git a/Documentation/features/core/cBPF-JIT/arch-support.txt b/Documentation/features/core/cBPF-JIT/arch-support.txt
index 0a1f5bb7eeb9a63a..937840080de718cd 100644
--- a/Documentation/features/core/cBPF-JIT/arch-support.txt
+++ b/Documentation/features/core/cBPF-JIT/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: | TODO |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/core/eBPF-JIT/arch-support.txt b/Documentation/features/core/eBPF-JIT/arch-support.txt
index 6c0f3d759e6a0b2e..7434b43c2ff8727f 100644
--- a/Documentation/features/core/eBPF-JIT/arch-support.txt
+++ b/Documentation/features/core/eBPF-JIT/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/core/generic-idle-thread/arch-support.txt b/Documentation/features/core/generic-idle-thread/arch-support.txt
index 0b94099cf6aca230..0735cb5367b4b179 100644
--- a/Documentation/features/core/generic-idle-thread/arch-support.txt
+++ b/Documentation/features/core/generic-idle-thread/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: |  ok  |
-    |        ia64: |  ok  |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/core/jump-labels/arch-support.txt b/Documentation/features/core/jump-labels/arch-support.txt
index 2328eada3a491a4d..f1921393981c6e4c 100644
--- a/Documentation/features/core/jump-labels/arch-support.txt
+++ b/Documentation/features/core/jump-labels/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/core/thread-info-in-task/arch-support.txt b/Documentation/features/core/thread-info-in-task/arch-support.txt
index 9c5d39eebef21520..89a9f69ff9fdbc60 100644
--- a/Documentation/features/core/thread-info-in-task/arch-support.txt
+++ b/Documentation/features/core/thread-info-in-task/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/core/tracehook/arch-support.txt b/Documentation/features/core/tracehook/arch-support.txt
index aed5679da651cad2..a72330e2554245c2 100644
--- a/Documentation/features/core/tracehook/arch-support.txt
+++ b/Documentation/features/core/tracehook/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: |  ok  |
-    |        ia64: |  ok  |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/KASAN/arch-support.txt b/Documentation/features/debug/KASAN/arch-support.txt
index bf0124fae643a1bb..83633c583104774a 100644
--- a/Documentation/features/debug/KASAN/arch-support.txt
+++ b/Documentation/features/debug/KASAN/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/debug-vm-pgtable/arch-support.txt b/Documentation/features/debug/debug-vm-pgtable/arch-support.txt
index 9ec5d13f4939c6b3..bbf029f095cb57eb 100644
--- a/Documentation/features/debug/debug-vm-pgtable/arch-support.txt
+++ b/Documentation/features/debug/debug-vm-pgtable/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/gcov-profile-all/arch-support.txt b/Documentation/features/debug/gcov-profile-all/arch-support.txt
index dc4014f7e1f8ad77..63494bddc2638e13 100644
--- a/Documentation/features/debug/gcov-profile-all/arch-support.txt
+++ b/Documentation/features/debug/gcov-profile-all/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: |  ok  |
diff --git a/Documentation/features/debug/kcov/arch-support.txt b/Documentation/features/debug/kcov/arch-support.txt
index ffcc9f2b1d74d393..cdeace38aa9775b3 100644
--- a/Documentation/features/debug/kcov/arch-support.txt
+++ b/Documentation/features/debug/kcov/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/kgdb/arch-support.txt b/Documentation/features/debug/kgdb/arch-support.txt
index 958498f9f2a41f2b..9c7e23d574ef4c05 100644
--- a/Documentation/features/debug/kgdb/arch-support.txt
+++ b/Documentation/features/debug/kgdb/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: |  ok  |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: |  ok  |
diff --git a/Documentation/features/debug/kmemleak/arch-support.txt b/Documentation/features/debug/kmemleak/arch-support.txt
index 0cfa5f0e4db15230..1fa8bd638716979e 100644
--- a/Documentation/features/debug/kmemleak/arch-support.txt
+++ b/Documentation/features/debug/kmemleak/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: |  ok  |
diff --git a/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt b/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt
index bcc29d3aba9ad884..9343ec9347b7148f 100644
--- a/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt
+++ b/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: | TODO |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/kprobes/arch-support.txt b/Documentation/features/debug/kprobes/arch-support.txt
index 8a77d62a42c59b81..4bf01cc4e023be0a 100644
--- a/Documentation/features/debug/kprobes/arch-support.txt
+++ b/Documentation/features/debug/kprobes/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: |  ok  |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/kretprobes/arch-support.txt b/Documentation/features/debug/kretprobes/arch-support.txt
index cf4723c5ac55df9c..0493d0b07ea4b496 100644
--- a/Documentation/features/debug/kretprobes/arch-support.txt
+++ b/Documentation/features/debug/kretprobes/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: |  ok  |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/optprobes/arch-support.txt b/Documentation/features/debug/optprobes/arch-support.txt
index 83a4639a5c0a15aa..92f5d0f444faa554 100644
--- a/Documentation/features/debug/optprobes/arch-support.txt
+++ b/Documentation/features/debug/optprobes/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: | TODO |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/stackprotector/arch-support.txt b/Documentation/features/debug/stackprotector/arch-support.txt
index 71cd4ba18f7df6b0..8919efaeef989c59 100644
--- a/Documentation/features/debug/stackprotector/arch-support.txt
+++ b/Documentation/features/debug/stackprotector/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/uprobes/arch-support.txt b/Documentation/features/debug/uprobes/arch-support.txt
index d53f2f94fbda5fda..6f8296c0dbbee1db 100644
--- a/Documentation/features/debug/uprobes/arch-support.txt
+++ b/Documentation/features/debug/uprobes/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/debug/user-ret-profiler/arch-support.txt b/Documentation/features/debug/user-ret-profiler/arch-support.txt
index 059110a5fa6eb9cc..3e431767581d1f33 100644
--- a/Documentation/features/debug/user-ret-profiler/arch-support.txt
+++ b/Documentation/features/debug/user-ret-profiler/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: | TODO |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/io/dma-contiguous/arch-support.txt b/Documentation/features/io/dma-contiguous/arch-support.txt
index bfe0921a3853ad6c..3c6ce35d704f97f4 100644
--- a/Documentation/features/io/dma-contiguous/arch-support.txt
+++ b/Documentation/features/io/dma-contiguous/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: |  ok  |
diff --git a/Documentation/features/locking/cmpxchg-local/arch-support.txt b/Documentation/features/locking/cmpxchg-local/arch-support.txt
index 68329e96dffad2d0..2c3a4b91f16df341 100644
--- a/Documentation/features/locking/cmpxchg-local/arch-support.txt
+++ b/Documentation/features/locking/cmpxchg-local/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/locking/lockdep/arch-support.txt b/Documentation/features/locking/lockdep/arch-support.txt
index ddb945278589e1d8..4d9c5306f72f1c71 100644
--- a/Documentation/features/locking/lockdep/arch-support.txt
+++ b/Documentation/features/locking/lockdep/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: |  ok  |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: |  ok  |
diff --git a/Documentation/features/locking/queued-rwlocks/arch-support.txt b/Documentation/features/locking/queued-rwlocks/arch-support.txt
index 5deb845477e4909a..b286a5fff283be7b 100644
--- a/Documentation/features/locking/queued-rwlocks/arch-support.txt
+++ b/Documentation/features/locking/queued-rwlocks/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/locking/queued-spinlocks/arch-support.txt b/Documentation/features/locking/queued-spinlocks/arch-support.txt
index 2d3961bfef5d666e..22f2990392ff8f5c 100644
--- a/Documentation/features/locking/queued-spinlocks/arch-support.txt
+++ b/Documentation/features/locking/queued-spinlocks/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/perf/kprobes-event/arch-support.txt b/Documentation/features/perf/kprobes-event/arch-support.txt
index 641a7d2ff2a3cacb..713a69fcd697bd70 100644
--- a/Documentation/features/perf/kprobes-event/arch-support.txt
+++ b/Documentation/features/perf/kprobes-event/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: |  ok  |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/perf/perf-regs/arch-support.txt b/Documentation/features/perf/perf-regs/arch-support.txt
index 33866eb242c18b27..09431518b0e858ee 100644
--- a/Documentation/features/perf/perf-regs/arch-support.txt
+++ b/Documentation/features/perf/perf-regs/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/perf/perf-stackdump/arch-support.txt b/Documentation/features/perf/perf-stackdump/arch-support.txt
index c8e4c7c65012c1b3..f9db4dd8ef79a1be 100644
--- a/Documentation/features/perf/perf-stackdump/arch-support.txt
+++ b/Documentation/features/perf/perf-stackdump/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/sched/membarrier-sync-core/arch-support.txt b/Documentation/features/sched/membarrier-sync-core/arch-support.txt
index 1e51614c136eb6e2..c7e41e91559fd144 100644
--- a/Documentation/features/sched/membarrier-sync-core/arch-support.txt
+++ b/Documentation/features/sched/membarrier-sync-core/arch-support.txt
@@ -35,7 +35,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/sched/numa-balancing/arch-support.txt b/Documentation/features/sched/numa-balancing/arch-support.txt
index 532cc67cdf921784..984601c7c479dabf 100644
--- a/Documentation/features/sched/numa-balancing/arch-support.txt
+++ b/Documentation/features/sched/numa-balancing/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ..  |
     |     hexagon: |  ..  |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: |  ..  |
     |  microblaze: |  ..  |
diff --git a/Documentation/features/seccomp/seccomp-filter/arch-support.txt b/Documentation/features/seccomp/seccomp-filter/arch-support.txt
index dc71bf7b1a7ef333..1c2067944a64c9c6 100644
--- a/Documentation/features/seccomp/seccomp-filter/arch-support.txt
+++ b/Documentation/features/seccomp/seccomp-filter/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/time/arch-tick-broadcast/arch-support.txt b/Documentation/features/time/arch-tick-broadcast/arch-support.txt
index 9bffac80019e990a..ccba965e8d07178b 100644
--- a/Documentation/features/time/arch-tick-broadcast/arch-support.txt
+++ b/Documentation/features/time/arch-tick-broadcast/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/time/clockevents/arch-support.txt b/Documentation/features/time/clockevents/arch-support.txt
index 625160048f68f012..4d4bfac529701f11 100644
--- a/Documentation/features/time/clockevents/arch-support.txt
+++ b/Documentation/features/time/clockevents/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: |  ok  |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: |  ok  |
diff --git a/Documentation/features/time/context-tracking/arch-support.txt b/Documentation/features/time/context-tracking/arch-support.txt
index 72bc5bad0348cae0..891be9f619030293 100644
--- a/Documentation/features/time/context-tracking/arch-support.txt
+++ b/Documentation/features/time/context-tracking/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/time/irq-time-acct/arch-support.txt b/Documentation/features/time/irq-time-acct/arch-support.txt
index ceb036610d09bdba..3d10075a8a8a4ab1 100644
--- a/Documentation/features/time/irq-time-acct/arch-support.txt
+++ b/Documentation/features/time/irq-time-acct/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: |  ..  |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/time/virt-cpuacct/arch-support.txt b/Documentation/features/time/virt-cpuacct/arch-support.txt
index c063dffd5261dce0..21f11d47ef722c56 100644
--- a/Documentation/features/time/virt-cpuacct/arch-support.txt
+++ b/Documentation/features/time/virt-cpuacct/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ok  |
     |     hexagon: | TODO |
-    |        ia64: |  ok  |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/vm/ELF-ASLR/arch-support.txt b/Documentation/features/vm/ELF-ASLR/arch-support.txt
index 15164f36f2240816..ad0180c3b75f58ec 100644
--- a/Documentation/features/vm/ELF-ASLR/arch-support.txt
+++ b/Documentation/features/vm/ELF-ASLR/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/vm/PG_uncached/arch-support.txt b/Documentation/features/vm/PG_uncached/arch-support.txt
index 5acd64b97dba5cfb..5a7508b8c967e2fc 100644
--- a/Documentation/features/vm/PG_uncached/arch-support.txt
+++ b/Documentation/features/vm/PG_uncached/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: | TODO |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: |  ok  |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/vm/THP/arch-support.txt b/Documentation/features/vm/THP/arch-support.txt
index 9dd7d75d04653ebf..b4a5ce16940dfd3d 100644
--- a/Documentation/features/vm/THP/arch-support.txt
+++ b/Documentation/features/vm/THP/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: |  ..  |
     |     hexagon: |  ..  |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: |  ..  |
     |  microblaze: |  ..  |
diff --git a/Documentation/features/vm/TLB/arch-support.txt b/Documentation/features/vm/TLB/arch-support.txt
index 7f049c251a79e4c0..e83b49d2d7563f65 100644
--- a/Documentation/features/vm/TLB/arch-support.txt
+++ b/Documentation/features/vm/TLB/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: | N/A  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: |  ..  |
     |  microblaze: |  ..  |
diff --git a/Documentation/features/vm/huge-vmap/arch-support.txt b/Documentation/features/vm/huge-vmap/arch-support.txt
index 34647d9bdca46e2c..2d6de7b045385db1 100644
--- a/Documentation/features/vm/huge-vmap/arch-support.txt
+++ b/Documentation/features/vm/huge-vmap/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: | TODO |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/vm/ioremap_prot/arch-support.txt b/Documentation/features/vm/ioremap_prot/arch-support.txt
index a24149e59d73e492..1638c2cb17f15cb2 100644
--- a/Documentation/features/vm/ioremap_prot/arch-support.txt
+++ b/Documentation/features/vm/ioremap_prot/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
diff --git a/Documentation/features/vm/pte_special/arch-support.txt b/Documentation/features/vm/pte_special/arch-support.txt
index d2b22a06945e7526..3f777f8b67d539c2 100644
--- a/Documentation/features/vm/pte_special/arch-support.txt
+++ b/Documentation/features/vm/pte_special/arch-support.txt
@@ -12,7 +12,6 @@
     |       arm64: |  ok  |
     |        csky: | TODO |
     |     hexagon: | TODO |
-    |        ia64: | TODO |
     |   loongarch: |  ok  |
     |        m68k: | TODO |
     |  microblaze: | TODO |
-- 
2.39.1

^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [RFC PATCH 4/5] lib/raid6: Drop IA64 support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
  2023-02-15 10:00 ` [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers Ard Biesheuvel
  2023-02-15 10:00 ` [RFC PATCH 3/5] Documentation: Drop IA64 from feature descriptions Ard Biesheuvel
@ 2023-02-15 10:00 ` Ard Biesheuvel
  2023-02-15 10:00 ` [RFC PATCH 5/5] Documentation: Drop or replace remaining mentions of IA64 Ard Biesheuvel
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 10:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ard Biesheuvel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

Drop Itanium support from the RAID6 code, and along with it, the 16x and
32x unrolled versions, which were only used by IA64.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 include/linux/raid/pq.h | 2 --
 lib/raid6/Makefile      | 4 ++--
 lib/raid6/algos.c       | 4 ----
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h
index f29aaaf2eb21e9bd..f2536c99141aad77 100644
--- a/include/linux/raid/pq.h
+++ b/include/linux/raid/pq.h
@@ -84,8 +84,6 @@ extern const struct raid6_calls raid6_intx1;
 extern const struct raid6_calls raid6_intx2;
 extern const struct raid6_calls raid6_intx4;
 extern const struct raid6_calls raid6_intx8;
-extern const struct raid6_calls raid6_intx16;
-extern const struct raid6_calls raid6_intx32;
 extern const struct raid6_calls raid6_mmxx1;
 extern const struct raid6_calls raid6_mmxx2;
 extern const struct raid6_calls raid6_sse1x1;
diff --git a/lib/raid6/Makefile b/lib/raid6/Makefile
index 45e17619422b4ef4..065a31e8f71df898 100644
--- a/lib/raid6/Makefile
+++ b/lib/raid6/Makefile
@@ -2,7 +2,7 @@
 obj-$(CONFIG_RAID6_PQ)	+= raid6_pq.o
 
 raid6_pq-y	+= algos.o recov.o tables.o int1.o int2.o int4.o \
-		   int8.o int16.o int32.o
+		   int8.o
 
 raid6_pq-$(CONFIG_X86) += recov_ssse3.o recov_avx2.o mmx.o sse1.o sse2.o avx2.o avx512.o recov_avx512.o
 raid6_pq-$(CONFIG_ALTIVEC) += altivec1.o altivec2.o altivec4.o altivec8.o \
@@ -54,7 +54,7 @@ endif
 quiet_cmd_unroll = UNROLL  $@
       cmd_unroll = $(AWK) -v N=$* -f $(srctree)/$(src)/unroll.awk < $< > $@
 
-targets += int1.c int2.c int4.c int8.c int16.c int32.c
+targets += int1.c int2.c int4.c int8.c
 $(obj)/int%.c: $(src)/int.uc $(src)/unroll.awk FORCE
 	$(call if_changed,unroll)
 
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c
index a22a05c9af8a3a75..fd1e699fa5fc19ae 100644
--- a/lib/raid6/algos.c
+++ b/lib/raid6/algos.c
@@ -72,10 +72,6 @@ const struct raid6_calls * const raid6_algos[] = {
 	&raid6_neonx4,
 	&raid6_neonx2,
 	&raid6_neonx1,
-#endif
-#if defined(__ia64__)
-	&raid6_intx32,
-	&raid6_intx16,
 #endif
 	&raid6_intx8,
 	&raid6_intx4,
-- 
2.39.1

^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [RFC PATCH 5/5] Documentation: Drop or replace remaining mentions of IA64
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (2 preceding siblings ...)
  2023-02-15 10:00 ` [RFC PATCH 4/5] lib/raid6: Drop IA64 support Ard Biesheuvel
@ 2023-02-15 10:00 ` Ard Biesheuvel
  2023-02-15 10:17 ` [RFC PATCH 0/5] Retire IA64/Itanium support John Paul Adrian Glaubitz
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 10:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ard Biesheuvel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 19197 bytes --]

Drop or update mentions of IA64, as appropriate.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 Documentation/ABI/testing/sysfs-devices-system-cpu                 |  3 --
 Documentation/ABI/testing/sysfs-firmware-dmi-entries               |  2 +-
 Documentation/admin-guide/kdump/kdump.rst                          | 37 ++------------------
 Documentation/admin-guide/kdump/vmcoreinfo.rst                     | 30 ----------------
 Documentation/admin-guide/kernel-parameters.txt                    |  8 +----
 Documentation/admin-guide/mm/memory-hotplug.rst                    |  2 +-
 Documentation/admin-guide/sysctl/kernel.rst                        | 23 ++----------
 Documentation/arch.rst                                             |  1 -
 Documentation/block/ioprio.rst                                     |  3 --
 Documentation/core-api/debugging-via-ohci1394.rst                  |  6 ++--
 Documentation/kbuild/makefiles.rst                                 |  2 +-
 Documentation/networking/device_drivers/ethernet/neterion/s2io.rst |  4 +--
 Documentation/scheduler/sched-arch.rst                             |  4 +--
 Documentation/trace/kprobes.rst                                    |  1 -
 Documentation/translations/zh_CN/arch.rst                          |  1 -
 Documentation/translations/zh_CN/core-api/cpu_hotplug.rst          |  6 ----
 Documentation/translations/zh_CN/scheduler/sched-arch.rst          |  5 +--
 Makefile                                                           |  4 +--
 18 files changed, 18 insertions(+), 124 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu
index f54867cadb0f68a8..7fc70f8cd90ed4ec 100644
--- a/Documentation/ABI/testing/sysfs-devices-system-cpu
+++ b/Documentation/ABI/testing/sysfs-devices-system-cpu
@@ -354,9 +354,6 @@ Description:	Parameters for the CPU cache attributes
 			- ReadWriteAllocate:
 					both writeallocate and readallocate
 
-		attributes:
-			    LEGACY used only on IA64 and is same as write_policy
-
 		coherency_line_size:
 				     the minimum amount of data in bytes that gets
 				     transferred from memory to cache
diff --git a/Documentation/ABI/testing/sysfs-firmware-dmi-entries b/Documentation/ABI/testing/sysfs-firmware-dmi-entries
index fe0289c877684958..b6c23807b8047405 100644
--- a/Documentation/ABI/testing/sysfs-firmware-dmi-entries
+++ b/Documentation/ABI/testing/sysfs-firmware-dmi-entries
@@ -2,7 +2,7 @@ What:		/sys/firmware/dmi/entries/
 Date:		February 2011
 Contact:	Mike Waychison <mikew@google.com>
 Description:
-		Many machines' firmware (x86 and ia64) export DMI /
+		Many machines' firmware (x86 and arm64) export DMI /
 		SMBIOS tables to the operating system.  Getting at this
 		information is often valuable to userland, especially in
 		cases where there are OEM extensions used.
diff --git a/Documentation/admin-guide/kdump/kdump.rst b/Documentation/admin-guide/kdump/kdump.rst
index a748e7eb4429b886..5762e7477a0c8edb 100644
--- a/Documentation/admin-guide/kdump/kdump.rst
+++ b/Documentation/admin-guide/kdump/kdump.rst
@@ -17,7 +17,7 @@ You can use common commands, such as cp, scp or makedumpfile to copy
 the memory image to a dump file on the local disk, or across the network
 to a remote system.
 
-Kdump and kexec are currently supported on the x86, x86_64, ppc64, ia64,
+Kdump and kexec are currently supported on the x86, x86_64, ppc64,
 s390x, arm and arm64 architectures.
 
 When the system kernel boots, it reserves a small section of memory for
@@ -113,7 +113,7 @@ There are two possible methods of using Kdump.
 2) Or use the system kernel binary itself as dump-capture kernel and there is
    no need to build a separate dump-capture kernel. This is possible
    only with the architectures which support a relocatable kernel. As
-   of today, i386, x86_64, ppc64, ia64, arm and arm64 architectures support
+   of today, i386, x86_64, ppc64, arm and arm64 architectures support
    relocatable kernel.
 
 Building a relocatable kernel is advantageous from the point of view that
@@ -236,24 +236,6 @@ Dump-capture kernel config options (Arch Dependent, ppc64)
 
    Make and install the kernel and its modules.
 
-Dump-capture kernel config options (Arch Dependent, ia64)
-----------------------------------------------------------
-
-- No specific options are required to create a dump-capture kernel
-  for ia64, other than those specified in the arch independent section
-  above. This means that it is possible to use the system kernel
-  as a dump-capture kernel if desired.
-
-  The crashkernel region can be automatically placed by the system
-  kernel at runtime. This is done by specifying the base address as 0,
-  or omitting it all together::
-
-	crashkernel%6M@0
-
-  or::
-
-	crashkernel%6M
-
 Dump-capture kernel config options (Arch Dependent, arm)
 ----------------------------------------------------------
 
@@ -348,11 +330,6 @@ Boot into System Kernel
 
    On ppc64, use "crashkernel\x128M@32M".
 
-   On ia64, 256M@256M is a generous value that typically works.
-   The region may be automatically placed on ia64, see the
-   dump-capture kernel config option notes above.
-   If use sparse memory, the size should be rounded to GRANULE boundaries.
-
    On s390x, typically use "crashkernel=xxM". The value of xx is dependent
    on the memory consumption of the kdump system. In general this is not
    dependent on the memory size of the production system.
@@ -383,10 +360,6 @@ For ppc64:
 
 	- Use vmlinux
 
-For ia64:
-
-	- Use vmlinux or vmlinuz.gz
-
 For s390x:
 
 	- Use image or bzImage
@@ -428,14 +401,10 @@ to load dump-capture kernel::
    --initrd=<initrd-for-dump-capture-kernel> \
    --append="root=<root-dev> <arch-specific-options>"
 
-Please note, that --args-linux does not need to be specified for ia64.
-It is planned to make this a no-op on that architecture, but for now
-it should be omitted
-
 Following are the arch specific command line options to be used while
 loading dump-capture kernel.
 
-For i386, x86_64 and ia64:
+For i386 and x86_64:
 
 	"1 irqpoll nr_cpus=1 reset_devices"
 
diff --git a/Documentation/admin-guide/kdump/vmcoreinfo.rst b/Documentation/admin-guide/kdump/vmcoreinfo.rst
index 86fd884928700bd0..54f3971340ad1459 100644
--- a/Documentation/admin-guide/kdump/vmcoreinfo.rst
+++ b/Documentation/admin-guide/kdump/vmcoreinfo.rst
@@ -419,36 +419,6 @@ of a higher page table lookup overhead, and also consumes more page
 table space per process. Used to check whether PAE was enabled in the
 crash kernel when converting virtual addresses to physical addresses.
 
-ia64
-==
-
-pgdat_list|(pgdat_list, MAX_NUMNODES)
--------------------------------------
-
-pg_data_t array storing all NUMA nodes information. MAX_NUMNODES
-indicates the number of the nodes.
-
-node_memblk|(node_memblk, NR_NODE_MEMBLKS)
-------------------------------------------
-
-List of node memory chunks. Filled when parsing the SRAT table to obtain
-information about memory nodes. NR_NODE_MEMBLKS indicates the number of
-node memory chunks.
-
-These values are used to compute the number of nodes the crashed kernel used.
-
-node_memblk_s|(node_memblk_s, start_paddr)|(node_memblk_s, size)
-----------------------------------------------------------------
-
-The size of a struct node_memblk_s and the offsets of the
-node_memblk_s's members. Used to compute the number of nodes.
-
-PGTABLE_3|PGTABLE_4
--------------------
-
-User-space tools need to know whether the crash kernel was in 3-level or
-4-level paging mode. Used to distinguish the page table.
-
 ARM64
 == 
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 6cfa6e3996cf75ee..d0e67c70ba90bce6 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -1443,7 +1443,7 @@
 			See comment before function elanfreq_setup() in
 			arch/x86/kernel/cpu/cpufreq/elanfreq.c.
 
-	elfcorehdr=[size[KMG]@]offset[KMG] [IA64,PPC,SH,X86,S390]
+	elfcorehdr=[size[KMG]@]offset[KMG] [PPC,SH,X86,S390]
 			Specifies physical address of start of kernel core
 			image elf header and optionally the size. Generally
 			kexec loader will pass this option to capture kernel.
@@ -1506,12 +1506,6 @@
 	floppy=		[HW]
 			See Documentation/admin-guide/blockdev/floppy.rst.
 
-	force_pal_cache_flush
-			[IA-64] Avoid check_sal_cache_flush which may hang on
-			buggy SAL_CACHE_FLUSH implementations. Using this
-			parameter will force ia64_sal_cache_flush to call
-			ia64_pal_cache_flush instead of SAL_CACHE_FLUSH.
-
 	forcepae	[X86-32]
 			Forcefully enable Physical Address Extension (PAE).
 			Many Pentium M systems disable PAE but may have a
diff --git a/Documentation/admin-guide/mm/memory-hotplug.rst b/Documentation/admin-guide/mm/memory-hotplug.rst
index a3c9e8ad8fa0d83f..09128f1a29001124 100644
--- a/Documentation/admin-guide/mm/memory-hotplug.rst
+++ b/Documentation/admin-guide/mm/memory-hotplug.rst
@@ -35,7 +35,7 @@ used to expose persistent memory, other performance-differentiated memory and
 reserved memory regions as ordinary system RAM to Linux.
 
 Linux only supports memory hot(un)plug on selected 64 bit architectures, such as
-x86_64, arm64, ppc64, s390x and ia64.
+x86_64, arm64, ppc64 and s390x.
 
 Memory Hot(Un)Plug Granularity
 ------------------------------
diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
index 46e3d62c0eea84d1..bf8efef45b1d5d7a 100644
--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -436,7 +436,7 @@ ignore-unaligned-usertrap
 
 On architectures where unaligned accesses cause traps, and where this
 feature is supported (``CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN``;
-currently, ``arc``, ``ia64`` and ``loongarch``), controls whether all
+currently, ``arc`` and ``loongarch``), controls whether all
 unaligned traps are logged.
 
 = ==============================@@ -445,10 +445,7 @@ unaligned traps are logged.
   setting.
 = ============================== 
-See also `unaligned-trap`_ and `unaligned-dump-stack`_. On ``ia64``,
-this allows system administrators to override the
-``IA64_THREAD_UAC_NOPRINT`` ``prctl`` and avoid logs being flooded.
-
+See also `unaligned-trap`_.
 
 kexec_load_disabled
 =========@@ -1471,22 +1468,6 @@ See Documentation/admin-guide/kernel-parameters.rst and
 Documentation/trace/boottime-trace.rst.
 
 
-.. _unaligned-dump-stack:
-
-unaligned-dump-stack (ia64)
-=============-
-When logging unaligned accesses, controls whether the stack is
-dumped.
-
-= =========================-0 Do not dump the stack. This is the default setting.
-1 Dump the stack.
-= =========================-
-See also `ignore-unaligned-usertrap`_.
-
-
 unaligned-trap
 =======
 
diff --git a/Documentation/arch.rst b/Documentation/arch.rst
index 41a66a8b38e42479..3f9962e45c098c62 100644
--- a/Documentation/arch.rst
+++ b/Documentation/arch.rst
@@ -12,7 +12,6 @@ implementation.
    arc/index
    arm/index
    arm64/index
-   ia64/index
    loongarch/index
    m68k/index
    mips/index
diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst
index f72b0de65af731f1..a25c6d5df87b20ff 100644
--- a/Documentation/block/ioprio.rst
+++ b/Documentation/block/ioprio.rst
@@ -80,9 +80,6 @@ ionice.c tool::
   #elif defined(__x86_64__)
   #define __NR_ioprio_set		251
   #define __NR_ioprio_get		252
-  #elif defined(__ia64__)
-  #define __NR_ioprio_set		1274
-  #define __NR_ioprio_get		1275
   #else
   #error "Unsupported arch"
   #endif
diff --git a/Documentation/core-api/debugging-via-ohci1394.rst b/Documentation/core-api/debugging-via-ohci1394.rst
index 981ad4f89fd3e445..cb3d3228dfc8449b 100644
--- a/Documentation/core-api/debugging-via-ohci1394.rst
+++ b/Documentation/core-api/debugging-via-ohci1394.rst
@@ -23,9 +23,9 @@ Retrieving a full system memory dump is also possible over the FireWire,
 using data transfer rates in the order of 10MB/s or more.
 
 With most FireWire controllers, memory access is limited to the low 4 GB
-of physical address space.  This can be a problem on IA64 machines where
-memory is located mostly above that limit, but it is rarely a problem on
-more common hardware such as x86, x86-64 and PowerPC.
+of physical address space.  This can be a problem on machines where memory is
+located mostly above that limit, but it is rarely a problem on more common
+hardware such as x86, x86-64 and PowerPC.
 
 At least LSI FW643e and FW643e2 controllers are known to support access to
 physical addresses above 4 GB, but this feature is currently not enabled by
diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
index 38bc74eaa5474039..9ca798a51a2d0e7b 100644
--- a/Documentation/kbuild/makefiles.rst
+++ b/Documentation/kbuild/makefiles.rst
@@ -114,7 +114,7 @@ knowledge about the kernel Makefiles, plus detailed knowledge about the
 public interface for kbuild.
 
 *Arch developers* are people who work on an entire architecture, such
-as sparc or ia64.  Arch developers need to know about the arch Makefile
+as sparc or x86.  Arch developers need to know about the arch Makefile
 as well as kbuild Makefiles.
 
 *Kbuild developers* are people who work on the kernel build system itself.
diff --git a/Documentation/networking/device_drivers/ethernet/neterion/s2io.rst b/Documentation/networking/device_drivers/ethernet/neterion/s2io.rst
index c5673ec4559ba733..d731b5a985611f89 100644
--- a/Documentation/networking/device_drivers/ethernet/neterion/s2io.rst
+++ b/Documentation/networking/device_drivers/ethernet/neterion/s2io.rst
@@ -64,8 +64,8 @@ c. Multi-buffer receive mode. Scattering of packet across multiple
    IBM xSeries).
 
 d. MSI/MSI-X. Can be enabled on platforms which support this feature
-   (IA64, Xeon) resulting in noticeable performance improvement(up to 7%
-   on certain platforms).
+   resulting in noticeable performance improvement (up to 7% on certain
+   platforms).
 
 e. Statistics. Comprehensive MAC-level and software statistics displayed
    using "ethtool -S" option.
diff --git a/Documentation/scheduler/sched-arch.rst b/Documentation/scheduler/sched-arch.rst
index 0eaec669790a006c..f2c23769d4fbfa9e 100644
--- a/Documentation/scheduler/sched-arch.rst
+++ b/Documentation/scheduler/sched-arch.rst
@@ -10,7 +10,7 @@ Context switch
 By default, the switch_to arch function is called with the runqueue
 locked. This is usually not a problem unless switch_to may need to
 take the runqueue lock. This is usually due to a wake up operation in
-the context switch. See arch/ia64/include/asm/switch_to.h for an example.
+the context switch.
 
 To request the scheduler call switch_to with the runqueue unlocked,
 you must `#define __ARCH_WANT_UNLOCKED_CTXSW` in a header file
@@ -68,8 +68,6 @@ Possible arch/ problems
 
 Possible arch problems I found (and either tried to fix or didn't):
 
-ia64 - is safe_halt call racy vs interrupts? (does it sleep?) (See #4a)
-
 sh64 - Is sleeping racy vs interrupts? (See #4a)
 
 sparc - IRQs on at this point(?), change local_irq_save to _disable.
diff --git a/Documentation/trace/kprobes.rst b/Documentation/trace/kprobes.rst
index fc7ce76eab655c01..f825970a14957346 100644
--- a/Documentation/trace/kprobes.rst
+++ b/Documentation/trace/kprobes.rst
@@ -315,7 +315,6 @@ architectures:
 - i386 (Supports jump optimization)
 - x86_64 (AMD-64, EM64T) (Supports jump optimization)
 - ppc64
-- ia64 (Does not support probes on instruction slot1.)
 - sparc64 (Return probes not yet implemented.)
 - arm
 - ppc
diff --git a/Documentation/translations/zh_CN/arch.rst b/Documentation/translations/zh_CN/arch.rst
index 690e173d8b2a83cc..ae7014476cc7677a 100644
--- a/Documentation/translations/zh_CN/arch.rst
+++ b/Documentation/translations/zh_CN/arch.rst
@@ -18,7 +18,6 @@
 TODOList:
 
 * arm/index
-* ia64/index
 * m68k/index
 * nios2/index
 * powerpc/index
diff --git a/Documentation/translations/zh_CN/core-api/cpu_hotplug.rst b/Documentation/translations/zh_CN/core-api/cpu_hotplug.rst
index 4772a900c37a048c..bc0d7ea6d834cc22 100644
--- a/Documentation/translations/zh_CN/core-api/cpu_hotplug.rst
+++ b/Documentation/translations/zh_CN/core-api/cpu_hotplug.rst
@@ -49,12 +49,6 @@ CPU热拔插支持的一个更新颖的用途是它在SMP的暂停恢复支持
   限制内核将支持的CPU总量。如果这里提供的数量低于实际可用的CPU数量,那么其他CPU
   以后就不能上线了。
 
-``additional_cpus=n``
-  使用它来限制可热插拔的CPU。该选项设置
-  ``cpu_possible_mask = cpu_present_mask + additional_cpus``
-
-  这个选项只限于IA64架构。
-
 ``possible_cpus=n``
   这个选项设置 ``cpu_possible_mask`` 中的 ``possible_cpus`` 位。
 
diff --git a/Documentation/translations/zh_CN/scheduler/sched-arch.rst b/Documentation/translations/zh_CN/scheduler/sched-arch.rst
index 754a15c6b60f3a1e..de41b028b2b0245c 100644
--- a/Documentation/translations/zh_CN/scheduler/sched-arch.rst
+++ b/Documentation/translations/zh_CN/scheduler/sched-arch.rst
@@ -20,8 +20,7 @@
 =====
 1. 运行队列锁
 默认情况下,switch_to arch函数在调用时锁定了运行队列。这通常不是一个问题,除非
-switch_to可能需要获取运行队列锁。这通常是由于上下文切换中的唤醒操作造成的。见
-arch/ia64/include/asm/switch_to.h的例子。
+switch_to可能需要获取运行队列锁。这通常是由于上下文切换中的唤醒操作造成的。
 
 为了要求调度器在运行队列解锁的情况下调用switch_to,你必须在头文件
 中`#define __ARCH_WANT_UNLOCKED_CTXSW`(通常是定义switch_to的那个文件)。
@@ -68,8 +67,6 @@ arch/x86/kernel/process.c有轮询和睡眠空闲函数的例子。
 
 我发现的可能的arch问题(并试图解决或没有解决)。:
 
-ia64 - safe_halt的调用与中断相比,是否很荒谬? (它睡眠了吗) (参考 #4a)
-
 sh64 - 睡眠与中断相比,是否很荒谬? (参考 #4a)
 
 sparc - 在这一点上,IRQ是开着的(?),把local_irq_save改为_disable。
diff --git a/Makefile b/Makefile
index 716a975730a68e3a..ddae1033f4bc64c8 100644
--- a/Makefile
+++ b/Makefile
@@ -392,7 +392,7 @@ include $(srctree)/scripts/subarch.include
 # When performing cross compilation for other architectures ARCH shall be set
 # to the target architecture. (See arch/* for the possibilities).
 # ARCH can be set during invocation of make:
-# make ARCH=ia64
+# make ARCH=arm64
 # Another way is to have ARCH set in the environment.
 # The default ARCH is the host where make is executed.
 
@@ -400,7 +400,7 @@ include $(srctree)/scripts/subarch.include
 # during compilation. Only gcc and related bin-utils executables
 # are prefixed with $(CROSS_COMPILE).
 # CROSS_COMPILE can be set on the command line
-# make CROSS_COMPILE=ia64-linux-
+# make CROSS_COMPILEªrch64-linux-gnu-
 # Alternatively CROSS_COMPILE can be set in the environment.
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
-- 
2.39.1

^ permalink raw reply related	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (3 preceding siblings ...)
  2023-02-15 10:00 ` [RFC PATCH 5/5] Documentation: Drop or replace remaining mentions of IA64 Ard Biesheuvel
@ 2023-02-15 10:17 ` John Paul Adrian Glaubitz
  2023-02-15 19:30   ` Linus Torvalds
  2023-02-15 16:50 ` Palmer Dabbelt
                   ` (6 subsequent siblings)
  11 siblings, 1 reply; 29+ messages in thread
From: John Paul Adrian Glaubitz @ 2023-02-15 10:17 UTC (permalink / raw)
  To: Ard Biesheuvel, linux-kernel
  Cc: Jonathan Corbet, Arnd Bergmann, Tony Luck, Jessica Clarke,
	Matthew Wilcox, Marc Zyngier, Guenter Roeck, Linus Torvalds,
	linux-ia64

Hello Ard!

On Wed, 2023-02-15 at 11:00 +0100, Ard Biesheuvel wrote:
> The IA64 port of Linux has no maintainer, and according to a report from
> its only remaining user [0], it has been broken for a month and nobody
> cares.

It's not that I don't care. I just haven't been able to bisect the bug .yet

> Given that keeping a complex but unused architecture alive uses up
> valuable developer bandwidth, let's just get rid of it.
> 
> This supersedes my patch proposing to mark it as 'dead', which received
> no replies from anyone that wants to keep it alive. [1]

I'm actually fine with marking it as dead. I forgot to ack.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers
  2023-02-15 10:00 ` [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers Ard Biesheuvel
@ 2023-02-15 10:19   ` Arnd Bergmann
  2023-02-15 11:13     ` Arnd Bergmann
  0 siblings, 1 reply; 29+ messages in thread
From: Arnd Bergmann @ 2023-02-15 10:19 UTC (permalink / raw)
  To: Ard Biesheuvel, linux-kernel
  Cc: Jonathan Corbet, Tony Luck, Jessica Clarke,
	John Paul Adrian Glaubitz, Matthew Wilcox, Marc Zyngier,
	Guenter Roeck, Linus Torvalds, linux-ia64

On Wed, Feb 15, 2023, at 11:00, Ard Biesheuvel wrote:
> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
> ---
>  include/linux/sched/signal.h | 17 ++++---------
>  kernel/signal.c              | 25 ++++----------------
>  2 files changed, 9 insertions(+), 33 deletions(-)

The patch looks good, but I'd suggest adding a oneline description
referencing that ia64 as a whole is removed.

I see that you created a couple of patches looking for __ia64__
but not CONFIG_IA64. If we get consensus on patch 1, we should
do that as well, let me know if you you want to add those or
would like me to help here.

I can probably do the same recursive check for removed Kconfig
options that I used for finding dead code after the boardfile
removal.

     Arnd

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers
  2023-02-15 10:19   ` Arnd Bergmann
@ 2023-02-15 11:13     ` Arnd Bergmann
  2023-02-15 11:22       ` Ard Biesheuvel
  0 siblings, 1 reply; 29+ messages in thread
From: Arnd Bergmann @ 2023-02-15 11:13 UTC (permalink / raw)
  To: Ard Biesheuvel, linux-kernel
  Cc: Jonathan Corbet, Tony Luck, Jessica Clarke,
	John Paul Adrian Glaubitz, Matthew Wilcox, Marc Zyngier,
	Guenter Roeck, Linus Torvalds, linux-ia64

On Wed, Feb 15, 2023, at 11:19, Arnd Bergmann wrote:
>
> I can probably do the same recursive check for removed Kconfig
> options that I used for finding dead code after the boardfile
> removal.

FWIW, here is the list from a bit of scripting. Symbols that
are only defined in arch/ia64 but are referenced elsewhere are:

CONFIG_IA64
CONFIG_IA64_PAGE_SIZE_64KB
CONFIG_IA64_SGI_UV
CONFIG_IA64_DEBUG_CMPXCHG
CONFIG_MSPEC

Kconfig symbols that are only selected in arch/ia64 but
defined elsewhere are

CONFIG_ARCH_HAS_DMA_MARK_CLEAN
CONFIG_ARCH_TASK_STRUCT_ALLOCATOR
CONFIG_ARCH_TASK_STRUCT_ON_STACK
CONFIG_ARCH_THREAD_STACK_ALLOCATOR
CONFIG_GENERIC_IRQ_LEGACY

plus a few that have only one or two other places selecting them:

CONFIG_ARCH_CLOCKSOURCE_DATA (sparc64)
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC (x86)
CONFIG_ATA_NONSTANDARD (powerpc-maple)
CONFIG_FUNCTION_ALIGNMENT_32B (i386)
CONFIG_HUGETLB_PAGE_SIZE_VARIABLE (powerpc64)
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT (x86, loongarch)
CONFIG_ARCH_BINFMT_ELF_EXTRA_PHDRS (arm64, arch/um 32-bit)
CONFIG_HAVE_FUNCTION_DESCRIPTORS (ppc64be, parisc64)
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK (parisc, x86)
CONFIG_HAVE_VIRT_CPU_ACCOUNTING (powerpc, s390)
CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN (arc, loongarch)

      Arnd

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers
  2023-02-15 11:13     ` Arnd Bergmann
@ 2023-02-15 11:22       ` Ard Biesheuvel
  2023-02-15 12:46         ` Arnd Bergmann
  0 siblings, 1 reply; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 11:22 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linux-kernel, Jonathan Corbet, Tony Luck, Jessica Clarke,
	John Paul Adrian Glaubitz, Matthew Wilcox, Marc Zyngier,
	Guenter Roeck, Linus Torvalds, linux-ia64

On Wed, 15 Feb 2023 at 12:15, Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Wed, Feb 15, 2023, at 11:19, Arnd Bergmann wrote:
> >
> > I can probably do the same recursive check for removed Kconfig
> > options that I used for finding dead code after the boardfile
> > removal.
>
> FWIW, here is the list from a bit of scripting.

Thanks

> Symbols that
> are only defined in arch/ia64 but are referenced elsewhere are:
>
> CONFIG_IA64
> CONFIG_IA64_PAGE_SIZE_64KB
> CONFIG_IA64_SGI_UV
> CONFIG_IA64_DEBUG_CMPXCHG
> CONFIG_MSPEC

These are all gone from the code after applying this series.

> Kconfig symbols that are only selected in arch/ia64 but
> defined elsewhere are
>
> CONFIG_ARCH_HAS_DMA_MARK_CLEAN
> CONFIG_ARCH_TASK_STRUCT_ALLOCATOR
> CONFIG_ARCH_TASK_STRUCT_ON_STACK
> CONFIG_ARCH_THREAD_STACK_ALLOCATOR
> CONFIG_GENERIC_IRQ_LEGACY
>

I can follow up with patches that remove all of those as well once we
progress on this series.

> plus a few that have only one or two other places selecting them:
>
> CONFIG_ARCH_CLOCKSOURCE_DATA (sparc64)
> CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC (x86)
> CONFIG_ATA_NONSTANDARD (powerpc-maple)
> CONFIG_FUNCTION_ALIGNMENT_32B (i386)
> CONFIG_HUGETLB_PAGE_SIZE_VARIABLE (powerpc64)
> CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT (x86, loongarch)
> CONFIG_ARCH_BINFMT_ELF_EXTRA_PHDRS (arm64, arch/um 32-bit)
> CONFIG_HAVE_FUNCTION_DESCRIPTORS (ppc64be, parisc64)
> CONFIG_HAVE_UNSTABLE_SCHED_CLOCK (parisc, x86)
> CONFIG_HAVE_VIRT_CPU_ACCOUNTING (powerpc, s390)
> CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN (arc, loongarch)
>
>       Arnd

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers
  2023-02-15 11:22       ` Ard Biesheuvel
@ 2023-02-15 12:46         ` Arnd Bergmann
  0 siblings, 0 replies; 29+ messages in thread
From: Arnd Bergmann @ 2023-02-15 12:46 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: linux-kernel, Jonathan Corbet, Tony Luck, Jessica Clarke,
	John Paul Adrian Glaubitz, Matthew Wilcox, Marc Zyngier,
	Guenter Roeck, Linus Torvalds, linux-ia64

On Wed, Feb 15, 2023, at 12:22, Ard Biesheuvel wrote:
> On Wed, 15 Feb 2023 at 12:15, Arnd Bergmann <arnd@arndb.de> wrote:
>>
>> CONFIG_IA64
>> CONFIG_IA64_PAGE_SIZE_64KB
>> CONFIG_IA64_SGI_UV
>> CONFIG_IA64_DEBUG_CMPXCHG
>> CONFIG_MSPEC
>
> These are all gone from the code after applying this series.

Ok, got it. I missed that the first patch also removes
bits outside of arch/ia64.

     Arnd

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (4 preceding siblings ...)
  2023-02-15 10:17 ` [RFC PATCH 0/5] Retire IA64/Itanium support John Paul Adrian Glaubitz
@ 2023-02-15 16:50 ` Palmer Dabbelt
  2023-02-15 16:59   ` Ard Biesheuvel
       [not found] ` <20230215100008.2565237-2-ardb@kernel.org>
                   ` (5 subsequent siblings)
  11 siblings, 1 reply; 29+ messages in thread
From: Palmer Dabbelt @ 2023-02-15 16:50 UTC (permalink / raw)
  To: ardb
  Cc: linux-kernel, corbet, Arnd Bergmann, tony.luck, jrtc27, glaubitz,
	willy, Marc Zyngier, linux, Linus Torvalds, linux-ia64

On Wed, 15 Feb 2023 02:00:03 PST (-0800), ardb@kernel.org wrote:
> The IA64 port of Linux has no maintainer, and according to a report from
> its only remaining user [0], it has been broken for a month and nobody
> cares.
>
> Given that keeping a complex but unused architecture alive uses up
> valuable developer bandwidth, let's just get rid of it.
>
> This supersedes my patch proposing to mark it as 'dead', which received
> no replies from anyone that wants to keep it alive. [1]
>
> [0] https://www.spinics.net/lists/linux-ia64/msg21926.html
> [1] https://lore.kernel.org/all/20230128122904.1345120-1-ardb@kernel.org/
>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Tony Luck <tony.luck@intel.com>
> Cc: Jessica Clarke <jrtc27@jrtc27.com>
> Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
> Cc: Matthew Wilcox <willy@infradead.org>
> Cc: Marc Zyngier <maz@kernel.org>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: linux-ia64@vger.kernel.org
>
> Ard Biesheuvel (5):
>   arch: Remove Itanium (IA-64) architecture
>   kernel: Drop IA64 support from sig_fault handlers
>   Documentation: Drop IA64 from feature descriptions
>   lib/raid6: Drop IA64 support
>   Documentation: Drop or replace remaining mentions of IA64

Not sure if I'm missing it in the diff, but it looks like there's also a 
bunch of "#ifdef __ia64__" and "#ifdef __IA64__" type code spread 
throughout the kernel.  I didn't look at the actual diff, but it's in 
files that aren't showing up in the diffstat.

Just "git grep -i __ia64__" lists a bunch.  I didn't look at all of 
them, but at least spot checking include/acpi/actypes.h looks like it's 
a real Itanium workaround.  If the arch goes, it's probbaly worth 
removing those too?

There's also some mentions of "Itanium" in Documentation outside that 
don't look like they got caught here.  Not sure if they'd be worth 
getting rid of, though as they could still be useful examples.  The 
blurb in Documentation/memory-barriers.txt looks pretty port-specific, 
though.

>  Documentation/ABI/testing/sysfs-devices-system-cpu                 |    3 -
>  Documentation/ABI/testing/sysfs-firmware-dmi-entries               |    2 +-
>  Documentation/admin-guide/kdump/kdump.rst                          |   37 +-
>  Documentation/admin-guide/kdump/vmcoreinfo.rst                     |   30 -
>  Documentation/admin-guide/kernel-parameters.txt                    |    8 +-
>  Documentation/admin-guide/mm/memory-hotplug.rst                    |    2 +-
>  Documentation/admin-guide/sysctl/kernel.rst                        |   23 +-
>  Documentation/arch.rst                                             |    1 -
>  Documentation/block/ioprio.rst                                     |    3 -
>  Documentation/core-api/cpu_hotplug.rst                             |    6 -
>  Documentation/core-api/debugging-via-ohci1394.rst                  |    6 +-
>  Documentation/features/core/cBPF-JIT/arch-support.txt              |    1 -
>  Documentation/features/core/eBPF-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/thread-info-in-task/arch-support.txt   |    1 -
>  Documentation/features/core/tracehook/arch-support.txt             |    1 -
>  Documentation/features/debug/KASAN/arch-support.txt                |    1 -
>  Documentation/features/debug/debug-vm-pgtable/arch-support.txt     |    1 -
>  Documentation/features/debug/gcov-profile-all/arch-support.txt     |    1 -
>  Documentation/features/debug/kcov/arch-support.txt                 |    1 -
>  Documentation/features/debug/kgdb/arch-support.txt                 |    1 -
>  Documentation/features/debug/kmemleak/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-contiguous/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/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/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/pte_special/arch-support.txt             |    1 -
>  Documentation/ia64/aliasing.rst                                    |  246 ---
>  Documentation/ia64/efirtc.rst                                      |  144 --
>  Documentation/ia64/err_inject.rst                                  | 1067 ---------
>  Documentation/ia64/features.rst                                    |    3 -
>  Documentation/ia64/fsys.rst                                        |  303 ---
>  Documentation/ia64/ia64.rst                                        |   49 -
>  Documentation/ia64/index.rst                                       |   19 -
>  Documentation/ia64/irq-redir.rst                                   |   80 -
>  Documentation/ia64/mca.rst                                         |  198 --
>  Documentation/ia64/serial.rst                                      |  165 --
>  Documentation/kbuild/makefiles.rst                                 |    2 +-
>  Documentation/networking/device_drivers/ethernet/neterion/s2io.rst |    4 +-
>  Documentation/scheduler/sched-arch.rst                             |    4 +-
>  Documentation/trace/kprobes.rst                                    |    1 -
>  Documentation/translations/zh_CN/arch.rst                          |    1 -
>  Documentation/translations/zh_CN/core-api/cpu_hotplug.rst          |    6 -
>  Documentation/translations/zh_CN/scheduler/sched-arch.rst          |    5 +-
>  MAINTAINERS                                                        |   11 -
>  Makefile                                                           |    4 +-
>  arch/Kconfig                                                       |    1 -
>  arch/ia64/Kbuild                                                   |    3 -
>  arch/ia64/Kconfig                                                  |  410 ----
>  arch/ia64/Kconfig.debug                                            |   55 -
>  arch/ia64/Makefile                                                 |   82 -
>  arch/ia64/configs/bigsur_defconfig                                 |  102 -
>  arch/ia64/configs/generic_defconfig                                |  206 --
>  arch/ia64/configs/gensparse_defconfig                              |  184 --
>  arch/ia64/configs/tiger_defconfig                                  |  169 --
>  arch/ia64/configs/zx1_defconfig                                    |  148 --
>  arch/ia64/hp/common/Makefile                                       |   10 -
>  arch/ia64/hp/common/aml_nfw.c                                      |  232 --
>  arch/ia64/hp/common/sba_iommu.c                                    | 2147 ------------------
>  arch/ia64/include/asm/Kbuild                                       |    5 -
>  arch/ia64/include/asm/acenv.h                                      |   49 -
>  arch/ia64/include/asm/acpi-ext.h                                   |   17 -
>  arch/ia64/include/asm/acpi.h                                       |  110 -
>  arch/ia64/include/asm/agp.h                                        |   27 -
>  arch/ia64/include/asm/asm-offsets.h                                |    1 -
>  arch/ia64/include/asm/asm-prototypes.h                             |   30 -
>  arch/ia64/include/asm/asmmacro.h                                   |  136 --
>  arch/ia64/include/asm/atomic.h                                     |  223 --
>  arch/ia64/include/asm/barrier.h                                    |   79 -
>  arch/ia64/include/asm/bitops.h                                     |  453 ----
>  arch/ia64/include/asm/bug.h                                        |   19 -
>  arch/ia64/include/asm/bugs.h                                       |   20 -
>  arch/ia64/include/asm/cache.h                                      |   30 -
>  arch/ia64/include/asm/cacheflush.h                                 |   33 -
>  arch/ia64/include/asm/checksum.h                                   |   63 -
>  arch/ia64/include/asm/clocksource.h                                |   11 -
>  arch/ia64/include/asm/cmpxchg.h                                    |   16 -
>  arch/ia64/include/asm/cpu.h                                        |   23 -
>  arch/ia64/include/asm/cputime.h                                    |   21 -
>  arch/ia64/include/asm/current.h                                    |   18 -
>  arch/ia64/include/asm/cyclone.h                                    |   16 -
>  arch/ia64/include/asm/delay.h                                      |   89 -
>  arch/ia64/include/asm/device.h                                     |   14 -
>  arch/ia64/include/asm/div64.h                                      |    1 -
>  arch/ia64/include/asm/dma-mapping.h                                |   16 -
>  arch/ia64/include/asm/dma.h                                        |   17 -
>  arch/ia64/include/asm/dmi.h                                        |   15 -
>  arch/ia64/include/asm/early_ioremap.h                              |   11 -
>  arch/ia64/include/asm/efi.h                                        |   13 -
>  arch/ia64/include/asm/elf.h                                        |  233 --
>  arch/ia64/include/asm/emergency-restart.h                          |    6 -
>  arch/ia64/include/asm/esi.h                                        |   30 -
>  arch/ia64/include/asm/exception.h                                  |   23 -
>  arch/ia64/include/asm/export.h                                     |    3 -
>  arch/ia64/include/asm/extable.h                                    |   12 -
>  arch/ia64/include/asm/fb.h                                         |   24 -
>  arch/ia64/include/asm/fpswa.h                                      |   74 -
>  arch/ia64/include/asm/ftrace.h                                     |   28 -
>  arch/ia64/include/asm/futex.h                                      |  109 -
>  arch/ia64/include/asm/gcc_intrin.h                                 |   13 -
>  arch/ia64/include/asm/hardirq.h                                    |   27 -
>  arch/ia64/include/asm/hugetlb.h                                    |   34 -
>  arch/ia64/include/asm/hw_irq.h                                     |  167 --
>  arch/ia64/include/asm/idle.h                                       |    8 -
>  arch/ia64/include/asm/intrinsics.h                                 |   13 -
>  arch/ia64/include/asm/io.h                                         |  274 ---
>  arch/ia64/include/asm/iommu.h                                      |   22 -
>  arch/ia64/include/asm/iosapic.h                                    |  106 -
>  arch/ia64/include/asm/irq.h                                        |   37 -
>  arch/ia64/include/asm/irq_regs.h                                   |    1 -
>  arch/ia64/include/asm/irq_remapping.h                              |    5 -
>  arch/ia64/include/asm/irqflags.h                                   |   95 -
>  arch/ia64/include/asm/kdebug.h                                     |   45 -
>  arch/ia64/include/asm/kexec.h                                      |   46 -
>  arch/ia64/include/asm/kprobes.h                                    |  116 -
>  arch/ia64/include/asm/kregs.h                                      |  166 --
>  arch/ia64/include/asm/libata-portmap.h                             |    9 -
>  arch/ia64/include/asm/linkage.h                                    |   19 -
>  arch/ia64/include/asm/local.h                                      |    1 -
>  arch/ia64/include/asm/mca.h                                        |  185 --
>  arch/ia64/include/asm/mca_asm.h                                    |  245 ---
>  arch/ia64/include/asm/meminit.h                                    |   59 -
>  arch/ia64/include/asm/mman.h                                       |   18 -
>  arch/ia64/include/asm/mmiowb.h                                     |   17 -
>  arch/ia64/include/asm/mmu.h                                        |   14 -
>  arch/ia64/include/asm/mmu_context.h                                |  194 --
>  arch/ia64/include/asm/mmzone.h                                     |   35 -
>  arch/ia64/include/asm/module.h                                     |   35 -
>  arch/ia64/include/asm/module.lds.h                                 |   14 -
>  arch/ia64/include/asm/msidef.h                                     |   43 -
>  arch/ia64/include/asm/native/inst.h                                |  119 -
>  arch/ia64/include/asm/native/irq.h                                 |   20 -
>  arch/ia64/include/asm/native/patchlist.h                           |   24 -
>  arch/ia64/include/asm/nodedata.h                                   |   63 -
>  arch/ia64/include/asm/numa.h                                       |   83 -
>  arch/ia64/include/asm/page.h                                       |  214 --
>  arch/ia64/include/asm/pal.h                                        | 1827 ---------------
>  arch/ia64/include/asm/param.h                                      |   18 -
>  arch/ia64/include/asm/parport.h                                    |   20 -
>  arch/ia64/include/asm/patch.h                                      |   28 -
>  arch/ia64/include/asm/pci.h                                        |   66 -
>  arch/ia64/include/asm/percpu.h                                     |   53 -
>  arch/ia64/include/asm/pgalloc.h                                    |   64 -
>  arch/ia64/include/asm/pgtable.h                                    |  520 -----
>  arch/ia64/include/asm/processor.h                                  |  663 ------
>  arch/ia64/include/asm/ptrace.h                                     |  146 --
>  arch/ia64/include/asm/sal.h                                        |  919 --------
>  arch/ia64/include/asm/sections.h                                   |   33 -
>  arch/ia64/include/asm/serial.h                                     |   17 -
>  arch/ia64/include/asm/shmparam.h                                   |   13 -
>  arch/ia64/include/asm/signal.h                                     |   33 -
>  arch/ia64/include/asm/smp.h                                        |  103 -
>  arch/ia64/include/asm/sn/intr.h                                    |   15 -
>  arch/ia64/include/asm/sn/sn_sal.h                                  |  124 --
>  arch/ia64/include/asm/sparsemem.h                                  |   28 -
>  arch/ia64/include/asm/spinlock.h                                   |  265 ---
>  arch/ia64/include/asm/spinlock_types.h                             |   22 -
>  arch/ia64/include/asm/string.h                                     |   22 -
>  arch/ia64/include/asm/switch_to.h                                  |   71 -
>  arch/ia64/include/asm/syscall.h                                    |   65 -
>  arch/ia64/include/asm/thread_info.h                                |  131 --
>  arch/ia64/include/asm/timex.h                                      |   47 -
>  arch/ia64/include/asm/tlb.h                                        |   50 -
>  arch/ia64/include/asm/tlbflush.h                                   |  128 --
>  arch/ia64/include/asm/topology.h                                   |   56 -
>  arch/ia64/include/asm/types.h                                      |   32 -
>  arch/ia64/include/asm/uaccess.h                                    |  265 ---
>  arch/ia64/include/asm/uncached.h                                   |    9 -
>  arch/ia64/include/asm/unistd.h                                     |   38 -
>  arch/ia64/include/asm/unwind.h                                     |  234 --
>  arch/ia64/include/asm/user.h                                       |   53 -
>  arch/ia64/include/asm/ustack.h                                     |   12 -
>  arch/ia64/include/asm/uv/uv.h                                      |   30 -
>  arch/ia64/include/asm/uv/uv_hub.h                                  |  315 ---
>  arch/ia64/include/asm/uv/uv_mmrs.h                                 |  825 -------
>  arch/ia64/include/asm/vermagic.h                                   |   15 -
>  arch/ia64/include/asm/vga.h                                        |   26 -
>  arch/ia64/include/asm/vmalloc.h                                    |    4 -
>  arch/ia64/include/asm/xor.h                                        |   30 -
>  arch/ia64/include/asm/xtp.h                                        |   46 -
>  arch/ia64/include/uapi/asm/Kbuild                                  |    2 -
>  arch/ia64/include/uapi/asm/auxvec.h                                |   14 -
>  arch/ia64/include/uapi/asm/bitsperlong.h                           |    9 -
>  arch/ia64/include/uapi/asm/break.h                                 |   23 -
>  arch/ia64/include/uapi/asm/byteorder.h                             |    7 -
>  arch/ia64/include/uapi/asm/cmpxchg.h                               |  159 --
>  arch/ia64/include/uapi/asm/fcntl.h                                 |   15 -
>  arch/ia64/include/uapi/asm/fpu.h                                   |   67 -
>  arch/ia64/include/uapi/asm/gcc_intrin.h                            |  619 ------
>  arch/ia64/include/uapi/asm/ia64regs.h                              |  101 -
>  arch/ia64/include/uapi/asm/intel_intrin.h                          |  162 --
>  arch/ia64/include/uapi/asm/intrinsics.h                            |   86 -
>  arch/ia64/include/uapi/asm/mman.h                                  |   17 -
>  arch/ia64/include/uapi/asm/param.h                                 |   30 -
>  arch/ia64/include/uapi/asm/posix_types.h                           |    9 -
>  arch/ia64/include/uapi/asm/ptrace.h                                |  248 ---
>  arch/ia64/include/uapi/asm/ptrace_offsets.h                        |  269 ---
>  arch/ia64/include/uapi/asm/resource.h                              |    8 -
>  arch/ia64/include/uapi/asm/rse.h                                   |   67 -
>  arch/ia64/include/uapi/asm/setup.h                                 |   25 -
>  arch/ia64/include/uapi/asm/sigcontext.h                            |   71 -
>  arch/ia64/include/uapi/asm/siginfo.h                               |   28 -
>  arch/ia64/include/uapi/asm/signal.h                                |   98 -
>  arch/ia64/include/uapi/asm/stat.h                                  |   52 -
>  arch/ia64/include/uapi/asm/statfs.h                                |   21 -
>  arch/ia64/include/uapi/asm/swab.h                                  |   35 -
>  arch/ia64/include/uapi/asm/types.h                                 |   32 -
>  arch/ia64/include/uapi/asm/ucontext.h                              |   13 -
>  arch/ia64/include/uapi/asm/unistd.h                                |   22 -
>  arch/ia64/include/uapi/asm/ustack.h                                |   13 -
>  arch/ia64/install.sh                                               |   30 -
>  arch/ia64/kernel/.gitignore                                        |    3 -
>  arch/ia64/kernel/Makefile                                          |   46 -
>  arch/ia64/kernel/Makefile.gate                                     |   29 -
>  arch/ia64/kernel/acpi-ext.c                                        |  101 -
>  arch/ia64/kernel/acpi.c                                            |  911 --------
>  arch/ia64/kernel/asm-offsets.c                                     |  289 ---
>  arch/ia64/kernel/audit.c                                           |   63 -
>  arch/ia64/kernel/brl_emu.c                                         |  217 --
>  arch/ia64/kernel/crash.c                                           |  266 ---
>  arch/ia64/kernel/crash_dump.c                                      |   27 -
>  arch/ia64/kernel/cyclone.c                                         |  125 --
>  arch/ia64/kernel/dma-mapping.c                                     |    9 -
>  arch/ia64/kernel/efi.c                                             | 1360 ------------
>  arch/ia64/kernel/efi_stub.S                                        |   87 -
>  arch/ia64/kernel/elfcore.c                                         |   77 -
>  arch/ia64/kernel/entry.S                                           | 1428 ------------
>  arch/ia64/kernel/entry.h                                           |   83 -
>  arch/ia64/kernel/err_inject.c                                      |  273 ---
>  arch/ia64/kernel/esi.c                                             |  193 --
>  arch/ia64/kernel/esi_stub.S                                        |   99 -
>  arch/ia64/kernel/fsys.S                                            |  837 -------
>  arch/ia64/kernel/fsyscall_gtod_data.h                              |   30 -
>  arch/ia64/kernel/ftrace.c                                          |  196 --
>  arch/ia64/kernel/gate-data.S                                       |    3 -
>  arch/ia64/kernel/gate.S                                            |  380 ----
>  arch/ia64/kernel/gate.lds.S                                        |  108 -
>  arch/ia64/kernel/head.S                                            | 1168 ----------
>  arch/ia64/kernel/iosapic.c                                         | 1137 ----------
>  arch/ia64/kernel/irq.c                                             |  181 --
>  arch/ia64/kernel/irq.h                                             |    3 -
>  arch/ia64/kernel/irq_ia64.c                                        |  645 ------
>  arch/ia64/kernel/irq_lsapic.c                                      |   45 -
>  arch/ia64/kernel/ivt.S                                             | 1689 --------------
>  arch/ia64/kernel/kprobes.c                                         |  911 --------
>  arch/ia64/kernel/machine_kexec.c                                   |  163 --
>  arch/ia64/kernel/mca.c                                             | 2111 ------------------
>  arch/ia64/kernel/mca_asm.S                                         | 1123 ----------
>  arch/ia64/kernel/mca_drv.c                                         |  796 -------
>  arch/ia64/kernel/mca_drv.h                                         |  123 --
>  arch/ia64/kernel/mca_drv_asm.S                                     |   56 -
>  arch/ia64/kernel/minstate.h                                        |  251 ---
>  arch/ia64/kernel/module.c                                          |  955 --------
>  arch/ia64/kernel/msi_ia64.c                                        |  198 --
>  arch/ia64/kernel/numa.c                                            |   73 -
>  arch/ia64/kernel/pal.S                                             |  306 ---
>  arch/ia64/kernel/palinfo.c                                         |  942 --------
>  arch/ia64/kernel/patch.c                                           |  237 --
>  arch/ia64/kernel/pci-dma.c                                         |   33 -
>  arch/ia64/kernel/perfmon_itanium.h                                 |  116 -
>  arch/ia64/kernel/process.c                                         |  610 -----
>  arch/ia64/kernel/ptrace.c                                          | 2012 -----------------
>  arch/ia64/kernel/relocate_kernel.S                                 |  321 ---
>  arch/ia64/kernel/sal.c                                             |  400 ----
>  arch/ia64/kernel/salinfo.c                                         |  646 ------
>  arch/ia64/kernel/setup.c                                           | 1082 ---------
>  arch/ia64/kernel/sigframe.h                                        |   26 -
>  arch/ia64/kernel/signal.c                                          |  412 ----
>  arch/ia64/kernel/smp.c                                             |  335 ---
>  arch/ia64/kernel/smpboot.c                                         |  839 -------
>  arch/ia64/kernel/stacktrace.c                                      |   40 -
>  arch/ia64/kernel/sys_ia64.c                                        |  197 --
>  arch/ia64/kernel/syscalls/Makefile                                 |   32 -
>  arch/ia64/kernel/syscalls/syscall.tbl                              |  373 ----
>  arch/ia64/kernel/time.c                                            |  462 ----
>  arch/ia64/kernel/topology.c                                        |  410 ----
>  arch/ia64/kernel/traps.c                                           |  612 ------
>  arch/ia64/kernel/unaligned.c                                       | 1560 -------------
>  arch/ia64/kernel/uncached.c                                        |  273 ---
>  arch/ia64/kernel/unwind.c                                          | 2320 --------------------
>  arch/ia64/kernel/unwind_decoder.c                                  |  460 ----
>  arch/ia64/kernel/unwind_i.h                                        |  165 --
>  arch/ia64/kernel/vmlinux.lds.S                                     |  225 --
>  arch/ia64/lib/Makefile                                             |   48 -
>  arch/ia64/lib/checksum.c                                           |  102 -
>  arch/ia64/lib/clear_page.S                                         |   79 -
>  arch/ia64/lib/clear_user.S                                         |  212 --
>  arch/ia64/lib/copy_page.S                                          |  101 -
>  arch/ia64/lib/copy_page_mck.S                                      |  188 --
>  arch/ia64/lib/copy_user.S                                          |  613 ------
>  arch/ia64/lib/csum_partial_copy.c                                  |   98 -
>  arch/ia64/lib/do_csum.S                                            |  324 ---
>  arch/ia64/lib/flush.S                                              |  120 -
>  arch/ia64/lib/idiv32.S                                             |   86 -
>  arch/ia64/lib/idiv64.S                                             |   83 -
>  arch/ia64/lib/io.c                                                 |   51 -
>  arch/ia64/lib/ip_fast_csum.S                                       |  148 --
>  arch/ia64/lib/memcpy.S                                             |  304 ---
>  arch/ia64/lib/memcpy_mck.S                                         |  659 ------
>  arch/ia64/lib/memset.S                                             |  365 ---
>  arch/ia64/lib/strlen.S                                             |  195 --
>  arch/ia64/lib/strncpy_from_user.S                                  |   47 -
>  arch/ia64/lib/strnlen_user.S                                       |   48 -
>  arch/ia64/lib/xor.S                                                |  181 --
>  arch/ia64/mm/Makefile                                              |   11 -
>  arch/ia64/mm/contig.c                                              |  208 --
>  arch/ia64/mm/discontig.c                                           |  635 ------
>  arch/ia64/mm/extable.c                                             |   24 -
>  arch/ia64/mm/fault.c                                               |  272 ---
>  arch/ia64/mm/hugetlbpage.c                                         |  186 --
>  arch/ia64/mm/init.c                                                |  518 -----
>  arch/ia64/mm/ioremap.c                                             |  123 --
>  arch/ia64/mm/numa.c                                                |   80 -
>  arch/ia64/mm/tlb.c                                                 |  591 -----
>  arch/ia64/pci/Makefile                                             |    5 -
>  arch/ia64/pci/fixup.c                                              |   80 -
>  arch/ia64/pci/pci.c                                                |  576 -----
>  arch/ia64/scripts/check-gas                                        |   16 -
>  arch/ia64/scripts/check-gas-asm.S                                  |    2 -
>  arch/ia64/scripts/check-model.c                                    |    1 -
>  arch/ia64/scripts/check-segrel.S                                   |    5 -
>  arch/ia64/scripts/check-segrel.lds                                 |   13 -
>  arch/ia64/scripts/check-serialize.S                                |    2 -
>  arch/ia64/scripts/check-text-align.S                               |    7 -
>  arch/ia64/scripts/toolchain-flags                                  |   54 -
>  arch/ia64/scripts/unwcheck.py                                      |   65 -
>  arch/ia64/uv/Makefile                                              |   12 -
>  arch/ia64/uv/kernel/Makefile                                       |   12 -
>  arch/ia64/uv/kernel/setup.c                                        |  120 -
>  drivers/acpi/Kconfig                                               |    6 +-
>  drivers/acpi/numa/Kconfig                                          |    4 +-
>  drivers/acpi/osl.c                                                 |    2 +-
>  drivers/char/Kconfig                                               |    4 +-
>  drivers/char/Makefile                                              |    1 -
>  drivers/char/agp/Kconfig                                           |   16 +-
>  drivers/char/agp/Makefile                                          |    2 -
>  drivers/char/agp/hp-agp.c                                          |  550 -----
>  drivers/char/agp/i460-agp.c                                        |  659 ------
>  drivers/char/hpet.c                                                |   30 -
>  drivers/char/hw_random/Kconfig                                     |    2 +-
>  drivers/char/mem.c                                                 |   12 -
>  drivers/char/mspec.c                                               |  295 ---
>  drivers/cpufreq/Kconfig                                            |   11 -
>  drivers/cpufreq/Makefile                                           |    1 -
>  drivers/cpufreq/ia64-acpi-cpufreq.c                                |  353 ---
>  drivers/firmware/Kconfig                                           |   24 -
>  drivers/firmware/Makefile                                          |    1 -
>  drivers/firmware/efi/Kconfig                                       |    6 +-
>  drivers/firmware/efi/efi.c                                         |   13 +-
>  drivers/firmware/pcdp.c                                            |  135 --
>  drivers/firmware/pcdp.h                                            |  108 -
>  drivers/gpu/drm/drm_ioc32.c                                        |    4 +-
>  drivers/input/serio/i8042.h                                        |    2 +-
>  drivers/iommu/Kconfig                                              |    4 +-
>  drivers/iommu/intel/Kconfig                                        |    2 +-
>  drivers/media/cec/platform/Kconfig                                 |    2 +-
>  drivers/misc/Kconfig                                               |    2 +-
>  drivers/misc/sgi-gru/gru.h                                         |    4 +-
>  drivers/misc/sgi-gru/gru_instructions.h                            |   12 +-
>  drivers/misc/sgi-gru/grufile.c                                     |   72 -
>  drivers/misc/sgi-gru/gruhandles.c                                  |    6 -
>  drivers/misc/sgi-gru/grumain.c                                     |    4 -
>  drivers/misc/sgi-xp/xp.h                                           |    2 +-
>  drivers/misc/sgi-xp/xp_uv.c                                        |   24 -
>  drivers/misc/sgi-xp/xpc_main.c                                     |   31 -
>  drivers/misc/sgi-xp/xpc_uv.c                                       |   85 -
>  drivers/net/ethernet/broadcom/tg3.c                                |    2 +-
>  drivers/net/ethernet/brocade/bna/bnad.h                            |    1 -
>  drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c               |    2 -
>  drivers/pci/vgaarb.c                                               |    2 +-
>  drivers/tty/serial/8250/Kconfig                                    |    2 +-
>  drivers/tty/vt/keyboard.c                                          |    2 +-
>  drivers/video/fbdev/Kconfig                                        |    2 +-
>  drivers/watchdog/Kconfig                                           |    2 +-
>  fs/Kconfig                                                         |    2 +-
>  fs/afs/main.c                                                      |    2 -
>  fs/xfs/xfs_ioctl32.h                                               |    2 +-
>  include/linux/acpi.h                                               |    9 +-
>  include/linux/efi.h                                                |    7 -
>  include/linux/mm.h                                                 |    2 -
>  include/linux/moduleparam.h                                        |    2 +-
>  include/linux/raid/pq.h                                            |    2 -
>  include/linux/sched/signal.h                                       |   17 +-
>  include/trace/events/mmflags.h                                     |    2 +-
>  init/Kconfig                                                       |    2 +-
>  kernel/cpu.c                                                       |    3 -
>  kernel/fork.c                                                      |    2 +-
>  kernel/sched/core.c                                                |   29 +-
>  kernel/signal.c                                                    |   25 +-
>  kernel/sysctl.c                                                    |    9 -
>  lib/Kconfig.debug                                                  |    2 +-
>  lib/decompress_unxz.c                                              |    3 -
>  lib/raid6/Makefile                                                 |    4 +-
>  lib/raid6/algos.c                                                  |    4 -
>  lib/xz/Kconfig                                                     |    5 -
>  mm/mmap.c                                                          |    6 +-
>  scripts/headers_install.sh                                         |    1 -
>  tools/arch/ia64/include/asm/barrier.h                              |   59 -
>  tools/arch/ia64/include/uapi/asm/bitsperlong.h                     |    9 -
>  tools/arch/ia64/include/uapi/asm/mman.h                            |    7 -
>  usr/include/Makefile                                               |    6 -
>  427 files changed, 74 insertions(+), 65400 deletions(-)
>  delete mode 100644 Documentation/ia64/aliasing.rst
>  delete mode 100644 Documentation/ia64/efirtc.rst
>  delete mode 100644 Documentation/ia64/err_inject.rst
>  delete mode 100644 Documentation/ia64/features.rst
>  delete mode 100644 Documentation/ia64/fsys.rst
>  delete mode 100644 Documentation/ia64/ia64.rst
>  delete mode 100644 Documentation/ia64/index.rst
>  delete mode 100644 Documentation/ia64/irq-redir.rst
>  delete mode 100644 Documentation/ia64/mca.rst
>  delete mode 100644 Documentation/ia64/serial.rst
>  delete mode 100644 arch/ia64/Kbuild
>  delete mode 100644 arch/ia64/Kconfig
>  delete mode 100644 arch/ia64/Kconfig.debug
>  delete mode 100644 arch/ia64/Makefile
>  delete mode 100644 arch/ia64/configs/bigsur_defconfig
>  delete mode 100644 arch/ia64/configs/generic_defconfig
>  delete mode 100644 arch/ia64/configs/gensparse_defconfig
>  delete mode 100644 arch/ia64/configs/tiger_defconfig
>  delete mode 100644 arch/ia64/configs/zx1_defconfig
>  delete mode 100644 arch/ia64/hp/common/Makefile
>  delete mode 100644 arch/ia64/hp/common/aml_nfw.c
>  delete mode 100644 arch/ia64/hp/common/sba_iommu.c
>  delete mode 100644 arch/ia64/include/asm/Kbuild
>  delete mode 100644 arch/ia64/include/asm/acenv.h
>  delete mode 100644 arch/ia64/include/asm/acpi-ext.h
>  delete mode 100644 arch/ia64/include/asm/acpi.h
>  delete mode 100644 arch/ia64/include/asm/agp.h
>  delete mode 100644 arch/ia64/include/asm/asm-offsets.h
>  delete mode 100644 arch/ia64/include/asm/asm-prototypes.h
>  delete mode 100644 arch/ia64/include/asm/asmmacro.h
>  delete mode 100644 arch/ia64/include/asm/atomic.h
>  delete mode 100644 arch/ia64/include/asm/barrier.h
>  delete mode 100644 arch/ia64/include/asm/bitops.h
>  delete mode 100644 arch/ia64/include/asm/bug.h
>  delete mode 100644 arch/ia64/include/asm/bugs.h
>  delete mode 100644 arch/ia64/include/asm/cache.h
>  delete mode 100644 arch/ia64/include/asm/cacheflush.h
>  delete mode 100644 arch/ia64/include/asm/checksum.h
>  delete mode 100644 arch/ia64/include/asm/clocksource.h
>  delete mode 100644 arch/ia64/include/asm/cmpxchg.h
>  delete mode 100644 arch/ia64/include/asm/cpu.h
>  delete mode 100644 arch/ia64/include/asm/cputime.h
>  delete mode 100644 arch/ia64/include/asm/current.h
>  delete mode 100644 arch/ia64/include/asm/cyclone.h
>  delete mode 100644 arch/ia64/include/asm/delay.h
>  delete mode 100644 arch/ia64/include/asm/device.h
>  delete mode 100644 arch/ia64/include/asm/div64.h
>  delete mode 100644 arch/ia64/include/asm/dma-mapping.h
>  delete mode 100644 arch/ia64/include/asm/dma.h
>  delete mode 100644 arch/ia64/include/asm/dmi.h
>  delete mode 100644 arch/ia64/include/asm/early_ioremap.h
>  delete mode 100644 arch/ia64/include/asm/efi.h
>  delete mode 100644 arch/ia64/include/asm/elf.h
>  delete mode 100644 arch/ia64/include/asm/emergency-restart.h
>  delete mode 100644 arch/ia64/include/asm/esi.h
>  delete mode 100644 arch/ia64/include/asm/exception.h
>  delete mode 100644 arch/ia64/include/asm/export.h
>  delete mode 100644 arch/ia64/include/asm/extable.h
>  delete mode 100644 arch/ia64/include/asm/fb.h
>  delete mode 100644 arch/ia64/include/asm/fpswa.h
>  delete mode 100644 arch/ia64/include/asm/ftrace.h
>  delete mode 100644 arch/ia64/include/asm/futex.h
>  delete mode 100644 arch/ia64/include/asm/gcc_intrin.h
>  delete mode 100644 arch/ia64/include/asm/hardirq.h
>  delete mode 100644 arch/ia64/include/asm/hugetlb.h
>  delete mode 100644 arch/ia64/include/asm/hw_irq.h
>  delete mode 100644 arch/ia64/include/asm/idle.h
>  delete mode 100644 arch/ia64/include/asm/intrinsics.h
>  delete mode 100644 arch/ia64/include/asm/io.h
>  delete mode 100644 arch/ia64/include/asm/iommu.h
>  delete mode 100644 arch/ia64/include/asm/iosapic.h
>  delete mode 100644 arch/ia64/include/asm/irq.h
>  delete mode 100644 arch/ia64/include/asm/irq_regs.h
>  delete mode 100644 arch/ia64/include/asm/irq_remapping.h
>  delete mode 100644 arch/ia64/include/asm/irqflags.h
>  delete mode 100644 arch/ia64/include/asm/kdebug.h
>  delete mode 100644 arch/ia64/include/asm/kexec.h
>  delete mode 100644 arch/ia64/include/asm/kprobes.h
>  delete mode 100644 arch/ia64/include/asm/kregs.h
>  delete mode 100644 arch/ia64/include/asm/libata-portmap.h
>  delete mode 100644 arch/ia64/include/asm/linkage.h
>  delete mode 100644 arch/ia64/include/asm/local.h
>  delete mode 100644 arch/ia64/include/asm/mca.h
>  delete mode 100644 arch/ia64/include/asm/mca_asm.h
>  delete mode 100644 arch/ia64/include/asm/meminit.h
>  delete mode 100644 arch/ia64/include/asm/mman.h
>  delete mode 100644 arch/ia64/include/asm/mmiowb.h
>  delete mode 100644 arch/ia64/include/asm/mmu.h
>  delete mode 100644 arch/ia64/include/asm/mmu_context.h
>  delete mode 100644 arch/ia64/include/asm/mmzone.h
>  delete mode 100644 arch/ia64/include/asm/module.h
>  delete mode 100644 arch/ia64/include/asm/module.lds.h
>  delete mode 100644 arch/ia64/include/asm/msidef.h
>  delete mode 100644 arch/ia64/include/asm/native/inst.h
>  delete mode 100644 arch/ia64/include/asm/native/irq.h
>  delete mode 100644 arch/ia64/include/asm/native/patchlist.h
>  delete mode 100644 arch/ia64/include/asm/nodedata.h
>  delete mode 100644 arch/ia64/include/asm/numa.h
>  delete mode 100644 arch/ia64/include/asm/page.h
>  delete mode 100644 arch/ia64/include/asm/pal.h
>  delete mode 100644 arch/ia64/include/asm/param.h
>  delete mode 100644 arch/ia64/include/asm/parport.h
>  delete mode 100644 arch/ia64/include/asm/patch.h
>  delete mode 100644 arch/ia64/include/asm/pci.h
>  delete mode 100644 arch/ia64/include/asm/percpu.h
>  delete mode 100644 arch/ia64/include/asm/pgalloc.h
>  delete mode 100644 arch/ia64/include/asm/pgtable.h
>  delete mode 100644 arch/ia64/include/asm/processor.h
>  delete mode 100644 arch/ia64/include/asm/ptrace.h
>  delete mode 100644 arch/ia64/include/asm/sal.h
>  delete mode 100644 arch/ia64/include/asm/sections.h
>  delete mode 100644 arch/ia64/include/asm/serial.h
>  delete mode 100644 arch/ia64/include/asm/shmparam.h
>  delete mode 100644 arch/ia64/include/asm/signal.h
>  delete mode 100644 arch/ia64/include/asm/smp.h
>  delete mode 100644 arch/ia64/include/asm/sn/intr.h
>  delete mode 100644 arch/ia64/include/asm/sn/sn_sal.h
>  delete mode 100644 arch/ia64/include/asm/sparsemem.h
>  delete mode 100644 arch/ia64/include/asm/spinlock.h
>  delete mode 100644 arch/ia64/include/asm/spinlock_types.h
>  delete mode 100644 arch/ia64/include/asm/string.h
>  delete mode 100644 arch/ia64/include/asm/switch_to.h
>  delete mode 100644 arch/ia64/include/asm/syscall.h
>  delete mode 100644 arch/ia64/include/asm/thread_info.h
>  delete mode 100644 arch/ia64/include/asm/timex.h
>  delete mode 100644 arch/ia64/include/asm/tlb.h
>  delete mode 100644 arch/ia64/include/asm/tlbflush.h
>  delete mode 100644 arch/ia64/include/asm/topology.h
>  delete mode 100644 arch/ia64/include/asm/types.h
>  delete mode 100644 arch/ia64/include/asm/uaccess.h
>  delete mode 100644 arch/ia64/include/asm/uncached.h
>  delete mode 100644 arch/ia64/include/asm/unistd.h
>  delete mode 100644 arch/ia64/include/asm/unwind.h
>  delete mode 100644 arch/ia64/include/asm/user.h
>  delete mode 100644 arch/ia64/include/asm/ustack.h
>  delete mode 100644 arch/ia64/include/asm/uv/uv.h
>  delete mode 100644 arch/ia64/include/asm/uv/uv_hub.h
>  delete mode 100644 arch/ia64/include/asm/uv/uv_mmrs.h
>  delete mode 100644 arch/ia64/include/asm/vermagic.h
>  delete mode 100644 arch/ia64/include/asm/vga.h
>  delete mode 100644 arch/ia64/include/asm/vmalloc.h
>  delete mode 100644 arch/ia64/include/asm/xor.h
>  delete mode 100644 arch/ia64/include/asm/xtp.h
>  delete mode 100644 arch/ia64/include/uapi/asm/Kbuild
>  delete mode 100644 arch/ia64/include/uapi/asm/auxvec.h
>  delete mode 100644 arch/ia64/include/uapi/asm/bitsperlong.h
>  delete mode 100644 arch/ia64/include/uapi/asm/break.h
>  delete mode 100644 arch/ia64/include/uapi/asm/byteorder.h
>  delete mode 100644 arch/ia64/include/uapi/asm/cmpxchg.h
>  delete mode 100644 arch/ia64/include/uapi/asm/fcntl.h
>  delete mode 100644 arch/ia64/include/uapi/asm/fpu.h
>  delete mode 100644 arch/ia64/include/uapi/asm/gcc_intrin.h
>  delete mode 100644 arch/ia64/include/uapi/asm/ia64regs.h
>  delete mode 100644 arch/ia64/include/uapi/asm/intel_intrin.h
>  delete mode 100644 arch/ia64/include/uapi/asm/intrinsics.h
>  delete mode 100644 arch/ia64/include/uapi/asm/mman.h
>  delete mode 100644 arch/ia64/include/uapi/asm/param.h
>  delete mode 100644 arch/ia64/include/uapi/asm/posix_types.h
>  delete mode 100644 arch/ia64/include/uapi/asm/ptrace.h
>  delete mode 100644 arch/ia64/include/uapi/asm/ptrace_offsets.h
>  delete mode 100644 arch/ia64/include/uapi/asm/resource.h
>  delete mode 100644 arch/ia64/include/uapi/asm/rse.h
>  delete mode 100644 arch/ia64/include/uapi/asm/setup.h
>  delete mode 100644 arch/ia64/include/uapi/asm/sigcontext.h
>  delete mode 100644 arch/ia64/include/uapi/asm/siginfo.h
>  delete mode 100644 arch/ia64/include/uapi/asm/signal.h
>  delete mode 100644 arch/ia64/include/uapi/asm/stat.h
>  delete mode 100644 arch/ia64/include/uapi/asm/statfs.h
>  delete mode 100644 arch/ia64/include/uapi/asm/swab.h
>  delete mode 100644 arch/ia64/include/uapi/asm/types.h
>  delete mode 100644 arch/ia64/include/uapi/asm/ucontext.h
>  delete mode 100644 arch/ia64/include/uapi/asm/unistd.h
>  delete mode 100644 arch/ia64/include/uapi/asm/ustack.h
>  delete mode 100755 arch/ia64/install.sh
>  delete mode 100644 arch/ia64/kernel/.gitignore
>  delete mode 100644 arch/ia64/kernel/Makefile
>  delete mode 100644 arch/ia64/kernel/Makefile.gate
>  delete mode 100644 arch/ia64/kernel/acpi-ext.c
>  delete mode 100644 arch/ia64/kernel/acpi.c
>  delete mode 100644 arch/ia64/kernel/asm-offsets.c
>  delete mode 100644 arch/ia64/kernel/audit.c
>  delete mode 100644 arch/ia64/kernel/brl_emu.c
>  delete mode 100644 arch/ia64/kernel/crash.c
>  delete mode 100644 arch/ia64/kernel/crash_dump.c
>  delete mode 100644 arch/ia64/kernel/cyclone.c
>  delete mode 100644 arch/ia64/kernel/dma-mapping.c
>  delete mode 100644 arch/ia64/kernel/efi.c
>  delete mode 100644 arch/ia64/kernel/efi_stub.S
>  delete mode 100644 arch/ia64/kernel/elfcore.c
>  delete mode 100644 arch/ia64/kernel/entry.S
>  delete mode 100644 arch/ia64/kernel/entry.h
>  delete mode 100644 arch/ia64/kernel/err_inject.c
>  delete mode 100644 arch/ia64/kernel/esi.c
>  delete mode 100644 arch/ia64/kernel/esi_stub.S
>  delete mode 100644 arch/ia64/kernel/fsys.S
>  delete mode 100644 arch/ia64/kernel/fsyscall_gtod_data.h
>  delete mode 100644 arch/ia64/kernel/ftrace.c
>  delete mode 100644 arch/ia64/kernel/gate-data.S
>  delete mode 100644 arch/ia64/kernel/gate.S
>  delete mode 100644 arch/ia64/kernel/gate.lds.S
>  delete mode 100644 arch/ia64/kernel/head.S
>  delete mode 100644 arch/ia64/kernel/iosapic.c
>  delete mode 100644 arch/ia64/kernel/irq.c
>  delete mode 100644 arch/ia64/kernel/irq.h
>  delete mode 100644 arch/ia64/kernel/irq_ia64.c
>  delete mode 100644 arch/ia64/kernel/irq_lsapic.c
>  delete mode 100644 arch/ia64/kernel/ivt.S
>  delete mode 100644 arch/ia64/kernel/kprobes.c
>  delete mode 100644 arch/ia64/kernel/machine_kexec.c
>  delete mode 100644 arch/ia64/kernel/mca.c
>  delete mode 100644 arch/ia64/kernel/mca_asm.S
>  delete mode 100644 arch/ia64/kernel/mca_drv.c
>  delete mode 100644 arch/ia64/kernel/mca_drv.h
>  delete mode 100644 arch/ia64/kernel/mca_drv_asm.S
>  delete mode 100644 arch/ia64/kernel/minstate.h
>  delete mode 100644 arch/ia64/kernel/module.c
>  delete mode 100644 arch/ia64/kernel/msi_ia64.c
>  delete mode 100644 arch/ia64/kernel/numa.c
>  delete mode 100644 arch/ia64/kernel/pal.S
>  delete mode 100644 arch/ia64/kernel/palinfo.c
>  delete mode 100644 arch/ia64/kernel/patch.c
>  delete mode 100644 arch/ia64/kernel/pci-dma.c
>  delete mode 100644 arch/ia64/kernel/perfmon_itanium.h
>  delete mode 100644 arch/ia64/kernel/process.c
>  delete mode 100644 arch/ia64/kernel/ptrace.c
>  delete mode 100644 arch/ia64/kernel/relocate_kernel.S
>  delete mode 100644 arch/ia64/kernel/sal.c
>  delete mode 100644 arch/ia64/kernel/salinfo.c
>  delete mode 100644 arch/ia64/kernel/setup.c
>  delete mode 100644 arch/ia64/kernel/sigframe.h
>  delete mode 100644 arch/ia64/kernel/signal.c
>  delete mode 100644 arch/ia64/kernel/smp.c
>  delete mode 100644 arch/ia64/kernel/smpboot.c
>  delete mode 100644 arch/ia64/kernel/stacktrace.c
>  delete mode 100644 arch/ia64/kernel/sys_ia64.c
>  delete mode 100644 arch/ia64/kernel/syscalls/Makefile
>  delete mode 100644 arch/ia64/kernel/syscalls/syscall.tbl
>  delete mode 100644 arch/ia64/kernel/time.c
>  delete mode 100644 arch/ia64/kernel/topology.c
>  delete mode 100644 arch/ia64/kernel/traps.c
>  delete mode 100644 arch/ia64/kernel/unaligned.c
>  delete mode 100644 arch/ia64/kernel/uncached.c
>  delete mode 100644 arch/ia64/kernel/unwind.c
>  delete mode 100644 arch/ia64/kernel/unwind_decoder.c
>  delete mode 100644 arch/ia64/kernel/unwind_i.h
>  delete mode 100644 arch/ia64/kernel/vmlinux.lds.S
>  delete mode 100644 arch/ia64/lib/Makefile
>  delete mode 100644 arch/ia64/lib/checksum.c
>  delete mode 100644 arch/ia64/lib/clear_page.S
>  delete mode 100644 arch/ia64/lib/clear_user.S
>  delete mode 100644 arch/ia64/lib/copy_page.S
>  delete mode 100644 arch/ia64/lib/copy_page_mck.S
>  delete mode 100644 arch/ia64/lib/copy_user.S
>  delete mode 100644 arch/ia64/lib/csum_partial_copy.c
>  delete mode 100644 arch/ia64/lib/do_csum.S
>  delete mode 100644 arch/ia64/lib/flush.S
>  delete mode 100644 arch/ia64/lib/idiv32.S
>  delete mode 100644 arch/ia64/lib/idiv64.S
>  delete mode 100644 arch/ia64/lib/io.c
>  delete mode 100644 arch/ia64/lib/ip_fast_csum.S
>  delete mode 100644 arch/ia64/lib/memcpy.S
>  delete mode 100644 arch/ia64/lib/memcpy_mck.S
>  delete mode 100644 arch/ia64/lib/memset.S
>  delete mode 100644 arch/ia64/lib/strlen.S
>  delete mode 100644 arch/ia64/lib/strncpy_from_user.S
>  delete mode 100644 arch/ia64/lib/strnlen_user.S
>  delete mode 100644 arch/ia64/lib/xor.S
>  delete mode 100644 arch/ia64/mm/Makefile
>  delete mode 100644 arch/ia64/mm/contig.c
>  delete mode 100644 arch/ia64/mm/discontig.c
>  delete mode 100644 arch/ia64/mm/extable.c
>  delete mode 100644 arch/ia64/mm/fault.c
>  delete mode 100644 arch/ia64/mm/hugetlbpage.c
>  delete mode 100644 arch/ia64/mm/init.c
>  delete mode 100644 arch/ia64/mm/ioremap.c
>  delete mode 100644 arch/ia64/mm/numa.c
>  delete mode 100644 arch/ia64/mm/tlb.c
>  delete mode 100644 arch/ia64/pci/Makefile
>  delete mode 100644 arch/ia64/pci/fixup.c
>  delete mode 100644 arch/ia64/pci/pci.c
>  delete mode 100755 arch/ia64/scripts/check-gas
>  delete mode 100644 arch/ia64/scripts/check-gas-asm.S
>  delete mode 100644 arch/ia64/scripts/check-model.c
>  delete mode 100644 arch/ia64/scripts/check-segrel.S
>  delete mode 100644 arch/ia64/scripts/check-segrel.lds
>  delete mode 100644 arch/ia64/scripts/check-serialize.S
>  delete mode 100644 arch/ia64/scripts/check-text-align.S
>  delete mode 100755 arch/ia64/scripts/toolchain-flags
>  delete mode 100644 arch/ia64/scripts/unwcheck.py
>  delete mode 100644 arch/ia64/uv/Makefile
>  delete mode 100644 arch/ia64/uv/kernel/Makefile
>  delete mode 100644 arch/ia64/uv/kernel/setup.c
>  delete mode 100644 drivers/char/agp/hp-agp.c
>  delete mode 100644 drivers/char/agp/i460-agp.c
>  delete mode 100644 drivers/char/mspec.c
>  delete mode 100644 drivers/cpufreq/ia64-acpi-cpufreq.c
>  delete mode 100644 drivers/firmware/pcdp.c
>  delete mode 100644 drivers/firmware/pcdp.h
>  delete mode 100644 tools/arch/ia64/include/asm/barrier.h
>  delete mode 100644 tools/arch/ia64/include/uapi/asm/bitsperlong.h
>  delete mode 100644 tools/arch/ia64/include/uapi/asm/mman.h

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 1/5] arch: Remove Itanium (IA-64) architecture
       [not found] ` <20230215100008.2565237-2-ardb@kernel.org>
@ 2023-02-15 16:58   ` Guenter Roeck
  2023-02-15 16:59     ` Ard Biesheuvel
  0 siblings, 1 reply; 29+ messages in thread
From: Guenter Roeck @ 2023-02-15 16:58 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: linux-kernel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Linus Torvalds, linux-ia64

On Wed, Feb 15, 2023 at 11:00:04AM +0100, Ard Biesheuvel wrote:
> Itanium is the original architecture for which EFI was developed, and
> the way Linux supports it deviates significantly from other
> architectures.
> 
> So it is anyone's guess whether the ongoing maintenance and developement
> of the EFI subsystem has regressed Itanium or not - QEMU no longer
> implements support for it, and so there is zero test coverage using
> actual hardware.
> 
> Note that the Intel firmware team themselves already removed all IA-64
> support from the Tianocore/EDK2 reference implementation of EFI in 2018,
> so let's follow suit, and drop IA-64 from Linux as well.
> 
> Acked-by: Tony Luck <tony.luck@intel.com>
> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

Trying again since the previous message bounced with "message too long".

Acked-by: Guenter Roeck <linux@roeck-us.net>

Sorry for the noise for anyone receiving this twice.

Guenter

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 1/5] arch: Remove Itanium (IA-64) architecture
  2023-02-15 16:58   ` [RFC PATCH 1/5] arch: Remove Itanium (IA-64) architecture Guenter Roeck
@ 2023-02-15 16:59     ` Ard Biesheuvel
  0 siblings, 0 replies; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 16:59 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-kernel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Linus Torvalds, linux-ia64

On Wed, 15 Feb 2023 at 17:58, Guenter Roeck <linux@roeck-us.net> wrote:
>
> On Wed, Feb 15, 2023 at 11:00:04AM +0100, Ard Biesheuvel wrote:
> > Itanium is the original architecture for which EFI was developed, and
> > the way Linux supports it deviates significantly from other
> > architectures.
> >
> > So it is anyone's guess whether the ongoing maintenance and developement
> > of the EFI subsystem has regressed Itanium or not - QEMU no longer
> > implements support for it, and so there is zero test coverage using
> > actual hardware.
> >
> > Note that the Intel firmware team themselves already removed all IA-64
> > support from the Tianocore/EDK2 reference implementation of EFI in 2018,
> > so let's follow suit, and drop IA-64 from Linux as well.
> >
> > Acked-by: Tony Luck <tony.luck@intel.com>
> > Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
>
> Trying again since the previous message bounced with "message too long".
>
> Acked-by: Guenter Roeck <linux@roeck-us.net>
>
> Sorry for the noise for anyone receiving this twice.
>

Thanks, and this is my fault really - I used the -D option to omit the
pre-images but the patch is still >100k :-(

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 16:50 ` Palmer Dabbelt
@ 2023-02-15 16:59   ` Ard Biesheuvel
  2023-02-15 18:20     ` Palmer Dabbelt
  0 siblings, 1 reply; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-15 16:59 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: linux-kernel, corbet, Arnd Bergmann, tony.luck, jrtc27, glaubitz,
	willy, Marc Zyngier, linux, Linus Torvalds, linux-ia64

On Wed, 15 Feb 2023 at 17:50, Palmer Dabbelt <palmer@dabbelt.com> wrote:
>
> On Wed, 15 Feb 2023 02:00:03 PST (-0800), ardb@kernel.org wrote:
> > The IA64 port of Linux has no maintainer, and according to a report from
> > its only remaining user [0], it has been broken for a month and nobody
> > cares.
> >
> > Given that keeping a complex but unused architecture alive uses up
> > valuable developer bandwidth, let's just get rid of it.
> >
> > This supersedes my patch proposing to mark it as 'dead', which received
> > no replies from anyone that wants to keep it alive. [1]
> >
> > [0] https://www.spinics.net/lists/linux-ia64/msg21926.html
> > [1] https://lore.kernel.org/all/20230128122904.1345120-1-ardb@kernel.org/
> >
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Cc: Arnd Bergmann <arnd@arndb.de>
> > Cc: Tony Luck <tony.luck@intel.com>
> > Cc: Jessica Clarke <jrtc27@jrtc27.com>
> > Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
> > Cc: Matthew Wilcox <willy@infradead.org>
> > Cc: Marc Zyngier <maz@kernel.org>
> > Cc: Guenter Roeck <linux@roeck-us.net>
> > Cc: Linus Torvalds <torvalds@linux-foundation.org>
> > Cc: linux-ia64@vger.kernel.org
> >
> > Ard Biesheuvel (5):
> >   arch: Remove Itanium (IA-64) architecture
> >   kernel: Drop IA64 support from sig_fault handlers
> >   Documentation: Drop IA64 from feature descriptions
> >   lib/raid6: Drop IA64 support
> >   Documentation: Drop or replace remaining mentions of IA64
>
> Not sure if I'm missing it in the diff, but it looks like there's also a
> bunch of "#ifdef __ia64__" and "#ifdef __IA64__" type code spread
> throughout the kernel.  I didn't look at the actual diff, but it's in
> files that aren't showing up in the diffstat.
>

Thanks for taking a look. It seems I indeed missed a couple.

> Just "git grep -i __ia64__" lists a bunch.  I didn't look at all of
> them, but at least spot checking include/acpi/actypes.h looks like it's
> a real Itanium workaround.  If the arch goes, it's probbaly worth
> removing those too?
>

The ACPI code is synced with another project, so I didn't touch it.
Same goes for some other header files where IA-64 is referenced, e.g.,
in the PE/COFF header stuff.

> There's also some mentions of "Itanium" in Documentation outside that
> don't look like they got caught here.  Not sure if they'd be worth
> getting rid of, though as they could still be useful examples.  The
> blurb in Documentation/memory-barriers.txt looks pretty port-specific,
> though.
>

Yeah, I don't think it is necessary to rewrite history soviet-style,
so some remaining references are fine IMHO.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 16:59   ` Ard Biesheuvel
@ 2023-02-15 18:20     ` Palmer Dabbelt
  0 siblings, 0 replies; 29+ messages in thread
From: Palmer Dabbelt @ 2023-02-15 18:20 UTC (permalink / raw)
  To: ardb
  Cc: linux-kernel, corbet, Arnd Bergmann, tony.luck, jrtc27, glaubitz,
	willy, Marc Zyngier, linux, Linus Torvalds, linux-ia64

On Wed, 15 Feb 2023 09:00:28 PST (-0800), ardb@kernel.org wrote:
> On Wed, 15 Feb 2023 at 17:50, Palmer Dabbelt <palmer@dabbelt.com> wrote:
>>
>> On Wed, 15 Feb 2023 02:00:03 PST (-0800), ardb@kernel.org wrote:
>> > The IA64 port of Linux has no maintainer, and according to a report from
>> > its only remaining user [0], it has been broken for a month and nobody
>> > cares.
>> >
>> > Given that keeping a complex but unused architecture alive uses up
>> > valuable developer bandwidth, let's just get rid of it.
>> >
>> > This supersedes my patch proposing to mark it as 'dead', which received
>> > no replies from anyone that wants to keep it alive. [1]
>> >
>> > [0] https://www.spinics.net/lists/linux-ia64/msg21926.html
>> > [1] https://lore.kernel.org/all/20230128122904.1345120-1-ardb@kernel.org/
>> >
>> > Cc: Jonathan Corbet <corbet@lwn.net>
>> > Cc: Arnd Bergmann <arnd@arndb.de>
>> > Cc: Tony Luck <tony.luck@intel.com>
>> > Cc: Jessica Clarke <jrtc27@jrtc27.com>
>> > Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
>> > Cc: Matthew Wilcox <willy@infradead.org>
>> > Cc: Marc Zyngier <maz@kernel.org>
>> > Cc: Guenter Roeck <linux@roeck-us.net>
>> > Cc: Linus Torvalds <torvalds@linux-foundation.org>
>> > Cc: linux-ia64@vger.kernel.org
>> >
>> > Ard Biesheuvel (5):
>> >   arch: Remove Itanium (IA-64) architecture
>> >   kernel: Drop IA64 support from sig_fault handlers
>> >   Documentation: Drop IA64 from feature descriptions
>> >   lib/raid6: Drop IA64 support
>> >   Documentation: Drop or replace remaining mentions of IA64
>>
>> Not sure if I'm missing it in the diff, but it looks like there's also a
>> bunch of "#ifdef __ia64__" and "#ifdef __IA64__" type code spread
>> throughout the kernel.  I didn't look at the actual diff, but it's in
>> files that aren't showing up in the diffstat.
>>
>
> Thanks for taking a look. It seems I indeed missed a couple.
>
>> Just "git grep -i __ia64__" lists a bunch.  I didn't look at all of
>> them, but at least spot checking include/acpi/actypes.h looks like it's
>> a real Itanium workaround.  If the arch goes, it's probbaly worth
>> removing those too?
>>
>
> The ACPI code is synced with another project, so I didn't touch it.
> Same goes for some other header files where IA-64 is referenced, e.g.,
> in the PE/COFF header stuff.

Thanks, I didn't know that.  Pretty sure there's some scattered in 
drivers, but...

>> There's also some mentions of "Itanium" in Documentation outside that
>> don't look like they got caught here.  Not sure if they'd be worth
>> getting rid of, though as they could still be useful examples.  The
>> blurb in Documentation/memory-barriers.txt looks pretty port-specific,
>> though.
>>
>
> Yeah, I don't think it is necessary to rewrite history soviet-style,
> so some remaining references are fine IMHO.

That seems reasonable to me -- assuming the port goes the rest is just 
dead code so it'll filter out over time (presumably all over userspace 
too, which will take a while).

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:17 ` [RFC PATCH 0/5] Retire IA64/Itanium support John Paul Adrian Glaubitz
@ 2023-02-15 19:30   ` Linus Torvalds
  2023-02-15 19:42     ` Luck, Tony
  2023-02-15 23:09     ` John Paul Adrian Glaubitz
  0 siblings, 2 replies; 29+ messages in thread
From: Linus Torvalds @ 2023-02-15 19:30 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz
  Cc: Ard Biesheuvel, linux-kernel, Jonathan Corbet, Arnd Bergmann,
	Tony Luck, Jessica Clarke, Matthew Wilcox, Marc Zyngier,
	Guenter Roeck, linux-ia64

On Wed, Feb 15, 2023 at 2:17 AM John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
>
> It's not that I don't care. I just haven't been able to bisect the bug .yet

I'm not a fan of ia64 as an architecture, but it's a bit sad to remove
it entirely. It's not like it's been a huge maintenance burden in
general.

That said, if it doesn't work, and nobody has the time and/or
inclination to figure out why, I don't really see any alternative.

             Linus

^ permalink raw reply	[flat|nested] 29+ messages in thread

* RE: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 19:30   ` Linus Torvalds
@ 2023-02-15 19:42     ` Luck, Tony
  2023-02-15 20:08       ` Linus Torvalds
  2023-02-15 23:09     ` John Paul Adrian Glaubitz
  1 sibling, 1 reply; 29+ messages in thread
From: Luck, Tony @ 2023-02-15 19:42 UTC (permalink / raw)
  To: Torvalds, Linus, John Paul Adrian Glaubitz, Al Viro
  Cc: Ard Biesheuvel, linux-kernel@vger.kernel.org, Jonathan Corbet,
	Arnd Bergmann, Jessica Clarke, Matthew Wilcox, Marc Zyngier,
	Guenter Roeck, linux-ia64@vger.kernel.org

PiBJJ20gbm90IGEgZmFuIG9mIGlhNjQgYXMgYW4gYXJjaGl0ZWN0dXJlLCBidXQgaXQncyBhIGJp
dCBzYWQgdG8gcmVtb3ZlDQo+IGl0IGVudGlyZWx5LiBJdCdzIG5vdCBsaWtlIGl0J3MgYmVlbiBh
IGh1Z2UgbWFpbnRlbmFuY2UgYnVyZGVuIGluDQo+IGdlbmVyYWwuDQoNCk1heWJlIHlvdSBkb24n
dCBzZWUgb3RoZXJzIHBhaW4/ICBJIGFkZGVkIEFsIFZpcm8gLi4uIHBlcmhhcHMNCmhlJ2xsIHJl
cGxheSBzb21lIG9mIGhpcyB0aG91Z2h0cyBmcm9tIHRyeWluZyB0byBtYWtlIHNpZ25hbHMNCmFu
ZCBvdGhlciBzdHVmZiB3b3JrIGNvcnJlY3RseSBvbiBpYTY0Lg0KDQotVG9ueQ0K

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 19:42     ` Luck, Tony
@ 2023-02-15 20:08       ` Linus Torvalds
  2023-02-15 23:13         ` John Paul Adrian Glaubitz
  2023-02-16  5:04         ` Mike Rapoport
  0 siblings, 2 replies; 29+ messages in thread
From: Linus Torvalds @ 2023-02-15 20:08 UTC (permalink / raw)
  To: Luck, Tony
  Cc: John Paul Adrian Glaubitz, Al Viro, Ard Biesheuvel,
	linux-kernel@vger.kernel.org, Jonathan Corbet, Arnd Bergmann,
	Jessica Clarke, Matthew Wilcox, Marc Zyngier, Guenter Roeck,
	linux-ia64@vger.kernel.org

On Wed, Feb 15, 2023 at 11:43 AM Luck, Tony <tony.luck@intel.com> wrote:
>
> Maybe you don't see others pain?  I added Al Viro ... perhaps
> he'll replay some of his thoughts from trying to make signals
> and other stuff work correctly on ia64.

Well, as long as it's ia64-specific, I'll just go "hey, it was Al's
choice to look at that code".

IOW, I'm more worried about "ia64 makes it a pain to make _generic_ changes".

IOW, doing something like this:

    git log -p --no-merges --since=1.year arch/ia64/

to see what kind of pain ia64 parts of patches have caused, about a
third of them are that "look, somebody cared about ia64 explicitly".

And then the rest are trivial fixups for generic changes that aren't
any different from any other architecture. The only half-way
complicated one is the SET_FS removal, and I don't think it was any
worse than most other architectures.

IOW, it doesn't look like ia64 causes any huge issues _per_se_. I
suspect alpha continues to be more of a pain.

That said, it's entirely possible I've missed some particular painpoint.

But when it's actively known to be broken and nobody has time or
interest to look at it, at that point the "it doesn't look any more
painful than other architectures" becomes kind of moot.

                  Linus

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 19:30   ` Linus Torvalds
  2023-02-15 19:42     ` Luck, Tony
@ 2023-02-15 23:09     ` John Paul Adrian Glaubitz
  1 sibling, 0 replies; 29+ messages in thread
From: John Paul Adrian Glaubitz @ 2023-02-15 23:09 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Ard Biesheuvel, linux-kernel, Jonathan Corbet, Arnd Bergmann,
	Tony Luck, Jessica Clarke, Matthew Wilcox, Marc Zyngier,
	Guenter Roeck, linux-ia64

Hi Linus!

On Wed, 2023-02-15 at 11:30 -0800, Linus Torvalds wrote:
> On Wed, Feb 15, 2023 at 2:17 AM John Paul Adrian Glaubitz
> <glaubitz@physik.fu-berlin.de> wrote:
> > 
> > It's not that I don't care. I just haven't been able to bisect the bug .yet
> 
> I'm not a fan of ia64 as an architecture, but it's a bit sad to remove
> it entirely. It's not like it's been a huge maintenance burden in
> general.

I agree. It would be sad to see it go.

> That said, if it doesn't work, and nobody has the time and/or
> inclination to figure out why, I don't really see any alternative.

That's not really what I meant though. I definitely have the time to look
after the architecture as I am also maintaining it in Debian.

What I meant here is that I simply hadn't had the time yet to fully debug
this particular regression that was introduced with 6.1. I did actually
start a bisect and got close to the problematic commit as I got distracted
with my day job.

My plan was definitely to continue debugging the problem in the coming weekend
and at least find the commit that introduced the regression. I always have an
Itanium server ready for testing kernels that I can power on and control remotely
via its built-in management system.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 20:08       ` Linus Torvalds
@ 2023-02-15 23:13         ` John Paul Adrian Glaubitz
  2023-02-22 21:52           ` matoro
  2023-02-16  5:04         ` Mike Rapoport
  1 sibling, 1 reply; 29+ messages in thread
From: John Paul Adrian Glaubitz @ 2023-02-15 23:13 UTC (permalink / raw)
  To: Linus Torvalds, Luck, Tony
  Cc: Al Viro, Ard Biesheuvel, linux-kernel@vger.kernel.org,
	Jonathan Corbet, Arnd Bergmann, Jessica Clarke, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, linux-ia64@vger.kernel.org

On Wed, 2023-02-15 at 12:08 -0800, Linus Torvalds wrote:
> But when it's actively known to be broken and nobody has time or
> interest to look at it, at that point the "it doesn't look any more
> painful than other architectures" becomes kind of moot.

Let me look after it in the weekend and let's see whether we can unbreak
it. I don't think there is really a big issue. The last time we had a
similar issue was the regression introduced by 974b9b2c68f3 which got fixed
with the simple fix in bd05220c7be3.

It's probably similarly trivial to fix the current regression.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 20:08       ` Linus Torvalds
  2023-02-15 23:13         ` John Paul Adrian Glaubitz
@ 2023-02-16  5:04         ` Mike Rapoport
  1 sibling, 0 replies; 29+ messages in thread
From: Mike Rapoport @ 2023-02-16  5:04 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Luck, Tony, John Paul Adrian Glaubitz, Al Viro, Ard Biesheuvel,
	linux-kernel@vger.kernel.org, Jonathan Corbet, Arnd Bergmann,
	Jessica Clarke, Matthew Wilcox, Marc Zyngier, Guenter Roeck,
	linux-ia64@vger.kernel.org

Hi Linus,

On Wed, Feb 15, 2023 at 12:08:28PM -0800, Linus Torvalds wrote:
> On Wed, Feb 15, 2023 at 11:43 AM Luck, Tony <tony.luck@intel.com> wrote:
> >
> > Maybe you don't see others pain?  I added Al Viro ... perhaps
> > he'll replay some of his thoughts from trying to make signals
> > and other stuff work correctly on ia64.
> 
> Well, as long as it's ia64-specific, I'll just go "hey, it was Al's
> choice to look at that code".
> 
> IOW, I'm more worried about "ia64 makes it a pain to make _generic_ changes".
> 
> IOW, doing something like this:
> 
>     git log -p --no-merges --since=1.year arch/ia64/
> 
> to see what kind of pain ia64 parts of patches have caused, about a
> third of them are that "look, somebody cared about ia64 explicitly".
 
I remember that when I was doing cleanups of mm initialization, ia64
required special care several times.

> That said, it's entirely possible I've missed some particular painpoint.

The largest painpoint IMO is absence of any ability to test ia64 except
sending patches to Adrian in a hope he has time to give them a whirl.
 
>                   Linus

-- 
Sincerely yours,
Mike.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* RE: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (6 preceding siblings ...)
       [not found] ` <20230215100008.2565237-2-ardb@kernel.org>
@ 2023-02-16 17:42 ` Pedro Miguel Justo
  2023-02-16 18:32 ` Ard Biesheuvel
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 29+ messages in thread
From: Pedro Miguel Justo @ 2023-02-16 17:42 UTC (permalink / raw)
  To: linux-ia64

Hi Ard.

John is not the "only remaining user". I also reported the problem. I am sorry I don't update the kernel every month. Yes there might have been more than 30 days between updates.

I'd prefer if we don't remove the Itanium McKinley+ support but I'll understand if it must.

_____
Pedro




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (7 preceding siblings ...)
  2023-02-16 17:42 ` [RFC PATCH 0/5] Retire IA64/Itanium support Pedro Miguel Justo
@ 2023-02-16 18:32 ` Ard Biesheuvel
  2023-02-16 19:17 ` Guenter Roeck
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 29+ messages in thread
From: Ard Biesheuvel @ 2023-02-16 18:32 UTC (permalink / raw)
  To: linux-ia64

On Thu, 16 Feb 2023 at 18:43, Pedro Miguel Justo <pmsjt@texair.net> wrote:
>
> Hi Ard.
>
> John is not the "only remaining user". I also reported the problem. I am sorry I don't update the kernel every month. Yes there might have been more than 30 days between updates.
>

Thanks for the report.

Apologies if that sounded a bit callous but it does help get some
clarity regarding the ia64 situation. Essentially, we have a very
small number of downstream users but no dedicated developers or
maintainers. That is still not a great situation.

> I'd prefer if we don't remove the Itanium McKinley+ support but I'll understand if it must.
>

If you are invested in keeping Itanium alive, how much effort would
you be willing to spend yourself on testing and reviewing Itanium
changes?

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (8 preceding siblings ...)
  2023-02-16 18:32 ` Ard Biesheuvel
@ 2023-02-16 19:17 ` Guenter Roeck
  2023-02-16 19:34 ` Matthew Wilcox
  2023-03-17 22:55 ` Florian Weimer
  11 siblings, 0 replies; 29+ messages in thread
From: Guenter Roeck @ 2023-02-16 19:17 UTC (permalink / raw)
  To: linux-ia64

On 2/16/23 10:32, Ard Biesheuvel wrote:
> On Thu, 16 Feb 2023 at 18:43, Pedro Miguel Justo <pmsjt@texair.net> wrote:
>>
>> Hi Ard.
>>
>> John is not the "only remaining user". I also reported the problem. I am sorry I don't update the kernel every month. Yes there might have been more than 30 days between updates.
>>
> 
> Thanks for the report.
> 
> Apologies if that sounded a bit callous but it does help get some
> clarity regarding the ia64 situation. Essentially, we have a very
> small number of downstream users but no dedicated developers or
> maintainers. That is still not a great situation.
> 
>> I'd prefer if we don't remove the Itanium McKinley+ support but I'll understand if it must.
>>
> 
> If you are invested in keeping Itanium alive, how much effort would
> you be willing to spend yourself on testing and reviewing Itanium
> changes?

It isn't just that. Trying to build ia64:allmodconfig with gcc 11.2
fails due to build warning(s) which are now errors, and the same
build with gcc 11.3 or later (and binutils 2.32 or later) fails
completely with
     Error: Register number out of range 0..1
and similar all over the place. So there isn't just code bitrot,
there is also compiler and/or binutils bitrot.

Guenter

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (9 preceding siblings ...)
  2023-02-16 19:17 ` Guenter Roeck
@ 2023-02-16 19:34 ` Matthew Wilcox
  2023-03-17 22:55 ` Florian Weimer
  11 siblings, 0 replies; 29+ messages in thread
From: Matthew Wilcox @ 2023-02-16 19:34 UTC (permalink / raw)
  To: linux-ia64

On Thu, Feb 16, 2023 at 11:17:55AM -0800, Guenter Roeck wrote:
> It isn't just that. Trying to build ia64:allmodconfig with gcc 11.2
> fails due to build warning(s) which are now errors, and the same
> build with gcc 11.3 or later (and binutils 2.32 or later) fails
> completely with
>     Error: Register number out of range 0..1
> and similar all over the place. So there isn't just code bitrot,
> there is also compiler and/or binutils bitrot.

FWIW, ia64-unknown-linux-gnu was removed as a secondary platform between
the gcc-4.6 and gcc-4.7 releases (around 2012).  So this part of the
release criteria no longer applies:

: Our release criteria for the secondary platforms is:
: 
:     The compiler bootstraps successfully, and the C++ runtime library builds.
:     The DejaGNU testsuite has been run, and a substantial majority of the tests pass.

Linux does support a lot of platforms which are tertiary platforms,
of course.  Alpha, arc, csky, hexagon, loongarch, m68k, microblaze,
nios2, openrisc, parisc, riscv, sh and xtensa are all tertiary.  But
even Debian don't ship an x86->ia64 cross-gcc.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 23:13         ` John Paul Adrian Glaubitz
@ 2023-02-22 21:52           ` matoro
  0 siblings, 0 replies; 29+ messages in thread
From: matoro @ 2023-02-22 21:52 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz
  Cc: Linus Torvalds, Luck, Tony, Al Viro, Ard Biesheuvel, linux-kernel,
	Jonathan Corbet, Arnd Bergmann, Jessica Clarke, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, linux-ia64

On 2023-02-15 18:13, John Paul Adrian Glaubitz wrote:
> On Wed, 2023-02-15 at 12:08 -0800, Linus Torvalds wrote:
>> But when it's actively known to be broken and nobody has time or
>> interest to look at it, at that point the "it doesn't look any more
>> painful than other architectures" becomes kind of moot.
> 
> Let me look after it in the weekend and let's see whether we can 
> unbreak
> it. I don't think there is really a big issue. The last time we had a
> similar issue was the regression introduced by 974b9b2c68f3 which got 
> fixed
> with the simple fix in bd05220c7be3.
> 
> It's probably similarly trivial to fix the current regression.
> 
> Adrian

Just for reference, this specific bug does not seem to be universal, but 
possibly only applies to a specific configuration.  I have observed no 
problems with 6.1 on my rx 2800 i2 and just booted 6.2 with no issues.  
Please feel free to try out my kernel config here:  
https://dpaste.com/43CACUUG8.txt

A possible guess is initramfs-related, as according to your logs on the 
Debian ML the hang happens shortly after initramfs unpacking, and I do 
not use an initramfs.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
                   ` (10 preceding siblings ...)
  2023-02-16 19:34 ` Matthew Wilcox
@ 2023-03-17 22:55 ` Florian Weimer
  2023-05-12 14:45   ` Ard Biesheuvel
  11 siblings, 1 reply; 29+ messages in thread
From: Florian Weimer @ 2023-03-17 22:55 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: linux-kernel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

* Ard Biesheuvel:

> The IA64 port of Linux has no maintainer, and according to a report from
> its only remaining user [0], it has been broken for a month and nobody
> cares.
>
> Given that keeping a complex but unused architecture alive uses up
> valuable developer bandwidth, let's just get rid of it.
>
> This supersedes my patch proposing to mark it as 'dead', which received
> no replies from anyone that wants to keep it alive. [1]

Is this still going ahead?

In userspace, ia64 is of course full of special cases, too, so many of
us really want to see it gone, but we can't really start the removal
process while there is still kernel support.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-03-17 22:55 ` Florian Weimer
@ 2023-05-12 14:45   ` Ard Biesheuvel
  2023-05-12 14:58     ` Florian Weimer
  0 siblings, 1 reply; 29+ messages in thread
From: Ard Biesheuvel @ 2023-05-12 14:45 UTC (permalink / raw)
  To: Florian Weimer
  Cc: linux-kernel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

On Fri, 17 Mar 2023 at 23:56, Florian Weimer <fw@deneb.enyo.de> wrote:
>
> * Ard Biesheuvel:
>
> > The IA64 port of Linux has no maintainer, and according to a report from
> > its only remaining user [0], it has been broken for a month and nobody
> > cares.
> >
> > Given that keeping a complex but unused architecture alive uses up
> > valuable developer bandwidth, let's just get rid of it.
> >
> > This supersedes my patch proposing to mark it as 'dead', which received
> > no replies from anyone that wants to keep it alive. [1]
>
> Is this still going ahead?
>
> In userspace, ia64 is of course full of special cases, too, so many of
> us really want to see it gone, but we can't really start the removal
> process while there is still kernel support.

I brought this up again [0] in the context of GRUB (which has similar
issues related to EFI the the kernel has) and Adrian suggested to
raise this discussion more widely, perhaps on the distributions
mailing list, among other places.

Do you have any recommendations for a venue where we might find the
right mix of people who can drive this to a conclusion one way or the
other?

Thanks,


[0] https://lists.gnu.org/archive/html/grub-devel/2023-05/msg00068.html

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [RFC PATCH 0/5] Retire IA64/Itanium support
  2023-05-12 14:45   ` Ard Biesheuvel
@ 2023-05-12 14:58     ` Florian Weimer
  0 siblings, 0 replies; 29+ messages in thread
From: Florian Weimer @ 2023-05-12 14:58 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: linux-kernel, Jonathan Corbet, Arnd Bergmann, Tony Luck,
	Jessica Clarke, John Paul Adrian Glaubitz, Matthew Wilcox,
	Marc Zyngier, Guenter Roeck, Linus Torvalds, linux-ia64

* Ard Biesheuvel:

> I brought this up again [0] in the context of GRUB (which has similar
> issues related to EFI the the kernel has) and Adrian suggested to
> raise this discussion more widely, perhaps on the distributions
> mailing list, among other places.
>
> Do you have any recommendations for a venue where we might find the
> right mix of people who can drive this to a conclusion one way or the
> other?

> [0] https://lists.gnu.org/archive/html/grub-devel/2023-05/msg00068.html

I think Adrian's list of lists to concat looks reasonable.

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2023-05-12 14:58 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-15 10:00 [RFC PATCH 0/5] Retire IA64/Itanium support Ard Biesheuvel
2023-02-15 10:00 ` [RFC PATCH 2/5] kernel: Drop IA64 support from sig_fault handlers Ard Biesheuvel
2023-02-15 10:19   ` Arnd Bergmann
2023-02-15 11:13     ` Arnd Bergmann
2023-02-15 11:22       ` Ard Biesheuvel
2023-02-15 12:46         ` Arnd Bergmann
2023-02-15 10:00 ` [RFC PATCH 3/5] Documentation: Drop IA64 from feature descriptions Ard Biesheuvel
2023-02-15 10:00 ` [RFC PATCH 4/5] lib/raid6: Drop IA64 support Ard Biesheuvel
2023-02-15 10:00 ` [RFC PATCH 5/5] Documentation: Drop or replace remaining mentions of IA64 Ard Biesheuvel
2023-02-15 10:17 ` [RFC PATCH 0/5] Retire IA64/Itanium support John Paul Adrian Glaubitz
2023-02-15 19:30   ` Linus Torvalds
2023-02-15 19:42     ` Luck, Tony
2023-02-15 20:08       ` Linus Torvalds
2023-02-15 23:13         ` John Paul Adrian Glaubitz
2023-02-22 21:52           ` matoro
2023-02-16  5:04         ` Mike Rapoport
2023-02-15 23:09     ` John Paul Adrian Glaubitz
2023-02-15 16:50 ` Palmer Dabbelt
2023-02-15 16:59   ` Ard Biesheuvel
2023-02-15 18:20     ` Palmer Dabbelt
     [not found] ` <20230215100008.2565237-2-ardb@kernel.org>
2023-02-15 16:58   ` [RFC PATCH 1/5] arch: Remove Itanium (IA-64) architecture Guenter Roeck
2023-02-15 16:59     ` Ard Biesheuvel
2023-02-16 17:42 ` [RFC PATCH 0/5] Retire IA64/Itanium support Pedro Miguel Justo
2023-02-16 18:32 ` Ard Biesheuvel
2023-02-16 19:17 ` Guenter Roeck
2023-02-16 19:34 ` Matthew Wilcox
2023-03-17 22:55 ` Florian Weimer
2023-05-12 14:45   ` Ard Biesheuvel
2023-05-12 14:58     ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).