[meta-ti] Denys Dmytriyenko : linux-ti-staging: ARM_SCU patch got merged, add PREEMPT_VOLUNTARY patch, reshuffle
Arago Project git
git at arago-project.org
Mon Feb 24 18:08:53 PST 2014
Module: meta-ti
Branch: dylan
Commit: 726a67e38f1e58ddf5b41cd3c169dc0d59596ddd
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=726a67e38f1e58ddf5b41cd3c169dc0d59596ddd
Author: Denys Dmytriyenko <denys at ti.com>
Date: Mon Feb 24 18:52:55 2014 -0500
linux-ti-staging: ARM_SCU patch got merged, add PREEMPT_VOLUNTARY patch, reshuffle
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
...02-ARM-config-Add-HAVE_ARM_SCU-for-AM43XX.patch | 37 --------------------
...onfig-omap-Change-PREEMPTion-to-voluntary.patch | 33 +++++++++++++++++
...e-ARM-config-omap-Disable-SMP-for-AM335x.patch} | 16 +++++----
recipes-kernel/linux/linux-ti-staging_3.12.bb | 10 +++---
4 files changed, 47 insertions(+), 49 deletions(-)
diff --git a/recipes-kernel/linux/linux-ti-staging/0002-ARM-config-Add-HAVE_ARM_SCU-for-AM43XX.patch b/recipes-kernel/linux/linux-ti-staging/0002-ARM-config-Add-HAVE_ARM_SCU-for-AM43XX.patch
deleted file mode 100644
index 8137bb3..0000000
--- a/recipes-kernel/linux/linux-ti-staging/0002-ARM-config-Add-HAVE_ARM_SCU-for-AM43XX.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 5b2aa64ccdeef659a9688730753199ba5b8e60b1 Mon Sep 17 00:00:00 2001
-From: Dave Gerlach <d-gerlach at ti.com>
-Date: Fri, 21 Feb 2014 10:25:33 +0000
-Subject: [PATCH 2/4] ARM: config: Add HAVE_ARM_SCU for AM43XX
-
-CONFIG_HAVE_ARM_SCU only gets selected if CONFIG_SMP is selected in an OMAP
-system however AM43XX needs this option regardless of CONFIG_SMP as it is
-important for controlling power in the SoC. Without this suspend will
-not work as scu_power_mode becomes an empty function.
-
-AM43XX requires SCU CPU Power Status bits for A9 core to be set to off mode
-in order for the MSTANDBY signal to be asserted from the MPU during WFI.
-This signal is used by the PRCM to determine when it is appropriate to
-clock gate the MPU clock domain and also trigger M3_IRQ2 to tell the wkup_m3
-firmware to put the part into the desired sleep more.
-
-Signed-off-by: Dave Gerlach <d-gerlach at ti.com>
-Tested-by: Sekhar Nori <nsekhar at ti.com>
----
- arch/arm/mach-omap2/Kconfig | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
-index 959f6fc..373d576 100644
---- a/arch/arm/mach-omap2/Kconfig
-+++ b/arch/arm/mach-omap2/Kconfig
-@@ -85,6 +85,7 @@ config SOC_AM43XX
- depends on ARCH_MULTI_V7
- select CPU_V7
- select ARCH_OMAP2PLUS
-+ select HAVE_ARM_SCU
- select MULTI_IRQ_HANDLER
- select ARM_GIC
- select COMMON_CLK
---
-1.7.0.4
-
diff --git a/recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch b/recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch
new file mode 100644
index 0000000..469a0c7
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch
@@ -0,0 +1,33 @@
+From 54821ed9f986a0023bbc3fa08060e1f2c8efb6b5 Mon Sep 17 00:00:00 2001
+From: Chase Maupin <Chase.Maupin at ti.com>
+Date: Mon, 24 Feb 2014 13:16:20 -0600
+Subject: [PATCH 1/2] ARM: config: omap: Change PREEMPTion to voluntary
+
+* Change the default PREEMPT mode to voluntary which reduces the
+ overhead and increases performance for many use cases such as
+ UDP networking and cryptography.
+* Based on recommendations from Joel Fernandes <joelf at ti.com>
+
+Signed-off-by: Joel Fernandes <joelf at ti.com>
+Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
+Signed-off-by: Denys Dmytriyenko <denys at ti.com>
+---
+ arch/arm/configs/omap2plus_defconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
+index 3975b08..a34b45a 100644
+--- a/arch/arm/configs/omap2plus_defconfig
++++ b/arch/arm/configs/omap2plus_defconfig
+@@ -38,7 +38,7 @@ CONFIG_ARM_ERRATA_411920=y
+ CONFIG_PCIE_DRA7XX=y
+ CONFIG_SMP=y
+ CONFIG_NR_CPUS=2
+-CONFIG_PREEMPT=y
++CONFIG_PREEMPT_VOLUNTARY=y
+ CONFIG_CMA=y
+ CONFIG_ZBOOT_ROM_TEXT=0x0
+ CONFIG_ZBOOT_ROM_BSS=0x0
+--
+1.8.3.2
+
diff --git a/recipes-kernel/linux/linux-ti-staging/0004-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
similarity index 78%
rename from recipes-kernel/linux/linux-ti-staging/0004-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch
rename to recipes-kernel/linux/linux-ti-staging/0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch
index b01c4d0..8e016b4 100644
--- a/recipes-kernel/linux/linux-ti-staging/0004-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
@@ -1,7 +1,8 @@
-From 89783143b64210e8f159fd875b23aa9af1fd51b0 Mon Sep 17 00:00:00 2001
+From 2f6cbe000b1d31c91eee0248f24b0c306aadeb63 Mon Sep 17 00:00:00 2001
From: Santosh Shilimkar <santosh.shilimkar at ti.com>
Date: Thu, 13 Feb 2014 08:52:41 -0500
-Subject: [PATCH 4/4] Not-for-merge: ARM: config: omap: Disable SMP for AM335x build
+Subject: [PATCH 2/2] Not-for-merge: ARM: config: omap: Disable SMP for AM335x
+ build
SMP and SMP_ON_UP introduces some extra barriers and code many fast paths
including kernel lock functions.
@@ -21,12 +22,13 @@ Disabling SMP in the build introduces one warining in cpuidle44xx.c driver
and fix is included in the series
Signed-off-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
+Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
- arch/arm/configs/omap2plus_defconfig | 2 --
- 1 files changed, 0 insertions(+), 2 deletions(-)
+ arch/arm/configs/omap2plus_defconfig | 2 --
+ 1 file changed, 2 deletions(-)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
-index 3975b08..cfbc2d0 100644
+index a34b45a..bb6beb2 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -36,8 +36,6 @@ CONFIG_OMAP4_ERRATA_I688=y
@@ -35,9 +37,9 @@ index 3975b08..cfbc2d0 100644
CONFIG_PCIE_DRA7XX=y
-CONFIG_SMP=y
-CONFIG_NR_CPUS=2
- CONFIG_PREEMPT=y
+ CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_CMA=y
CONFIG_ZBOOT_ROM_TEXT=0x0
--
-1.7.0.4
+1.8.3.2
diff --git a/recipes-kernel/linux/linux-ti-staging_3.12.bb b/recipes-kernel/linux/linux-ti-staging_3.12.bb
index 32cc5c5..9f39a72 100644
--- a/recipes-kernel/linux/linux-ti-staging_3.12.bb
+++ b/recipes-kernel/linux/linux-ti-staging_3.12.bb
@@ -36,11 +36,11 @@ S = "${WORKDIR}/git"
BRANCH = "ti-linux-3.12.y"
-SRCREV = "d5e4bfd196e114c885c5c42cf0a7b3edc7e54829"
+SRCREV = "c559824b17bfc194cc072dac0720ac8e23373871"
PV = "3.12.10"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "h+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "i+gitr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
@@ -49,9 +49,9 @@ SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;bra
# Latest critical fixes
SRC_URI += "file://0001-Revert-usb-musb-musb_cppi41-Revert-the-Advisory-1.0..patch \
- file://0002-ARM-config-Add-HAVE_ARM_SCU-for-AM43XX.patch \
file://0003-ARM-OMAP-Kill-warning-in-CPUIDLE-code-with-CONFIG_SM.patch \
+ file://0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch \
"
-SRC_URI_append_ti33x = "file://0004-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch"
-SRC_URI_append_ti43x = "file://0004-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch"
+SRC_URI_append_ti33x = "file://0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch"
+SRC_URI_append_ti43x = "file://0005-Not-for-merge-ARM-config-omap-Disable-SMP-for-AM335x.patch"
More information about the meta-ti
mailing list