[PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-04-01 Thread Pramod Gurav
From: Teerth Reddy The patch has the changes to calculate the dpll3 clock stabilization delay dynamically. The SRAM delay is calibrated during bootup using the gptimers and used while calculating the stabilization delay. By using the dynamic method the dependency on the type of cache being used

Re: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-03-21 Thread ambresh
Sripathy, Vishwanath wrote: + /* calculate the sram delay */ + delay_sram = (((mpurate / gt_rate) * diff) / (loop * 2)); + + error_gain = mpurate / gt_rate; + delay_sram = delay_sram + error_gain; Cosmetic changes: error_gain = mpurate / gt_rate; de

RE: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-03-19 Thread Sripathy, Vishwanath
> -Original Message- > From: K, Ambresh > Sent: Thursday, March 18, 2010 12:46 PM > To: Gurav , Pramod > Cc: linux-omap@vger.kernel.org; Reddy, Teerth; Sripathy, Vishwanath > Subject: Re: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall > latency d

Re: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-03-18 Thread Kevin Hilman
Pramod Gurav writes: > From: Teerth Reddy > > The patch has the changes to calculate the dpll3 clock stabilization > delay dynamically. The SRAM delay is calibrated during bootup using the > gptimers and used while calculating the stabilization delay. By using > the dynamic method the dependency

Re: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-03-18 Thread Kevin Hilman
"G, Manjunath Kondaiah" writes: >> +#ifdef CONFIG_ARCH_OMAP3 >> +void (*_omap3_sram_delay)(unsigned int); >> +unsigned int measure_sram_delay(unsigned int loop) >> +{ >> +static struct omap_dm_timer *gpt; >> +unsigned long flags, diff = 0, gt_rate, mpurate; >> +unsigned int delay_sra

Re: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-03-18 Thread ambresh
Gurav , Pramod wrote: From: Teerth Reddy The patch has the changes to calculate the dpll3 clock stabilization delay dynamically. The SRAM delay is calibrated during bootup using the gptimers and used while calculating the stabilization delay. By using the dynamic method the dependency on the ty

RE: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-03-17 Thread G, Manjunath Kondaiah
> Subject: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of > SDRC stall latency during DVFS > > From: Teerth Reddy > > The patch has the changes to calculate the dpll3 clock stabilization > delay dynamically. The SRAM delay is calibrated during bootup > using the

[PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall latency during DVFS

2010-03-17 Thread Pramod Gurav
From: Teerth Reddy The patch has the changes to calculate the dpll3 clock stabilization delay dynamically. The SRAM delay is calibrated during bootup using the gptimers and used while calculating the stabilization delay. By using the dynamic method the dependency on the type of cache being used i