All of lore.kernel.org
 help / color / mirror / Atom feed
* Two variants of fixing Tegra20 suspend bug
@ 2015-01-15 10:58 Dmitry Osipenko
  2015-01-15 10:58 ` [PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM Dmitry Osipenko
  2015-01-15 10:58 ` [PATCH] ARM: tegra: Store tegra_resume() address " Dmitry Osipenko
  0 siblings, 2 replies; 21+ messages in thread
From: Dmitry Osipenko @ 2015-01-15 10:58 UTC (permalink / raw)
  To: digetx, Stephen Warren, Thierry Reding, Alexandre Courbot,
	Peter De Schrijver
  Cc: linux-tegra, linux-kernel, stable

Hi, this is third attempt to fix Tegra20 suspend bug. First was to use other
PMC scratch register for tegra_resume() address store and second to use syscore
ops for PMC driver.

Thierry Reding proposed other solution: to use IRAM instead of PMC scratch
register. I prepared two implementation variants:

        1) Store CPU "resettable" status in IRAM
        2) Store tegra_resume() address in IRAM

Both variants use reset handler IRAM area for placing tegra_resume() address,
since it is reserved and guarantees avoidance of any further possible memory
conflicts.

As for me, second variant is cleaner. It removes suspend PM from PMC driver,
which can be re-added later if needed.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-03-11 13:28 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-15 10:58 Two variants of fixing Tegra20 suspend bug Dmitry Osipenko
2015-01-15 10:58 ` [PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM Dmitry Osipenko
     [not found]   ` <1421319545-23920-2-git-send-email-digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-19 14:12     ` Thierry Reding
2015-01-19 14:12       ` Thierry Reding
     [not found]       ` <20150119141224.GF23778-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-01-19 15:14         ` Dmitry Osipenko
2015-01-19 15:14           ` Dmitry Osipenko
2015-01-19 17:26         ` Stephen Warren
2015-01-19 17:26           ` Stephen Warren
2015-01-19 17:41           ` Dmitry Osipenko
2015-01-19 17:45             ` Stephen Warren
2015-01-19 18:00               ` Dmitry Osipenko
     [not found]                 ` <54BD4626.70902-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-19 18:26                   ` Dmitry Osipenko
2015-01-19 18:26                     ` Dmitry Osipenko
2015-01-20 16:55                     ` Dmitry Osipenko
2015-01-20  1:59         ` Alexandre Courbot
2015-01-20  1:59           ` Alexandre Courbot
2015-03-11 10:29     ` Thierry Reding
2015-03-11 10:29       ` Thierry Reding
2015-03-11 13:28       ` Dmitry Osipenko
2015-01-15 10:58 ` [PATCH] ARM: tegra: Store tegra_resume() address " Dmitry Osipenko
2015-01-19 14:01   ` Thierry Reding

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.