Patch "MIPS: lantiq: register smp_ops on non-smp platforms" has been added to the 6.6-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

    MIPS: lantiq: register smp_ops on non-smp platforms

to the 6.6-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:
     mips-lantiq-register-smp_ops-on-non-smp-platforms.patch
and it can be found in the queue-6.6 subdirectory.

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



commit b1faa66a4cf2ae9ad601df1f034d330d68a1340b
Author: Aleksander Jan Bajkowski <olek2@xxxxx>
Date:   Mon Jan 22 19:47:09 2024 +0100

    MIPS: lantiq: register smp_ops on non-smp platforms
    
    [ Upstream commit 4bf2a626dc4bb46f0754d8ac02ec8584ff114ad5 ]
    
    Lantiq uses a common kernel config for devices with 24Kc and 34Kc cores.
    The changes made previously to add support for interrupts on all cores
    work on 24Kc platforms with SMP disabled and 34Kc platforms with SMP
    enabled. This patch fixes boot issues on Danube (single core 24Kc) with
    SMP enabled.
    
    Fixes: 730320fd770d ("MIPS: lantiq: enable all hardware interrupts on second VPE")
    Signed-off-by: Aleksander Jan Bajkowski <olek2@xxxxx>
    Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
index a3cf29365858..0c45767eacf6 100644
--- a/arch/mips/lantiq/prom.c
+++ b/arch/mips/lantiq/prom.c
@@ -108,10 +108,9 @@ void __init prom_init(void)
 	prom_init_cmdline();
 
 #if defined(CONFIG_MIPS_MT_SMP)
-	if (cpu_has_mipsmt) {
-		lantiq_smp_ops = vsmp_smp_ops;
+	lantiq_smp_ops = vsmp_smp_ops;
+	if (cpu_has_mipsmt)
 		lantiq_smp_ops.init_secondary = lantiq_init_secondary;
-		register_smp_ops(&lantiq_smp_ops);
-	}
+	register_smp_ops(&lantiq_smp_ops);
 #endif
 }




[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