[PATCHv5 5/8] ARM: OMAP: hwmod: Add support for per hwmod/module context lost count
From: nm@ti.com (Menon, Nishanth)
Date: 2012-05-29 19:32:20
Also in:
linux-omap
From: nm@ti.com (Menon, Nishanth)
Date: 2012-05-29 19:32:20
Also in:
linux-omap
On Mon, May 14, 2012 at 5:03 AM, Tero Kristo [off-list ref] wrote: [...]
+/** ?* _enable - enable an omap_hwmod ?* @oh: struct omap_hwmod * ?*@@ -1599,6 +1629,8 @@ static int _enable(struct omap_hwmod *oh)? ? ? ?_enable_clocks(oh); ? ? ? ?_enable_module(oh); + ? ? ? _omap4_update_context_lost(oh); + ? ? ? ?r = _wait_target_ready(oh); ? ? ? ?if (!r) { ? ? ? ? ? ? ? ?/*
Dumb q: Since we monitor the count around _enable, how do we ensure that context loss counter is accurate around OFF and idle transitions for domains that could have been hwauto? it might be good to have limitations in the $commit_message if it is not targeted to do so. Regards, Nishanth Menon