Re: [PATCH v2] power: introduce library for device-specific OPPs

2010-09-17 Thread Nishanth Menon
Menon, Nishanth had written, on 09/18/2010 12:42 AM, the following: Greg KH had written, on 09/18/2010 12:38 AM, the following: On Sat, Sep 18, 2010 at 12:24:19AM -0500, Nishanth Menon wrote: This is hence introduced under lib allowing all architectures to selectively enable the feature based o

Re: [PATCH v2] power: introduce library for device-specific OPPs

2010-09-17 Thread Nishanth Menon
Greg KH had written, on 09/18/2010 12:38 AM, the following: On Sat, Sep 18, 2010 at 12:24:19AM -0500, Nishanth Menon wrote: This is hence introduced under lib allowing all architectures to selectively enable the feature based on their capabilities. Documentation/power/00-INDEX |2 + Do

Re: [PATCH v2] power: introduce library for device-specific OPPs

2010-09-17 Thread Greg KH
On Sat, Sep 18, 2010 at 12:24:19AM -0500, Nishanth Menon wrote: > This is hence introduced under lib allowing all architectures to > selectively enable the feature based on their capabilities. > Documentation/power/00-INDEX |2 + > Documentation/power/opp.txt | 326 +++

[PATCH v2] power: introduce library for device-specific OPPs

2010-09-17 Thread Nishanth Menon
SOCs have a standard set of tuples consisting of frequency and voltage pairs that the device will support per voltage domain. These are called Operating Performance Points or OPPs. The actual definitions of Operating Performance Points varies over silicon within the same family of devices. For a s

RE: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread G, Manjunath Kondaiah
> -Original Message- > From: Kevin Hilman [mailto:khil...@deeprootsystems.com] > Sent: Friday, September 17, 2010 9:02 PM > To: Cousson, Benoit > Cc: G, Manjunath Kondaiah; linux-omap@vger.kernel.org; > Shilimkar, Santosh > Subject: Re: [PATCH v2 09/11] OMAP: DMA: Implement generic > e

RE: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread G, Manjunath Kondaiah
> -Original Message- > From: Cousson, Benoit > Sent: Friday, September 17, 2010 9:15 PM > To: G, Manjunath Kondaiah > Cc: linux-omap@vger.kernel.org; Kevin Hilman; Shilimkar, Santosh > Subject: Re: [PATCH v2 09/11] OMAP: DMA: Implement generic > errata handling > > On 8/24/2010 1:04 P

RE: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread G, Manjunath Kondaiah
> -Original Message- > From: Cousson, Benoit > Sent: Friday, September 17, 2010 8:21 PM > To: G, Manjunath Kondaiah > Cc: Kevin Hilman; linux-omap@vger.kernel.org; Shilimkar, Santosh > Subject: Re: [PATCH v2 09/11] OMAP: DMA: Implement generic > errata handling > > On 9/17/2010 1:28 P

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Kevin Hilman
[trimmed Cc list a bit, as vger bounced my last reply due to header too long] Mark Brown writes: > On Fri, Sep 17, 2010 at 10:53:06AM -0500, Nishanth Menon wrote: >> Mark Brown had written, on 09/17/2010 10:36 AM, the following: > >> >It might be clearer to use some term other than enabled in th

Re: [PATCH 03/11] OMAP: UART: omap_device converions, remove implicit 8520 assumptions

2010-09-17 Thread Kevin Hilman
"Govindraj.R" writes: > From: Kevin Hilman > > Major rework of OMAP UART init for omap_device conversion as well as > use with either 8250 driver or new omap-serial driver. > > In preparation for a new omap-serial driver, remove 8250 assumptions > and dependencies from the serial core. > > Conve

Re: [PATCH 00/11] OMAP: Serial: Add omap-serial driver with platform support

2010-09-17 Thread Kevin Hilman
"Govindraj.R" writes: > This patch series adds a serial driver to handle uarts on omap platforms. > Currenlty omap-uarts are handled with 8250 driver, since updating > this driver with omap specific features will over load > the 8250 driver with all omap-specific data thus a new driver > is added

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Rafael J. Wysocki
On Saturday, September 18, 2010, Nishanth Menon wrote: > Rafael J. Wysocki had written, on 09/17/2010 05:22 PM, the following: > > On Friday, September 17, 2010, Nishanth Menon wrote: > >> Mark Brown had written, on 09/17/2010 10:36 AM, the following: > >>> On Thu, Sep 16, 2010 at 08:29:33PM -0500,

Re: [PATCH v6 0/7] OMAP: WDT: Implement WDT in hwmod way

