forked from freifunk-gluon/gluon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lantiq/xway: kernel enable SMP patch
- Loading branch information
1 parent
266fc8d
commit 4c6e6d9
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
patches/openwrt/0011-lantiq-xway-kernel-enable-SMP-support.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
From: Richard Fröhning <misanthropos@gmx.de> | ||
Date: Thu, 11 Jul 2024 18:30:59 +0200 | ||
Subject: lantiq/xway: kernel enable SMP support | ||
|
||
diff --git a/target/linux/lantiq/xway/config-5.15 b/target/linux/lantiq/xway/config-5.15 | ||
index 249af20bf6f4f214df90d4b9041ac07c6bf33e52..5a6f15dafdc6a5251f33cdb29e4e1ebf60e8be64 100644 | ||
--- a/target/linux/lantiq/xway/config-5.15 | ||
+++ b/target/linux/lantiq/xway/config-5.15 | ||
@@ -4,6 +4,9 @@ CONFIG_ARCH_KEEP_MEMBLOCK=y | ||
CONFIG_AT803X_PHY=y | ||
CONFIG_BLK_MQ_PCI=y | ||
CONFIG_CPU_HAS_DIEI=y | ||
+CONFIG_CPU_MIPSR2_IRQ_EI=y | ||
+CONFIG_CPU_MIPSR2_IRQ_VI=y | ||
+CONFIG_CPU_RMAP=y | ||
CONFIG_CRC16=y | ||
CONFIG_CRYPTO_DEFLATE=y | ||
CONFIG_CRYPTO_HASH_INFO=y | ||
@@ -22,6 +25,11 @@ CONFIG_LANTIQ_ETOP=y | ||
CONFIG_LZO_COMPRESS=y | ||
CONFIG_LZO_DECOMPRESS=y | ||
CONFIG_MIPS_EBPF_JIT=y | ||
+CONFIG_MIPS_MT=y | ||
+CONFIG_MIPS_MT_FPAFF=y | ||
+CONFIG_MIPS_MT_SMP=y | ||
+CONFIG_MIPS_NR_CPU_NR_MAP=2 | ||
+CONFIG_MIPS_PERF_SHARED_TC_COUNTERS=y | ||
CONFIG_MTD_NAND_CORE=y | ||
CONFIG_MTD_NAND_ECC=y | ||
CONFIG_MTD_NAND_ECC_SW_HAMMING=y | ||
@@ -31,26 +39,44 @@ CONFIG_MTD_UBI=y | ||
CONFIG_MTD_UBI_BEB_LIMIT=20 | ||
CONFIG_MTD_UBI_BLOCK=y | ||
CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
+CONFIG_NET_FLOW_LIMIT=y | ||
CONFIG_NET_SELFTESTS=y | ||
CONFIG_NLS=y | ||
+CONFIG_NR_CPUS=2 | ||
+CONFIG_PADATA=y | ||
CONFIG_PCI=y | ||
CONFIG_PCI_DOMAINS=y | ||
CONFIG_PCI_LANTIQ=y | ||
CONFIG_PSB6970_PHY=y | ||
CONFIG_PTP_1588_CLOCK_OPTIONAL=y | ||
+CONFIG_QUEUED_RWLOCKS=y | ||
+CONFIG_QUEUED_SPINLOCKS=y | ||
CONFIG_REGULATOR=y | ||
CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
+CONFIG_RFS_ACCEL=y | ||
+CONFIG_RPS=y | ||
CONFIG_RTL8306_PHY=y | ||
CONFIG_RTL8366RB_PHY=y | ||
CONFIG_RTL8366_SMI=y | ||
+# CONFIG_SCHED_CORE is not set | ||
+CONFIG_SCHED_SMT=y | ||
CONFIG_SGL_ALLOC=y | ||
+CONFIG_SMP=y | ||
+CONFIG_SMP_UP=y | ||
+CONFIG_SOCK_RX_QUEUE_MAPPING=y | ||
CONFIG_SOC_TYPE_XWAY=y | ||
CONFIG_SOC_XWAY=y | ||
CONFIG_SWCONFIG=y | ||
+CONFIG_SYNC_R4K=y | ||
+CONFIG_SYS_SUPPORTS_SCHED_SMT=y | ||
+CONFIG_SYS_SUPPORTS_SMP=y | ||
+CONFIG_TREE_RCU=y | ||
+CONFIG_TREE_SRCU=y | ||
CONFIG_UBIFS_FS=y | ||
CONFIG_USB=y | ||
CONFIG_USB_COMMON=y | ||
CONFIG_USB_SUPPORT=y | ||
+CONFIG_XPS=y | ||
CONFIG_XXHASH=y | ||
CONFIG_ZLIB_DEFLATE=y | ||
CONFIG_ZLIB_INFLATE=y |