19 Jul 2012 15:26
[PATCHv7 00/12] ARM: OMAP4: core retention support
Tero Kristo <t-kristo <at> ti.com>
2012-07-19 13:26:20 GMT
2012-07-19 13:26:20 GMT
Hi,
Changes compared to previous version:
- ported on top of 3.5-rc7
- patch 3: added a few modules here not having context_offs
- patch 8: NEW:
* ROM code on EMU / HS devices seem to wipe the contents of
L4PER_PWRSTCTRL register, thus this patch adds an errata +
save and restore for this register, this was noticed while
testing cpu_idle on EMU device
- patch 9: NEW:
* sl2if hwmod is still blocking core retention on omap4, this
patch comments it out similarly to aess / usb_host_fs
- patch 10: NEW:
* adds support for lostcontext_mask, this is needed by l4_abe / aess
hwmods as they will share context register, but use different bits
within it
- patch 11: NEW:
* adds the hwmod data for sharing context register for l4_abe / aess
- patch 12: NEW:
* context lost counter logic update for modules that don't have
context register
Some of the NEW patches (10..12) are result of comments received on
l-o list, and can be merged with other patches in the set if they are seen
acceptable. Core retention works without these patches fine, but they
address some corner cases.
Tested with omap4460 GP panda + omap4430 EMU blaze, with both suspend +
(Continue reading)
Here's the updated patch.
- Paul
From: Rajendra Nayak <rnayak <at> ti.com>
Date: Wed, 12 Sep 2012 11:55:55 -0600
Subject: [PATCH] ARM: OMAP: hwmod: Add support for per hwmod/module context
lost count
OMAP4 has module specific context lost registers which makes it now
possible to have module level context loss count, instead of relying
on the powerdomain level context count.
Add 2 private hwmod api's to update/clear the hwmod/module specific
context lost counters/register.
Update the module specific context_lost_counter and clear the hardware
bits just after enabling the module.
RSS Feed