mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-16 16:31:57 +00:00
Removed because it is upstream: bcm53xx/patches-5.15/030-v5.16-0019-ARM-dts-BCM53573-Describe-on-SoC-BCM53125-rev-4-swit.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb1003c07e746e4e82bdd3959c9ea37018ed41a3 Removed because it is upstream: bcm53xx/patches-5.15/037-v6.6-0004-ARM-dts-BCM53573-Drop-nonexistent-default-off-LED-tr.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c65a23e98e38dc991f495d6bdb3cfa6163a88a0c Removed because it is upstream: bcm53xx/patches-5.15/037-v6.6-0005-ARM-dts-BCM53573-Drop-nonexistent-usb-cells.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=71475bcee001cae3844644c2787eef93b26489d1 Adapted hack-5.15/650-netfilter-add-xt_FLOWOFFLOAD-target.patch to match the changes from the upstream flow offload patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7c71b831220edeab7ce603d818dc1708d9ea4137 Manually Adapted the following patch: bcm53xx/patches-5.15/035-v6.2-0004-ARM-dts-broadcom-align-LED-node-names-with-dtschema.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 4bf2a626dc4bb46f0754d8ac02ec8584ff114ad5 Mon Sep 17 00:00:00 2001
|
|
From: Aleksander Jan Bajkowski <olek2@wp.pl>
|
|
Date: Mon, 22 Jan 2024 19:47:09 +0100
|
|
Subject: [PATCH] MIPS: lantiq: register smp_ops on non-smp platforms
|
|
|
|
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@wp.pl>
|
|
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|
|
---
|
|
arch/mips/lantiq/prom.c | 7 +++----
|
|
1 file changed, 3 insertions(+), 4 deletions(-)
|
|
|
|
--- a/arch/mips/lantiq/prom.c
|
|
+++ b/arch/mips/lantiq/prom.c
|
|
@@ -117,10 +117,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
|
|
}
|