This is a note to let you know that I've just added the patch titled ia64/cpu: Switch to arch_cpu_finalize_init() to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: ia64-cpu-switch-to-arch_cpu_finalize_init.patch and it can be found in the queue-6.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 12775ad726a0660d3dbee8689c68ca031153e127 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Date: Tue, 1 Aug 2023 16:36:25 +0200 Subject: ia64/cpu: Switch to arch_cpu_finalize_init() From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> commit 6c38e3005621800263f117fb00d6787a76e16de7 upstream check_bugs() is about to be phased out. Switch over to the new arch_cpu_finalize_init() implementation. No functional change. Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Link: https://lore.kernel.org/r/20230613224545.137045745@xxxxxxxxxxxxx Signed-off-by: Daniel Sneddon <daniel.sneddon@xxxxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- arch/ia64/Kconfig | 1 + arch/ia64/include/asm/bugs.h | 20 -------------------- arch/ia64/kernel/setup.c | 3 +-- 3 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 arch/ia64/include/asm/bugs.h --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -9,6 +9,7 @@ menu "Processor type and features" config IA64 bool select ARCH_BINFMT_ELF_EXTRA_PHDRS + select ARCH_HAS_CPU_FINALIZE_INIT select ARCH_HAS_DMA_MARK_CLEAN select ARCH_HAS_STRNCPY_FROM_USER select ARCH_HAS_STRNLEN_USER --- a/arch/ia64/include/asm/bugs.h +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This is included by init/main.c to check for architecture-dependent bugs. - * - * Needs: - * void check_bugs(void); - * - * Based on <asm-alpha/bugs.h>. - * - * Modified 1998, 1999, 2003 - * David Mosberger-Tang <davidm@xxxxxxxxxx>, Hewlett-Packard Co. - */ -#ifndef _ASM_IA64_BUGS_H -#define _ASM_IA64_BUGS_H - -#include <asm/processor.h> - -extern void check_bugs (void); - -#endif /* _ASM_IA64_BUGS_H */ --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c @@ -1067,8 +1067,7 @@ cpu_init (void) } } -void __init -check_bugs (void) +void __init arch_cpu_finalize_init(void) { ia64_patch_mckinley_e9((unsigned long) __start___mckinley_e9_bundles, (unsigned long) __end___mckinley_e9_bundles); Patches currently in stable-queue which might be from tglx@xxxxxxxxxxxxx are queue-6.1/x86-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/arm-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/um-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/mips-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/x86-mem_encrypt-unbreak-the-amd_mem_encrypt-n-build.patch queue-6.1/init-x86-move-mem_encrypt_init-into-arch_cpu_finalize_init.patch queue-6.1/sh-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/init-invoke-arch_cpu_finalize_init-earlier.patch queue-6.1/x86-xen-fix-secondary-processors-fpu-initialization.patch queue-6.1/x86-fpu-move-fpu-initialization-into-arch_cpu_finalize_init.patch queue-6.1/loongarch-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/init-remove-check_bugs-leftovers.patch queue-6.1/init-provide-arch_cpu_finalize_init.patch queue-6.1/m68k-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/x86-init-initialize-signal-frame-size-late.patch queue-6.1/sparc-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/x86-fpu-mark-init-functions-__init.patch queue-6.1/ia64-cpu-switch-to-arch_cpu_finalize_init.patch queue-6.1/x86-fpu-remove-cpuinfo-argument-from-init-functions.patch