[PATCHv5 5/8] ARM: OMAP: hwmod: Add support for per hwmod/module context lost count
Tero Kristo
t-kristo at ti.com
Wed May 30 04:02:24 EDT 2012
On Tue, 2012-05-29 at 14:32 -0500, Menon, Nishanth wrote:
> On Mon, May 14, 2012 at 5:03 AM, Tero Kristo <t-kristo at ti.com> 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.
True, I can add a comment to the commit msg about this.
-Tero
More information about the linux-arm-kernel
mailing list