diff options
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.patch | 45 |
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 @@ | |||
1 | From bd9c0b09db8798815cb577f82beebf7e6c03edcd Mon Sep 17 00:00:00 2001 | ||
2 | From: Santosh Shilimkar <santosh.shilimkar@ti.com> | ||
3 | Date: Thu, 13 Feb 2014 08:52:41 -0500 | ||
4 | Subject: [PATCH] Not-for-merge: ARM: config: omap: Disable SMP for AM335x | ||
5 | build | ||
6 | |||
7 | SMP and SMP_ON_UP introduces some extra barriers and code many fast paths | ||
8 | including kernel lock functions. | ||
9 | |||
10 | Performance sensitive usecases like networking gets impacted because of this. | ||
11 | In typical production kernel which is targeted for single core device | ||
12 | like AM335x family, you don't want to take this hit. | ||
13 | |||
14 | Ideally one should just create a device specific config feed as done by all | ||
15 | typical distro's. Other option is to apply this specifically during build | ||
16 | time using recipe. | ||
17 | |||
18 | Whichever option, one definitely don't want this overhead for performance | ||
19 | critical usecases. | ||
20 | |||
21 | Disabling SMP in the build introduces one warining in cpuidle44xx.c driver | ||
22 | and fix is included in the series | ||
23 | |||
24 | Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> | ||
25 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
26 | --- | ||
27 | arch/arm/configs/omap2plus_defconfig | 2 -- | ||
28 | 1 file changed, 2 deletions(-) | ||
29 | |||
30 | diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig | ||
31 | index 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 | -- | ||
44 | 1.8.3.2 | ||
45 | |||