summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti-staging-3.12/0001-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-3.12/0001-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch')
-rw-r--r--recipes-kernel/linux/linux-ti-staging-3.12/0001-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-3.12/0001-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch b/recipes-kernel/linux/linux-ti-staging-3.12/0001-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch
new file mode 100644
index 00000000..a389e5c6
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti-staging-3.12/0001-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch
@@ -0,0 +1,45 @@
1From bd9c0b09db8798815cb577f82beebf7e6c03edcd 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] 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 ff579a7..25217e3 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_CMA=y
41 CONFIG_PREEMPT_VOLUNTARY=y
42 CONFIG_LEDS=y
43--
441.8.3.2
45