Thread (36 messages) flat view 36 messages, 4 authors, 2010-12-20
DORMANTno replies

Revision v4 of 7 in this series.

Revisions (7)
  1. v4 [diff vs current]
  2. v4 [diff vs current]
  3. v4 [diff vs current]
  4. v4 [diff vs current]
  5. v4 [diff vs current]
  6. v4 current
  7. v5 [diff vs current]

Re: [PATCH v4 4/7] OMAP3630: PM: Erratum i608: disable RTA

From: Nishanth Menon <nm@ti.com>
Date: 2010-12-20 14:45:31
Also in: linux-arm-kernel

Jean Pihet had written, on 12/20/2010 04:27 AM, the following:
[..]
quoted
Workaround is to disable RTA on boot and coming out of core off.
For disabling rta coming out of off mode, we do this by overriding the
Use caps for RTA
Thanks. done.
quoted
restore pointer for 3630 to allow us restore handler as the first point of
This is not clear, maybe 'to allow us to restore handler' needs to be removed.
Thanks. done.
quoted
entry before caches are touched and is common for GP and HS devices.
to disable earlier than this could be possible by modifying the ppa for HS
Same here, it looks like the original sentence has been cut in pieces.
Use caps for PPA.
Thanks. done.
[..]
quoted
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 5702f41..b32a2ed 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
[..]
quoted
@@ -1067,6 +1069,14 @@ static int __init omap3_pm_init(void)
       pm_idle = omap3_pm_idle;
       omap3_idle_init();

+       /*
+        * RTA is disabled during initialization as per erratum i608
+        * it is safer to disable rta by the bootloader, but we would like
Use caps for RTA
thanks. Done.
quoted
diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S
index 3fbd1e5..cc3507b 100644
--- a/arch/arm/mach-omap2/sleep34xx.S
+++ b/arch/arm/mach-omap2/sleep34xx.S
[..]
quoted
+restore_3630:
+       /*b restore_es3630*/            @ Enable to debug restore code
+       ldr     r1, pm_prepwstst_core_p
+       ldr     r2, [r1]
+       and     r2, r2, #0x3
+       cmp     r2, #0x0        @ Check if previous power state of CORE is OFF
+       bne     restore
+       /* Disable rta before giving control */
Use caps for RTA
Thanks. Done.
[..]


-- 
Regards,
Nishanth Menon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help