summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch')
-rw-r--r--recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch b/recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch
new file mode 100644
index 00000000..8e016b4b
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch
@@ -0,0 +1,45 @@
1From 2f6cbe000b1d31c91eee0248f24b0c306aadeb63 Mon Sep 17 00:00:00 2001
2From: Santosh Shilimkar <santosh.shilimkar@ti.com>
3Date: Thu, 13 Feb 2014 08:52:41 -0500
4Subject: [PATCH 2/2] Not-for-merge: ARM: config: omap: Disable SMP for AM335x
5 build
6
7SMP and SMP_ON_UP introduces some extra barriers and code many fast paths
8including kernel lock functions.
9
10Performance sensitive usecases like networking gets impacted because of this.
11In typical production kernel which is targeted for single core device
12like AM335x family, you don't want to take this hit.
13
14Ideally one should just create a device specific config feed as done by all
15typical distro's. Other option is to apply this specifically during build
16time using recipe.
17
18Whichever option, one definitely don't want this overhead for performance
19critical usecases.
20
21Disabling SMP in the build introduces one warining in cpuidle44xx.c driver
22and fix is included in the series
23
24Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
25Signed-off-by: Denys Dmytriyenko <denys@ti.com>
26---
27 arch/arm/configs/omap2plus_defconfig | 2 --
28 1 file changed, 2 deletions(-)
29
30diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
31index a34b45a..bb6beb2 100644
32--- a/arch/arm/configs/omap2plus_defconfig
33+++ b/arch/arm/configs/omap2plus_defconfig
34@@ -36,8 +36,6 @@ CONFIG_OMAP4_ERRATA_I688=y
35 CONFIG_ARM_THUMBEE=y
36 CONFIG_ARM_ERRATA_411920=y
37 CONFIG_PCIE_DRA7XX=y
38-CONFIG_SMP=y
39-CONFIG_NR_CPUS=2
40 CONFIG_PREEMPT_VOLUNTARY=y
41 CONFIG_CMA=y
42 CONFIG_ZBOOT_ROM_TEXT=0x0
43--
441.8.3.2
45