[PATCHv7 10/12] ARM: OMAP4: HWMOD: add support for lostcontext_mask

Paul Walmsley paul at pwsan.com
Wed Sep 12 15:52:02 EDT 2012


On Thu, 19 Jul 2012, Tero Kristo wrote:

> Currently hwmod only provides the offset for the context lose register,
> and if we attempt to share the same register between two or more hwmods,
> the resulting context loss counts get wrong. Thus, we need a way to
> specify which bits are used for the context loss information for each.
> This is accomplished by adding a new field to the omap4 prcm struct,
> 'lostcontext_mask', which specifies a bit-mask to use for filtering
> the register. Only the specified bits are read and cleared by the
> context lose counter update code. If a hwmod doesn't specify
> 'lostcontext_mask' (default behavior), the whole contents of the
> context register are used without any filtering.
> 
> Signed-off-by: Tero Kristo <t-kristo at ti.com>

Thanks, queued for 3.7.


- Paul



More information about the linux-arm-kernel mailing list