2010-09-17 Thread Kevin Hilman
Tony Lindgren writes: > * Varadarajan, Charulatha [100917 07:11]: >> Series of patches to port watchdog module to use hwmod APIs >> for OMAP2PLUS chips and use runtime APIs for all OMAP chips. >> For this hwmod database for OMAP2PLUS watchdog instances are >> populated. This patch series also im

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Nishanth Menon
Rafael J. Wysocki had written, on 09/17/2010 05:22 PM, the following: On Friday, September 17, 2010, Nishanth Menon wrote: Mark Brown had written, on 09/17/2010 10:36 AM, the following: On Thu, Sep 16, 2010 at 08:29:33PM -0500, Nishanth Menon wrote: +struct opp_def { + unsigned long fre

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
On Friday 17 September 2010 18:24:12 Ingo Molnar wrote: > > * Thomas Renninger wrote: > > > On Friday 17 September 2010 16:24:59 Ingo Molnar wrote: > [ You dont even have to document it, as good code is self-explanatory ;-) ] I recently posted a patch exporting some things through /sys/kernel/d

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Rafael J. Wysocki
On Friday, September 17, 2010, Nishanth Menon wrote: > Mark Brown had written, on 09/17/2010 10:36 AM, the following: > > On Thu, Sep 16, 2010 at 08:29:33PM -0500, Nishanth Menon wrote: > > > >> +struct opp_def { > >> + unsigned long freq; > >> + unsigned long u_volt; > >> + > >> + bool enabled

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
DO NOT APPLY THIS ONE!!! The others should go into a mainline tree if Jean is ok with them. This one does not work, due to some include dependencies or whatever else I can't see right now. The idea: Provide old trace power interfaces via .config option to not break existing perf/powertop

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
power-trace: Add x86 ACPI S- (machine sleep) state events. Signed-off-by: Thomas Renninger --- drivers/acpi/sleep.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) Index: linux-2.6.35-master/drivers/acpi/sleep.c ==

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
power-trace: Use power_switch_state instead of power_start and power_end No need to have power_start and power_end. power_switch_state of state=0 means we exited power saving state. Userspace has all the information it needs to detect power enter/exit case. Export it, so that intel_idle can make

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
Some patches for cleanup... compile tested only... Should not break existing user space apps, but they should get converted asap to use power_swtich_state... --- power-trace: Rename power frequency to power_switch_state this interface/function is not intended for frequency changes only, but shou

Re: [Query] Garbled characters on gtkterm

2010-09-17 Thread Tony Lindgren
* DebBarma, Tarun Kanti [100917 10:36]: > Hi, > While trying to boot kernel image on N800 I am seeing > lot of garbled characters along with the trace in gtkterm. > > I have configured the terminal as follows: > Port: ttyS0 > Speed: 115200 > Parity: none > Bits:8 > Stopbits: 1 > Flow control: non

RE: [PATCH] omap3: Prevent SDRC deadlock when L3 is changing frequency

2010-09-17 Thread Paul Walmsley
Hi Richard, Santosh, On Thu, 16 Sep 2010, Shilimkar, Santosh wrote: > > -Original Message- > > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > > ow...@vger.kernel.org] On Behalf Of Woodruff, Richard > > Sent: Thursday, September 16, 2010 11:36 AM > > To: Paul Walmsley; Hunter

Re: [PATCH RESEND v4 1/4] omap3: nand: prefetch in irq mode support

