Skip to contentSkip to conversation

OMAP4460: cpuidle: Workaround for ROM bug because of CA9 r2pX GIC control register change

PATCH In review Grygorii Strashko 1 participant 2 messages Oct 17, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

cover OMAP4460: cpuidle: Workaround for ROM bug because of CA9 r2pX GIC control register change

The same workaround as ff999b8a0983ee15668394ed49e38d3568fc6859
"ARM: OMAP4460: Workaround for ROM bug because of CA9 r2pX GIC control register change." need to be applied not only when system is booting, but when
MPU hits OSWR state through CPUIdle too.

Now the same issue is reproduced on boards PandaES and Tablet/Blaze with SOM OMAP4460 ES1.0 when CONFIG_CPU_IDLE is enabled.
- GIC distributor is disabled
- scheduling is not performed any more

Grygorii Strashko (2):
Revert "ARM: OMAP4+: CPUidle: Deprecate use of omap4_mpuss_read_prev_context_state()"
ARM: OMAP4460: cpuidle: WA for ROM bug because of CA9 r2pX gic control register change

 arch/arm/mach-omap2/common.h              |    6 +++++
 arch/arm/mach-omap2/cpuidle44xx.c         |   35 +++++++++++++++++++++++++++--
 arch/arm/mach-omap2/omap-mpuss-lowpower.c |   14 ++++++++++++
 arch/arm/mach-omap2/omap4-common.c        |    6 +++++
 4 files changed, 59 insertions(+), 2 deletions(-)
Cc Santosh Shilimkar <[email protected]>
Cc Kevin Hilman <[email protected]>

Regards,
-grygorii

Signature · 1 line
1.7.9.5
#2 lore raw

Sorry, forgot to mention that patches are based on 4a10c2a Linux 3.12-rc2

Quoted 26 lines · Grygorii Strashko

The same workaround as ff999b8a0983ee15668394ed49e38d3568fc6859
"ARM: OMAP4460: Workaround for ROM bug because of CA9 r2pX GIC control register change." need to be applied not only when system is booting, but when
MPU hits OSWR state through CPUIdle too.

Now the same issue is reproduced on boards PandaES and Tablet/Blaze with SOM OMAP4460 ES1.0 when CONFIG_CPU_IDLE is enabled.
- GIC distributor is disabled
- scheduling is not performed any more

Grygorii Strashko (2):
Revert "ARM: OMAP4+: CPUidle: Deprecate use of omap4_mpuss_read_prev_context_state()"
ARM: OMAP4460: cpuidle: WA for ROM bug because of CA9 r2pX gic control register change

  arch/arm/mach-omap2/common.h              |    6 +++++
  arch/arm/mach-omap2/cpuidle44xx.c         |   35 +++++++++++++++++++++++++++--
  arch/arm/mach-omap2/omap-mpuss-lowpower.c |   14 ++++++++++++
  arch/arm/mach-omap2/omap4-common.c        |    6 +++++
  4 files changed, 59 insertions(+), 2 deletions(-)
Cc Santosh Shilimkar <[email protected]>
Cc Kevin Hilman <[email protected]>

Regards,
-grygorii