Skip to contentSkip to conversation

ARM: OMAP2+: PM: Denote the cpuidle tracepoints as _rcuidle()

PATCH Superseded Jisheng Zhang 3 participants 5 messages Sep 18, 2015 – Oct 12, 2015

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP2+: PM: Denote the cpuidle tracepoints as _rcuidle()

The cpuidle tracepoints are called within a rcu_idle_exit() section, and must be denoted with the _rcuidle() version of the tracepoint.

---
 arch/arm/mach-omap2/pm34xx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/pm34xx.c +2 -2
index 87b98bf9..2dbd378 100644
@@ -301,11 +301,11 @@ static void omap3_pm_idle(void)
 	if (omap_irq_pending())
 		return;
 
-	trace_cpu_idle(1, smp_processor_id());
+	trace_cpu_idle_rcuidle(1, smp_processor_id());
 
 	omap_sram_idle();
 
-	trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id());
+	trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id());
 }
 
 #ifdef CONFIG_SUSPEND
Signature · 1 line
2.5.1
#3 lore raw

Dear Tony,

Quoted 6 lines · On Wed, 23 Sep 2015 11:08:15 -0700 Tony Lindgren <[email protected]> wrote:
Quoted 5 lines · Kevin Hilman
Quoted 3 lines · Jisheng Zhang

The cpuidle tracepoints are called within a rcu_idle_exit() section, and must be denoted with the _rcuidle() version of the tracepoint.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Hmm is this needed as a fix for the -rc cycle or can this wait for v4.4?

IMHO, this is a fix. But it can wait for v4.4 merge window.

Thanks,
Jisheng

maintainer
#4 lore raw
Quoted 11 lines · Jisheng Zhang

Dear Tony,

Quoted 6 lines · On Wed, 23 Sep 2015 11:08:15 -0700 Tony Lindgren <[email protected]> wrote:
Quoted 5 lines · Kevin Hilman
Quoted 3 lines · Jisheng Zhang

The cpuidle tracepoints are called within a rcu_idle_exit() section, and must be denoted with the _rcuidle() version of the tracepoint.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Hmm is this needed as a fix for the -rc cycle or can this wait for v4.4?

IMHO, this is a fix. But it can wait for v4.4 merge window.

Applying into omap-for-v4.4/fixes thanks.

Tony