diff options
author | Denys Dmytriyenko <denys@ti.com> | 2014-02-24 18:52:55 -0500 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2014-02-24 20:53:21 -0500 |
commit | 726a67e38f1e58ddf5b41cd3c169dc0d59596ddd (patch) | |
tree | 000ca3d848af8f1d7d8d62d31555b05dc44c165b /recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch | |
parent | b5216d7f9c8b2153f5878c0f1320a32f77e733e5 (diff) | |
download | meta-ti-726a67e38f1e58ddf5b41cd3c169dc0d59596ddd.tar.gz |
linux-ti-staging: ARM_SCU patch got merged, add PREEMPT_VOLUNTARY patch, reshuffle
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
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.patch | 45 |
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 @@ | |||
1 | From 2f6cbe000b1d31c91eee0248f24b0c306aadeb63 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 2/2] 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 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 | -- | ||
44 | 1.8.3.2 | ||
45 | |||