Re: [PATCH 4/5 v2] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-12-01 Thread TAO HU
Hi, Nishanth Menon One more question. Do we need to implement the same thing in bootloader? I.e. Do we need to disable L2 prior invalidating L2 for OMAP3630 1st boot up? On Tue, Nov 30, 2010 at 10:18 PM, Nishanth Menon n...@ti.com wrote: TAO HU had written, on 11/30/2010 12:03 AM, the

Re: [PATCH 4/5 v2] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-12-01 Thread Nishanth Menon
TAO HU had written, on 12/01/2010 02:56 AM, the following: Do we need to implement the same thing in bootloader? I.e. Do we need to disable L2 prior invalidating L2 for OMAP3630 1st boot up? Though out of context for this email list (linux kernel :)), I believe it wont hurt to do this as a

RE: [PATCH 4/5 v2] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-12-01 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Nishanth Menon Sent: Wednesday, December 01, 2010 8:09 PM To: TAO HU Cc: TAO HU; linux-omap; Jean; Tony; Kevin; Vishwa Subject: Re: [PATCH 4/5 v2] OMAP3630: PM: Disable

Re: [PATCH 4/5 v2] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-11-30 Thread Nishanth Menon
Varadarajan, Charulatha had written, on 11/30/2010 12:12 AM, the following: diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index bd426cc..e0ade5f 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -988,6 +988,9 @@ static void

Re: [PATCH 4/5 v2] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-11-30 Thread Nishanth Menon
TAO HU had written, on 11/30/2010 12:03 AM, the following: What would happen without this patch? L2 data corruption after back from OFF mode? I believe yes. -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: [PATCH 4/5 v2] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-11-29 Thread Varadarajan, Charulatha
Nishant, On Tue, Nov 30, 2010 at 01:49, Nishanth Menon n...@ti.com wrote: From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com This disables L2 cache before invalidating it and reenables it afterwards. This is be done according to ARM documentation. Currently this is identified as

Re: [PATCH 4/5 v2] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-11-29 Thread TAO HU
Hi, Nishanth Menon What would happen without this patch? L2 data corruption after back from OFF mode? -- Best Regards Hu Tao On Tue, Nov 30, 2010 at 4:19 AM, Nishanth Menon n...@ti.com wrote: From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com This disables L2 cache before