[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1421319545-23920-1-git-send-email-digetx@gmail.com>
Date: Thu, 15 Jan 2015 13:58:56 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: digetx@...il.com, Stephen Warren <swarren@...dotorg.org>,
Thierry Reding <thierry.reding@...il.com>,
Alexandre Courbot <gnurou@...il.com>,
Peter De Schrijver <pdeschrijver@...dia.com>
Cc: linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Two variants of fixing Tegra20 suspend bug
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists