Patch "ARM: cpu: Switch to arch_cpu_finalize_init()" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ARM: cpu: Switch to arch_cpu_finalize_init()

to the 5.4-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:
     arm-cpu-switch-to-arch_cpu_finalize_init.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 980d7eb01638f535e9ab885449c0bbb4cec0fde6 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Wed, 14 Jun 2023 01:39:25 +0200
Subject: ARM: cpu: Switch to arch_cpu_finalize_init()

From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

commit ee31bb0524a2e7c99b03f50249a411cc1eaa411f 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.078124882@xxxxxxxxxxxxx
Signed-off-by: Daniel Sneddon <daniel.sneddon@xxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 arch/arm/Kconfig            |    1 +
 arch/arm/include/asm/bugs.h |    4 ----
 arch/arm/kernel/bugs.c      |    3 ++-
 3 files changed, 3 insertions(+), 5 deletions(-)

--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -5,6 +5,7 @@ config ARM
 	select ARCH_32BIT_OFF_T
 	select ARCH_CLOCKSOURCE_DATA
 	select ARCH_HAS_BINFMT_FLAT
+	select ARCH_HAS_CPU_FINALIZE_INIT if MMU
 	select ARCH_HAS_DEBUG_VIRTUAL if MMU
 	select ARCH_HAS_DEVMEM_IS_ALLOWED
 	select ARCH_HAS_DMA_COHERENT_TO_PFN if SWIOTLB
--- a/arch/arm/include/asm/bugs.h
+++ b/arch/arm/include/asm/bugs.h
@@ -1,7 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *  arch/arm/include/asm/bugs.h
- *
  *  Copyright (C) 1995-2003 Russell King
  */
 #ifndef __ASM_BUGS_H
@@ -10,10 +8,8 @@
 extern void check_writebuffer_bugs(void);
 
 #ifdef CONFIG_MMU
-extern void check_bugs(void);
 extern void check_other_bugs(void);
 #else
-#define check_bugs() do { } while (0)
 #define check_other_bugs() do { } while (0)
 #endif
 
--- a/arch/arm/kernel/bugs.c
+++ b/arch/arm/kernel/bugs.c
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 #include <linux/init.h>
+#include <linux/cpu.h>
 #include <asm/bugs.h>
 #include <asm/proc-fns.h>
 
@@ -11,7 +12,7 @@ void check_other_bugs(void)
 #endif
 }
 
-void __init check_bugs(void)
+void __init arch_cpu_finalize_init(void)
 {
 	check_writebuffer_bugs();
 	check_other_bugs();


Patches currently in stable-queue which might be from tglx@xxxxxxxxxxxxx are

queue-5.4/x86-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/arm-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/um-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/mips-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/init-x86-move-mem_encrypt_init-into-arch_cpu_finalize_init.patch
queue-5.4/sh-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/init-invoke-arch_cpu_finalize_init-earlier.patch
queue-5.4/x86-xen-fix-secondary-processors-fpu-initialization.patch
queue-5.4/x86-fpu-move-fpu-initialization-into-arch_cpu_finalize_init.patch
queue-5.4/init-remove-check_bugs-leftovers.patch
queue-5.4/init-provide-arch_cpu_finalize_init.patch
queue-5.4/m68k-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/sparc-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/x86-fpu-mark-init-functions-__init.patch
queue-5.4/ia64-cpu-switch-to-arch_cpu_finalize_init.patch
queue-5.4/x86-fpu-remove-cpuinfo-argument-from-init-functions.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux