diff for duplicates of <4F3A1FB4.5010304@ti.com> diff --git a/a/1.txt b/N1/1.txt index 5245d38..fac00fe 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -79,3 +79,14 @@ index cfdbb86..72e018b 100644 if (index > 0) -- 1.7.4.1 + + + + +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: 0002-ARM-OMAP4-cpuidle-Fix-the-C-state-reporting-to-cpuid.patch +Type: text/x-patch +Size: 1620 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120214/ba57035c/attachment.bin> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index cd37d00..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,6 +0,0 @@ -Content-Type: text/x-patch; - name="0002-ARM-OMAP4-cpuidle-Fix-the-C-state-reporting-to-cpuid.patch" -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; - filename*0="0002-ARM-OMAP4-cpuidle-Fix-the-C-state-reporting-to-cpuid.pa"; - filename*1="tch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index f28c0b9..0000000 --- a/a/2.txt +++ /dev/null @@ -1,45 +0,0 @@ ->From 939dc3eda7895043c03526110e2a6b41e9861146 Mon Sep 17 00:00:00 2001 -From: Santosh Shilimkar <santosh.shilimkar@ti.com> -Date: Sun, 5 Feb 2012 13:18:44 +0530 -Subject: [PATCH 2/2] ARM: OMAP4: cpuidle: Fix the C-state reporting to cpuidle governor. - -OMAP4 cpuidle driver is reporting the state requested by governor rather than -the actually attempted one. - -This is obviously misleading sysfs and powertop cpuidle statistics. -Fix it so that stats are reported correctly. - -While at this, get rid of new_state_idx, update and use -index in to the states. - -Reported-by: Kevin Hilman <khilman@ti.com> -Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> ---- - arch/arm/mach-omap2/cpuidle44xx.c | 5 ++--- - 1 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c -index cfdbb86..72e018b 100644 ---- a/arch/arm/mach-omap2/cpuidle44xx.c -+++ b/arch/arm/mach-omap2/cpuidle44xx.c -@@ -65,7 +65,6 @@ static int omap4_enter_idle(struct cpuidle_device *dev, - struct timespec ts_preidle, ts_postidle, ts_idle; - u32 cpu1_state; - int idle_time; -- int new_state_idx; - int cpu_id = smp_processor_id(); - - /* Used to keep track of the total time in idle */ -@@ -84,8 +83,8 @@ static int omap4_enter_idle(struct cpuidle_device *dev, - */ - cpu1_state = pwrdm_read_pwrst(cpu1_pd); - if (cpu1_state != PWRDM_POWER_OFF) { -- new_state_idx = drv->safe_state_index; -- cx = cpuidle_get_statedata(&dev->states_usage[new_state_idx]); -+ index = drv->safe_state_index; -+ cx = cpuidle_get_statedata(&dev->states_usage[index]); - } - - if (index > 0) --- -1.7.4.1 diff --git a/a/content_digest b/N1/content_digest index adcbf5c..df7f198 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,12 +1,10 @@ "ref\01328521095-24025-1-git-send-email-santosh.shilimkar@ti.com\0" "ref\087haz2gtfw.fsf@ti.com\0" - "From\0Santosh Shilimkar <santosh.shilimkar@ti.com>\0" - "Subject\0Re: [PATCH] ARM: OMAP4: cpuidle: Fix the C-state reporting to cpuidle governor.\0" + "From\0santosh.shilimkar@ti.com (Santosh Shilimkar)\0" + "Subject\0[PATCH] ARM: OMAP4: cpuidle: Fix the C-state reporting to cpuidle governor.\0" "Date\0Tue, 14 Feb 2012 14:17:48 +0530\0" - "To\0Kevin Hilman <khilman@ti.com>\0" - "Cc\0linux-omap@vger.kernel.org" - " linux-arm-kernel@lists.infradead.org\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "On Wednesday 08 February 2012 04:08 AM, Kevin Hilman wrote:\n" "> Santosh Shilimkar <santosh.shilimkar@ti.com> writes:\n" @@ -88,54 +86,17 @@ "\n" " \tif (index > 0)\n" "-- \n" - 1.7.4.1 - "\01:2\0" - "fn\00002-ARM-OMAP4-cpuidle-Fix-the-C-state-reporting-to-cpuid.patch\0" - "b\0" - ">From 939dc3eda7895043c03526110e2a6b41e9861146 Mon Sep 17 00:00:00 2001\n" - "From: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "Date: Sun, 5 Feb 2012 13:18:44 +0530\n" - "Subject: [PATCH 2/2] ARM: OMAP4: cpuidle: Fix the C-state reporting to cpuidle governor.\n" + "1.7.4.1\n" "\n" - "OMAP4 cpuidle driver is reporting the state requested by governor rather than\n" - "the actually attempted one.\n" "\n" - "This is obviously misleading sysfs and powertop cpuidle statistics.\n" - "Fix it so that stats are reported correctly.\n" - "\n" - "While at this, get rid of new_state_idx, update and use\n" - "index in to the states.\n" "\n" - "Reported-by: Kevin Hilman <khilman@ti.com>\n" - "Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "---\n" - " arch/arm/mach-omap2/cpuidle44xx.c | 5 ++---\n" - " 1 files changed, 2 insertions(+), 3 deletions(-)\n" "\n" - "diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c\n" - "index cfdbb86..72e018b 100644\n" - "--- a/arch/arm/mach-omap2/cpuidle44xx.c\n" - "+++ b/arch/arm/mach-omap2/cpuidle44xx.c\n" - "@@ -65,7 +65,6 @@ static int omap4_enter_idle(struct cpuidle_device *dev,\n" - " \tstruct timespec ts_preidle, ts_postidle, ts_idle;\n" - " \tu32 cpu1_state;\n" - " \tint idle_time;\n" - "-\tint new_state_idx;\n" - " \tint cpu_id = smp_processor_id();\n" - " \n" - " \t/* Used to keep track of the total time in idle */\n" - "@@ -84,8 +83,8 @@ static int omap4_enter_idle(struct cpuidle_device *dev,\n" - " \t */\n" - " \tcpu1_state = pwrdm_read_pwrst(cpu1_pd);\n" - " \tif (cpu1_state != PWRDM_POWER_OFF) {\n" - "-\t\tnew_state_idx = drv->safe_state_index;\n" - "-\t\tcx = cpuidle_get_statedata(&dev->states_usage[new_state_idx]);\n" - "+\t\tindex = drv->safe_state_index;\n" - "+\t\tcx = cpuidle_get_statedata(&dev->states_usage[index]);\n" - " \t}\n" - " \n" - " \tif (index > 0)\n" - "-- \n" - 1.7.4.1 + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: 0002-ARM-OMAP4-cpuidle-Fix-the-C-state-reporting-to-cpuid.patch\n" + "Type: text/x-patch\n" + "Size: 1620 bytes\n" + "Desc: not available\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120214/ba57035c/attachment.bin> -40c77157fcc4ebcb14592476f058f98a0ef3d544d832c1c70429a850f6f584c7 +f4544aaa78a140f78affe1decacd51467d82423914c6572214ab43ef9829f638
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.