* [PATCH] ARM: tegra20: cpuidle: remove unnecessary "resettable" status clear
@ 2015-01-15 12:49 ` Dmitry Osipenko
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Osipenko @ 2015-01-15 12:49 UTC (permalink / raw)
To: digetx-Re5JQEeQqe8AvxtiuMwx3w, Stephen Warren, Thierry Reding,
Alexandre Courbot
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
CPU1 "resettable" status is already cleared by final suspend function in case
of suspend abortion and by reset handler in case of completed CPU powergate,
no point to do it again.
Signed-off-by: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
arch/arm/mach-tegra/cpuidle-tegra20.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c
index b30bf5c..ad6158e 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra20.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra20.c
@@ -158,8 +158,6 @@ static bool tegra20_idle_enter_lp2_cpu_1(struct cpuidle_device *dev,
cpu_suspend(0, tegra20_sleep_cpu_secondary_finish);
- tegra20_cpu_clear_resettable();
-
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu);
return true;
--
2.2.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: tegra20: cpuidle: remove unnecessary "resettable" status clear
@ 2015-01-15 12:49 ` Dmitry Osipenko
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Osipenko @ 2015-01-15 12:49 UTC (permalink / raw)
To: digetx, Stephen Warren, Thierry Reding, Alexandre Courbot
Cc: linux-tegra, linux-kernel
CPU1 "resettable" status is already cleared by final suspend function in case
of suspend abortion and by reset handler in case of completed CPU powergate,
no point to do it again.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
arch/arm/mach-tegra/cpuidle-tegra20.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c
index b30bf5c..ad6158e 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra20.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra20.c
@@ -158,8 +158,6 @@ static bool tegra20_idle_enter_lp2_cpu_1(struct cpuidle_device *dev,
cpu_suspend(0, tegra20_sleep_cpu_secondary_finish);
- tegra20_cpu_clear_resettable();
-
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu);
return true;
--
2.2.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: tegra20: cpuidle: remove unnecessary "resettable" status clear
2015-01-15 12:49 ` Dmitry Osipenko
(?)
@ 2015-01-15 13:23 ` Dmitry Osipenko
-1 siblings, 0 replies; 3+ messages in thread
From: Dmitry Osipenko @ 2015-01-15 13:23 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding, Alexandre Courbot
Cc: linux-tegra, linux-kernel
15.01.2015 15:49, Dmitry Osipenko пишет:
> CPU1 "resettable" status is already cleared by final suspend function in case
> of suspend abortion and by reset handler in case of completed CPU powergate,
> no point to do it again.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
> arch/arm/mach-tegra/cpuidle-tegra20.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c
> index b30bf5c..ad6158e 100644
> --- a/arch/arm/mach-tegra/cpuidle-tegra20.c
> +++ b/arch/arm/mach-tegra/cpuidle-tegra20.c
> @@ -158,8 +158,6 @@ static bool tegra20_idle_enter_lp2_cpu_1(struct cpuidle_device *dev,
>
> cpu_suspend(0, tegra20_sleep_cpu_secondary_finish);
>
> - tegra20_cpu_clear_resettable();
> -
> clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu);
>
> return true;
>
Completely forgot to remove it also from 'sleep.h' and 'sleep-tegra20.S'. Please
ignore this patch, I'll include it in ASM -> C conversion series.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-15 13:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 12:49 [PATCH] ARM: tegra20: cpuidle: remove unnecessary "resettable" status clear Dmitry Osipenko
2015-01-15 12:49 ` Dmitry Osipenko
2015-01-15 13:23 ` Dmitry Osipenko
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.