2010-09-17 Thread Tony Lindgren
* Sukumar Ghorai [100916 00:53]: > This patch enable prefetch-irq mode for NAND. > > --- a/drivers/mtd/nand/omap2.c > +++ b/drivers/mtd/nand/omap2.c > @@ -467,6 +485,152 @@ static void omap_write_buf_dma_pref(struct mtd_info > *mtd, > omap_nand_dma_transfer(mtd, (u_char *) buf, len

Re: [PATCH 00/14] omap sram, omap4 control module and es2.0 support

2010-09-17 Thread Paul Walmsley
Hello Santosh On Fri, 17 Sep 2010, Santosh Shilimkar wrote: > This is consolidated patch series targetted for 2.6.37 merge window. > All of these patches have been already posted/reviewed on the list. Patch 6 is missing, could you please look into why? Also, please split all of the SCM changes

[Query] Garbled characters on gtkterm

2010-09-17 Thread DebBarma, Tarun Kanti
Hi, While trying to boot kernel image on N800 I am seeing lot of garbled characters along with the trace in gtkterm. I have configured the terminal as follows: Port: ttyS0 Speed: 115200 Parity: none Bits:8 Stopbits: 1 Flow control: none End of delay(ms): 0 Can someone help me if I am missing anyt

Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias

2010-09-17 Thread Phil Carmody
On 17/09/10 19:06 +0200, Doyu Hiroshi (Nokia-MS/Helsinki) wrote: > Hi Catalin, > > From: ext Catalin Marinas > Subject: Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias > Date: Fri, 17 Sep 2010 18:18:47 +0200 > > > On Tue, 2010-08-10 at 18:49 +0300, Hiroshi DOYU wrote: > >> Now there

Re: [PATCH v6 0/7] OMAP: WDT: Implement WDT in hwmod way

2010-09-17 Thread Tony Lindgren
* Varadarajan, Charulatha [100917 07:11]: > Series of patches to port watchdog module to use hwmod APIs > for OMAP2PLUS chips and use runtime APIs for all OMAP chips. > For this hwmod database for OMAP2PLUS watchdog instances are > populated. This patch series also implements watchdog > module to

Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias

2010-09-17 Thread Hiroshi DOYU
Hi Catalin, From: ext Catalin Marinas Subject: Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias Date: Fri, 17 Sep 2010 18:18:47 +0200 > On Tue, 2010-08-10 at 18:49 +0300, Hiroshi DOYU wrote: >> Now there's not much difference with the attached patch, a new version >> of alias. >> >>

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Phil Carmody
On 17/09/10 17:36 +0200, ext Mark Brown wrote: > On Thu, Sep 16, 2010 at 08:29:33PM -0500, Nishanth Menon wrote: > > > +struct opp_def { > > + unsigned long freq; > > + unsigned long u_volt; > > + > > + bool enabled; > > +}; > > It might be clearer to use some term other than enabled in the

Re: [PATCH 01/14] ARM: mmu: Setup MT_MEMORY and MT_MEMORY_NONCACHED L1 entries

2010-09-17 Thread Tony Lindgren
* Santosh Shilimkar [100917 02:40]: > This patch populates the L1 entries for MT_MEMORY and MT_MEMORY_NONCACHED > types so that at boot-up, we can map memories outside system memory > at page level granularity > > Previously the mapping was limiting to section level, which creates > unnecessary a

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Ingo Molnar
* Thomas Renninger wrote: > On Friday 17 September 2010 16:24:59 Ingo Molnar wrote: > > > > * Jean Pihet wrote: > > > > > > Apropos documentation..., are the power trace events documented > > > > somewhere? > > > > > > No. We need something like Documentation/trace/events-kmem.txt. I > > > ca

Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias

2010-09-17 Thread Catalin Marinas
On Tue, 2010-08-10 at 18:49 +0300, Hiroshi DOYU wrote: > Now there's not much difference with the attached patch, a new version > of alias. > > / # modprobe kmemleak-special-test use_alias=0 > / # time echo scan > /sys/kernel/debug/kmemleak > real0m 2.30s > user0m 0.00s > sys 0m 2.30s

[PATCH 11/11] OMAP: SERIAL: Enable omap-serial driver in Kconfig

2010-09-17 Thread Govindraj.R
Enable omap-serial driver in /mach-omap2/Kconfig and move 8250 driver selection for zoom boards. With omap-serial driver addition all omap-uarts can be handled with omap-serial driver. With addition of omap-serial driver console parameter needs be changed in bootargs from ttyS* should be replaced

[PATCH 10/11] serial: Add OMAP high-speed UART driver

2010-09-17 Thread Govindraj.R
This patch adds driver support for OMAP2/3/4 high speed UART. The driver is made separate from 8250 driver as we cannot over load 8250 driver with omap platform specific configuration for features like DMA, it makes easier to implement features like DMA and hardware flow control and software flow

[PATCH 09/11] OMAP3: PM: Add prepare idle and resume idle call for uart4

2010-09-17 Thread Govindraj.R
Add prepare idle and resume idle call for uart4 used by 3630. Cc: Kevin Hilman Signed-off-by: Govindraj.R --- arch/arm/mach-omap2/pm34xx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 13bf73f..41f1da2

[PATCH 06/11] OMAP: UART: use non-locking versions of hwmod enable/idle functions

2010-09-17 Thread Govindraj.R
From: Kevin Hilman Since the UART enable/idle is done during the idle path (with interrupts disabled), use the non-locking versions of the hwmod enable/idle functions. Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/serial.c | 23 +-- 1 files changed, 21 insertions(+)

[PATCH 07/11] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-09-17 Thread Govindraj.R
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre Signed-off-by: Govindraj.R --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mac

[PATCH 08/11] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-09-17 Thread Govindraj.R
To standarize among other uarts (1 to 3), we shall now: - Enable uart4 autodile bit. - Enable uart4 wakeup in PER. - Allow uart4 to wakeup the MPU. Signed-off-by: Sergio Aguirre Signed-off-by: Govindraj.R --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ arch/arm/mach-omap2/pm34xx.c

[PATCH 05/11] OMAP: UART: don't do automatic bus-level suspend/resume

2010-09-17 Thread Govindraj.R
From: Kevin Hilman Since the omap_device for UART is currently managed inside the idle path itself, don't let the bus-level code suspend/resume the UART. To prevent this, pm_runtime_get() is used when preparing for suspend and pm_runtime_put() is used when finished with suspend. Signed-off-by:

[PATCH 03/11] OMAP: UART: omap_device converions, remove implicit 8520 assumptions

2010-09-17 Thread Govindraj.R
From: Kevin Hilman Major rework of OMAP UART init for omap_device conversion as well as use with either 8250 driver or new omap-serial driver. In preparation for a new omap-serial driver, remove 8250 assumptions and dependencies from the serial core. Convert UART core and PM support to use omap

[PATCH 04/11] OMAP2: UART: remove set_uart_globals

2010-09-17 Thread Govindraj.R
Remove set_uart_globals function as this will not be needed as physical address for uarts will be taken from hwmod data file. Cc: Kevin Hilman Signed-off-by: Govindraj.R --- arch/arm/mach-omap2/serial.c |5 - arch/arm/plat-omap/common.c | 16

[PATCH 02/11] OMAP2/3: UART: add omap_hwmod data for UARTs 1-4

2010-09-17 Thread Govindraj.R
From: Kevin Hilman This patch adds omap_hwmod data for UARTs on OMAP2 and OMAP3 platforms. UART4 support for 3630 and OMAP2 hwmod data added by Govindraj R. Cc: Govindraj.R Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 193 + arch/arm/mach-

[PATCH 01/11] OMAP4: UART: Add uart1-4 hwmods data for omap4

2010-09-17 Thread Govindraj.R
From: Benoit Cousson Add uart1-4 hwmod data into omap4_hwmod data file. Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 235 1 files changed, 235 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c

[PATCH 00/11] OMAP: Serial: Add omap-serial driver with platform support

2010-09-17 Thread Govindraj.R
This patch series adds a serial driver to handle uarts on omap platforms. Currenlty omap-uarts are handled with 8250 driver, since updating this driver with omap specific features will over load the 8250 driver with all omap-specific data thus a new driver is added to configure and support features

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Mark Brown
On Fri, Sep 17, 2010 at 10:53:06AM -0500, Nishanth Menon wrote: > Mark Brown had written, on 09/17/2010 10:36 AM, the following: > >It might be clearer to use some term other than enabled in the code - > >when reading I wasn't immediately sure if enabled meant that it was > >available to be select

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Nishanth Menon
Mark Brown had written, on 09/17/2010 10:36 AM, the following: On Thu, Sep 16, 2010 at 08:29:33PM -0500, Nishanth Menon wrote: +struct opp_def { + unsigned long freq; + unsigned long u_volt; + + bool enabled; +}; It might be clearer to use some term other than enabled in the

Re: [PATCH] OMAP4: HSMMC cmd line reset change

2010-09-17 Thread Tony Lindgren
* Madhusudhan Chikkature [100915 16:50]: > OMAP4: HSMMC cmd line reset change > > The cmd line reset logic is changed in OMAP4 ES2. The new procedure > is to monitor a 0->1 transition and then 1->0 transition.The earlier > logic would fail on ES2 chips because the loop could exit even before > th

Re: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread Cousson, Benoit
On 8/24/2010 1:04 PM, G, Manjunath Kondaiah wrote: This patch introduces generic way of handling all OMAP DMA errata's which are applicable for OMAP1 and OMAP2PLUS processors. <...> diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index f369bee..8832bd1 100644 --- a/arch/arm

Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs

2010-09-17 Thread Mark Brown
On Thu, Sep 16, 2010 at 08:29:33PM -0500, Nishanth Menon wrote: > +struct opp_def { > + unsigned long freq; > + unsigned long u_volt; > + > + bool enabled; > +}; It might be clearer to use some term other than enabled in the code - when reading I wasn't immediately sure if enabled mea

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
On Friday 17 September 2010 16:24:59 Ingo Molnar wrote: > > * Jean Pihet wrote: > > > > Apropos documentation..., are the power trace events documented > > > somewhere? > > > > No. We need something like Documentation/trace/events-kmem.txt. I > > can write that with for the new power API. > Such

Re: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread Kevin Hilman
"Cousson, Benoit" writes: [...] > If you cannot do that, you will need to add an omap_device API as > well. There is already one such API exists in hwmod layer for handling this type of errata(omap_hwmod_set_slave_idlemode in omap_hwmod.c). Above proposal is based on

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
On Friday 17 September 2010 16:05:51 Jean Pihet wrote: > Hi Thomas, > > On Fri, Sep 17, 2010 at 3:08 PM, Thomas Renninger wrote: > > Hi, > > > > I had a quick look at this and it's amazing how broken > > the whole power event tracing interfaces are. > > It's not your fault, Jean, they always were

Re: [PATCH v5 4/6] OMAP4: hwmod data: Add watchdog timer

2010-09-17 Thread Kevin Hilman
"Cousson, Benoit" writes: [...] As you mentioned, wd_timer3 in OMAP4 is an IVA3 watchdog timer. Also the current watchdog driver (omap_wdt.c) does not support more than one watchdog timer. To add this support we need to first redesign the driver code and then add wd

RE: [PATCH 00/14] omap sram, omap4 control module and es2.0 support

2010-09-17 Thread Shilimkar, Santosh
> -Original Message- > From: coolo...@gmail.com [mailto:coolo...@gmail.com] On Behalf Of Bryan Wu > Sent: Friday, September 17, 2010 8:36 PM > To: Shilimkar, Santosh > Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH 00/14] omap sram, omap4 control

RE: [PATCH 2/4] OMAP: OPP: twl/tps: Introduce TWL/TPS-specific code

2010-09-17 Thread Gopinath, Thara
>>-Original Message- >>From: Kevin Hilman [mailto:khil...@deeprootsystems.com] >>Sent: Thursday, September 16, 2010 10:46 PM >>To: Gopinath, Thara >>Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org >>Subject: Re: [PATCH 2/4] OMAP: OPP: twl/tps: Introduce TWL/TPS-specif

Re: [PATCH] OMAP3630 PM: Update C state latencies

2010-09-17 Thread Kevin Hilman
Vishwanath BS writes: > This patch has changes to update the C state latencies for OMAP3630 > and removes the useless C-States, keeping only the optimized ones with > their corresponding measured latencies. Technically, this patch doesn't remove them, it disables them. Also, these C-states are

Re: [PATCH 00/14] omap sram, omap4 control module and es2.0 support

2010-09-17 Thread Bryan Wu
Santosh, Unfortunately, the kernel still cannot find MMC device and mount the root file system on my Panda ES2.0 8 layers board. Did we miss some patches? The Ubuntu 2.6.35 kernel boots fine. -Bryan On Fri, Sep 17, 2010 at 5:47 PM, Santosh Shilimkar wrote: > This is consolidated patch series ta

Re: [PATCH 2/4] OMAP: OPP: twl/tps: Introduce TWL/TPS-specific code

2010-09-17 Thread Nishanth Menon
Gopinath, Thara had written, on 09/17/2010 09:57 AM, the following: [..] From: Paul Walmsley The OPP layer code should be independent of the PMIC, introduce the TWL/TPS-specific code out to its own file. I have been using this code for a while now. I really do not think wee need a separate f

RE: [PATCH] OMAP3630 PM: Update C state latencies

2010-09-17 Thread Sripathy, Vishwanath
Hi Sanjeev, > -Original Message- > From: Premi, Sanjeev > Sent: Friday, September 17, 2010 7:57 PM > To: Sripathy, Vishwanath; linux-omap@vger.kernel.org > Cc: Sripathy, Vishwanath; Chalhoub, Nicole > Subject: RE: [PATCH] OMAP3630 PM: Update C state latencies > > > -Original Message--

RE: [PATCH 2/4] OMAP: OPP: twl/tps: Introduce TWL/TPS-specific code

2010-09-17 Thread Gopinath, Thara
>>-Original Message- >>From: Menon, Nishanth >>Sent: Thursday, September 16, 2010 7:37 PM >>To: Gopinath, Thara >>Cc: Kevin Hilman; linux-omap@vger.kernel.org; >>linux-arm-ker...@lists.infradead.org >>Subject: Re: [PATCH 2/4] OMAP: OPP: twl/tps: Introduce TWL/TPS-specific code >> >>Gopin

RE: [PATCH 05/13] OMAP: Introduce device specific set rate and get rate in device opp structures.

2010-09-17 Thread Gopinath, Thara
>>-Original Message- >>From: Kevin Hilman [mailto:khil...@deeprootsystems.com] >>Sent: Thursday, September 16, 2010 8:58 PM >>To: Gopinath, Thara; Paul Walmsley >>Cc: linux-omap@vger.kernel.org; Sripathy, Vishwanath; Sawant, Anand; Cousson, >>Benoit >>Subject: Re: [PATCH 05/13] OMAP: Int

Re: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread Cousson, Benoit
On 9/17/2010 1:28 PM, G, Manjunath Kondaiah wrote: From: Cousson, Benoit Sent: Friday, September 17, 2010 3:59 PM On 9/17/2010 10:09 AM, G, Manjunath Kondaiah wrote: Hi Benoit, <...> I assume you are ok with option #1. Let me know if you have any issues/concenrs with above approach. I am

RE: [PATCH 04/13] OMAP: Introduce API to return a device list associated with a voltage domain

2010-09-17 Thread Gopinath, Thara
>>-Original Message- >>From: Kevin Hilman [mailto:khil...@deeprootsystems.com] >>Sent: Thursday, September 16, 2010 8:52 PM >>To: Gopinath, Thara >>Cc: linux-omap@vger.kernel.org; p...@pwsan.com; Sripathy, Vishwanath; Sawant, >>Anand; Cousson, Benoit >>Subject: Re: [PATCH 04/13] OMAP: In

[PATCH v2 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-17 Thread Rajendra Nayak
This patch converts the i2c driver to use PM runtime apis Signed-off-by: Rajendra Nayak Cc: Kevin Hilman Cc: Paul Walmsley --- drivers/i2c/busses/i2c-omap.c | 67 + 1 files changed, 21 insertions(+), 46 deletions(-) diff --git a/drivers/i2c/busses/i2c

[PATCH v2 2/5] OMAP3: hwmod: add I2C hwmods for OMAP3430

2010-09-17 Thread Rajendra Nayak
Add hwmod structures for I2C controllers on OMAP3430. This patch was developed in collaboration with Paul Walmsley . Signed-off-by: Rajendra Nayak Signed-off-by: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 232 arch/arm/mach-om

[PATCH v2 1/5] OMAP2xxx: hwmod: add I2C hwmods for OMAP2420, 2430

2010-09-17 Thread Rajendra Nayak
From: Paul Walmsley Add hwmod structures for I2C controllers on OMAP2420/2430. Signed-off-by: Paul Walmsley Signed-off-by: Rajendra Nayak Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 138 ++- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 144

[PATCH v2 4/5] OMAP: I2C: split device registration and convert OMAP2+ to omap_device

2010-09-17 Thread Rajendra Nayak
From: Paul Walmsley Split the OMAP1 and OMAP2+ platform_device build and register code. Convert the OMAP2+ variant to use omap_device. This patch was developed in collaboration with Rajendra Nayak . Signed-off-by: Paul Walmsley Signed-off-by: Rajendra Nayak Cc: Kevin Hilman --- arch/arm/pla

[PATCH v2 3/5] OMAP4: hwmod: add I2C hwmods for OMAP4430

2010-09-17 Thread Rajendra Nayak
Add hwmod structures for I2C controllers on OMAP4430. Signed-off-by: Rajendra Nayak Signed-off-by: Benoit Cousson --- This patch is extracted from the below patch OMAP4: hwmod: Add initial data for OMAP4430 ES1 & ES2 https://patchwork.kernel.org/patch/117347/ arch/arm/mach-omap2/omap_hwmod_44x

[PATCH v2 0/5] Convert I2C driver to use omap_device/runtime PM

2010-09-17 Thread Rajendra Nayak
This series makes I2C device registration use hwmod and omap_device api's and converts the I2C driver to use runtime PM api's. Patches apply on the pm-core branch from Kevin's tree. v2 has minor review comment fixes over v1 and is additionally boot tested on a 2430sdp platform along with being te

Re: [PATCH v5 4/6] OMAP4: hwmod data: Add watchdog timer

2010-09-17 Thread Cousson, Benoit
On 9/17/2010 4:27 PM, Kevin Hilman wrote: "Cousson, Benoit" writes: Hi Charu, On 9/17/2010 11:23 AM, Varadarajan, Charulatha wrote: -Original Message- From: Cousson, Benoit Sent: Thursday, September 16, 2010 2:49 AM To: Varadarajan, Charulatha Cc: t...@atomide.com; w...@iguana.be;

RE: [PATCH 01/13] OMAP: Introduce a user list for each voltage domain instance in the voltage driver.

2010-09-17 Thread Gopinath, Thara
>>-Original Message- >>From: Kevin Hilman [mailto:khil...@deeprootsystems.com] >>Sent: Thursday, September 16, 2010 8:50 PM >>To: Gopinath, Thara >>Cc: linux-omap@vger.kernel.org; p...@pwsan.com; Sripathy, Vishwanath; Sawant, >>Anand; Cousson, Benoit >>Subject: Re: [PATCH 01/13] OMAP: In

Re: [PATCH v5 4/6] OMAP4: hwmod data: Add watchdog timer

2010-09-17 Thread Kevin Hilman
"Cousson, Benoit" writes: > Hi Charu, > > On 9/17/2010 11:23 AM, Varadarajan, Charulatha wrote: >> >> >>> -Original Message- >>> From: Cousson, Benoit >>> Sent: Thursday, September 16, 2010 2:49 AM >>> To: Varadarajan, Charulatha >>> Cc: t...@atomide.com; w...@iguana.be; linux-watch...@vg

RE: [PATCH] OMAP3630 PM: Update C state latencies

2010-09-17 Thread Premi, Sanjeev
> -Original Message- > From: linux-omap-ow...@vger.kernel.org > [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Vishwanath BS > Sent: Friday, September 17, 2010 7:43 PM > To: linux-omap@vger.kernel.org > Cc: Sripathy, Vishwanath; Chalhoub, Nicole > Subject: [PATCH] OMAP3630 PM: Upda

Re: [PATCH 12/13 v5] OMAP: GPIO: Use dev_pm_ops instead of sys_dev_class

2010-09-17 Thread Kevin Hilman
"Basak, Partha" writes: [...] >> > /* TODO: Analyze removing gpio_bank_count usage from driver code */ >> > @@ -1045,6 +1044,9 @@ static int omap_gpio_request(struct >> gpio_chip *chip, unsigned offset) >> >struct gpio_bank *bank = container_of(chip, struct >> gpio_bank, chip); >> >un

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Ingo Molnar
* Jean Pihet wrote: > > Apropos documentation..., are the power trace events documented > > somewhere? > > No. We need something like Documentation/trace/events-kmem.txt. I can > write that with for the new power API. Such a patch introducing events-power.txt would be most welcome! In

[PATCH v6 6/7] OMAP2PLUS: WDT: use omap_device_build for device registration

2010-09-17 Thread Varadarajan, Charulatha
This patch splits omap_init_wdt() into separate omap_init_wdt() functions under mach-omap1 and mach-omap2 and set them up with subsys_initcall. Also it uses omap_device_build() API instead of platform_device_register() for watchdog timer device registration for OMAP2plus chips. For OMAP2plus chi

[PATCH v6 7/7] OMAP: WDT: Use PM runtime APIs instead of clk FW APIs

2010-09-17 Thread Varadarajan, Charulatha
Call runtime pm APIs pm_runtime_put_sync() and pm_runtime_get_sync() for enabling/disabling the clocks, sysconfig settings instead of using clock FW APIs. Signed-off-by: Charulatha V --- drivers/watchdog/omap_wdt.c | 42 +++--- 1 files changed, 7 insertions(

[PATCH v6 5/7] OMAP4: hwmod data: Add watchdog timer

2010-09-17 Thread Varadarajan, Charulatha
From: Benoit Cousson Add watchdog timer hwmod data for OMAP4 chip Signed-off-by: Benoit Cousson Signed-off-by: Charulatha V --- This patch is extracted from the below patch sent by Benoit https://patchwork.kernel.org/patch/117347/ arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 135 +++

[PATCH v6 1/7] OMAP2PLUS: WDT: Add ICLKEN, FCLKEN, WKEN shared bits for WDT

2010-09-17 Thread Varadarajan, Charulatha
This patch adds the CM_FCLKEN_WKUP, CM_ICLKEN_WKUP, PM_WKEN_WKUP shared bits for OMAP2PLUS watchdog timer module. Signed-off-by: Charulatha V --- arch/arm/mach-omap2/prcm-common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/prcm-common.h b/arc

[PATCH v6 4/7] OMAP2430: hwmod data: Add watchdog timer

2010-09-17 Thread Varadarajan, Charulatha
Add watchdog timer hwmod data for OMAP2430 chip Signed-off-by: Charulatha V --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 63 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm/mach-omap2/omap_h

[PATCH v6 3/7] OMAP2420: hwmod data: Add watchdog timer

2010-09-17 Thread Varadarajan, Charulatha
Add watchdog timer hwmod data for OMAP2420 chip Signed-off-by: Charulatha V --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 63 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c b/arch/arm/mach-omap2/omap_h

[PATCH v6 2/7] OMAP3: hwmod data: Add watchdog timer

2010-09-17 Thread Varadarajan, Charulatha
Add watchdog timer hwmod data for OMAP3 chip Signed-off-by: Charulatha V --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 65 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmo

[PATCH v6 0/7] OMAP: WDT: Implement WDT in hwmod way

2010-09-17 Thread Varadarajan, Charulatha
Series of patches to port watchdog module to use hwmod APIs for OMAP2PLUS chips and use runtime APIs for all OMAP chips. For this hwmod database for OMAP2PLUS watchdog instances are populated. This patch series also implements watchdog module to use PM runtime APIs. This patch series is created on

[PATCH] OMAP3630 PM: Update C state latencies

2010-09-17 Thread Vishwanath BS
This patch has changes to update the C state latencies for OMAP3630 and removes the useless C-States, keeping only the optimized ones with their corresponding measured latencies. Only 4 C-states are kept instead of 7 C-States: * C1 . MPU WFI clock gated + Core autogating * C3 . MPU CSW

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Jean Pihet
Hi Thomas, On Fri, Sep 17, 2010 at 3:08 PM, Thomas Renninger wrote: > Hi, > > I had a quick look at this and it's amazing how broken > the whole power event tracing interfaces are. > It's not your fault, Jean, they always were and adding your stuff is > fine. That is the whole point! This code ne

Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias

2010-09-17 Thread Catalin Marinas
On Mon, 2010-08-30 at 13:30 -0700, Paul E. McKenney wrote: > On Fri, Aug 27, 2010 at 09:12:24AM +0300, Hiroshi DOYU wrote: > > > +static struct kmemleak_object *find_and_get_object(unsigned long ptr, > > > int alias) > > > +{ > > > + struct kmemleak_object *object; > > > + > > > + rcu_read_lock();

Re: [PATCH] tracing, perf: add more power related events

2010-09-17 Thread Thomas Renninger
Hi, I had a quick look at this and it's amazing how broken the whole power event tracing interfaces are. It's not your fault, Jean, they always were and adding your stuff is fine. Some questions, maybe I've overseen something: Why does this event: DEFINE_EVENT(power, power_frequency, exist and

RE: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread G, Manjunath Kondaiah
> -Original Message- > From: Cousson, Benoit > Sent: Friday, September 17, 2010 3:59 PM > To: G, Manjunath Kondaiah > Cc: Kevin Hilman; linux-omap@vger.kernel.org; Shilimkar, Santosh > Subject: Re: [PATCH v2 09/11] OMAP: DMA: Implement generic > errata handling > > On 9/17/2010 10:09

RE: [PATCH 14/14] omap4: Fix bootup crash observed with higher CPU clocks

2010-09-17 Thread Shilimkar, Santosh
> -Original Message- > From: Balbi, Felipe > Sent: Friday, September 17, 2010 4:49 PM > To: Shilimkar, Santosh > Cc: Balbi, Felipe; Menon, Nishanth; linux-omap@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; Nayak, Rajendra; Kevin Hilman > Subject: Re: [PATCH 14/14] omap4: Fix boo

Re: [PATCH 14/14] omap4: Fix bootup crash observed with higher CPU clocks

2010-09-17 Thread Felipe Balbi
Hi, On Fri, Sep 17, 2010 at 06:17:47AM -0500, Shilimkar, Santosh wrote: On OMAP4 specifically, the wait IDLEST support isn't there in the clock framework. This is taken care now in hwmod framework. With that we see that we don't need this delay anymore. The delay change is there for some time.

RE: [PATCH 14/14] omap4: Fix bootup crash observed with higher CPU clocks

2010-09-17 Thread Shilimkar, Santosh
> -Original Message- > From: Balbi, Felipe > Sent: Friday, September 17, 2010 4:12 PM > To: Shilimkar, Santosh > Cc: Menon, Nishanth; linux-omap@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; Nayak, Rajendra > Subject: Re: [PATCH 14/14] omap4: Fix bootup crash observed with highe

RE: [PATCH 02/14] omap: Map only available sram memory

2010-09-17 Thread Shilimkar, Santosh
> -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Friday, September 17, 2010 3:46 PM > To: Shilimkar, Santosh > Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH 02/14] omap: Map only available sram memory

Re: [PATCH 14/14] omap4: Fix bootup crash observed with higher CPU clocks

2010-09-17 Thread Felipe Balbi
hi, On Fri, Sep 17, 2010 at 05:30:30AM -0500, Shilimkar, Santosh wrote: Second your thought. Infact I wasn't ok to push this patch to start with but it's needed till the timer hwmod gets merged to me, it just looks like "omap_test_timeout()" is timing out and that function is omap_dm_timer_set

Re: [PATCH 14/14] omap4: Fix bootup crash observed with higher CPU clocks

2010-09-17 Thread Felipe Balbi
Hi, On Fri, Sep 17, 2010 at 05:14:59AM -0500, Menon, Nishanth wrote: @@ -581,7 +581,7 @@ int omap_dm_timer_set_source(struct omap_dm_timer *timer, int source) * When the functional clock disappears, too quick writes seem * to cause an abort. XXX Is this still necessary?

RE: [PATCH 14/14] omap4: Fix bootup crash observed with higher CPU clocks

2010-09-17 Thread Shilimkar, Santosh
> -Original Message- > From: Menon, Nishanth > Sent: Friday, September 17, 2010 3:57 PM > To: Shilimkar, Santosh; linux-omap@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org; Nayak, Rajendra > Subject: RE: [PATCH 14/14] omap4: Fix bootup crash observed with higher > CPU clocks >

Re: [PATCH v2 09/11] OMAP: DMA: Implement generic errata handling

2010-09-17 Thread Cousson, Benoit
On 9/17/2010 10:09 AM, G, Manjunath Kondaiah wrote: Hi Benoit, <...> I assume you are ok with option #1. Let me know if you have any issues/concenrs with above approach. I am in the process of consolidating all the review comments and addressing all applicable review comments. Not reall

RE: [PATCH 14/14] omap4: Fix bootup crash observed with higher CPU clocks

2010-09-17 Thread Menon, Nishanth
> -Original Message- > From: Shilimkar, Santosh > Sent: Friday, September 17, 2010 5:17 AM [..] > > > -Original Message- > > > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > > > ow...@vger.kernel.org] On Behalf Of Shilimkar, Santosh > > > Sent: Friday, September 17, 20

RE: [PATCH 11/14] omap4: Fix silicon version detection for early samples

2010-09-17 Thread Shilimkar, Santosh
> -Original Message- > From: Menon, Nishanth > Sent: Friday, September 17, 2010 3:48 PM > To: Shilimkar, Santosh; linux-omap@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org > Subject: RE: [PATCH 11/14] omap4: Fix silicon version detection for early > samples > > > -Original

RE: [PATCH 03/14] davinci: map sram using MT_MEMORY_NONCACHED instead of MT_DEVICE

2010-09-17 Thread Shilimkar, Santosh
> -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Friday, September 17, 2010 3:46 PM > To: Shilimkar, Santosh > Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH 03/14] davinci: map sram using MT_MEMORY_N

RE: [PATCH 11/14] omap4: Fix silicon version detection for early samples

2010-09-17 Thread Menon, Nishanth
> -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Shilimkar, Santosh > Sent: Friday, September 17, 2010 4:48 AM [..] > diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c > index ae70ae9..0412233 100644 > -

RE: [PATCH 05/14] omap4: control: Add accessor api's for pad control module

2010-09-17 Thread Menon, Nishanth
> -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Santosh Shilimkar > Sent: Friday, September 17, 2010 4:48 AM > > On OMAP4 control pad are not addressable from control > core base. So the common omap_ctrl_read/write API

  1   2   >