Re: [linux-pm] Issue: Runtime API usage in wake-up device irq_handler during wakeup from system-wide-suspend.

2011-09-07 Thread Tero Kristo
Hi, On Sat, 2011-08-27 at 21:42 +0200, Alan Stern wrote: > On Sat, 27 Aug 2011, Santosh wrote: > > > On Saturday 27 August 2011 07:31 PM, Alan Stern wrote: > > > On Sat, 27 Aug 2011, Santosh wrote: > > > > > >> I might be wrong here, but after discussion with Govindraj on this > > >> issue, it se

[PATCH v4 08/11] Serial: OMAP2+: Move erratum handling from serial.c

2011-09-07 Thread Govindraj.R
Move the erratum handling mechanism from serial.c to driver file and utilise the same func in driver file. Acked-by: Alan Cox Signed-off-by: Govindraj.R --- drivers/tty/serial/omap-serial.c | 58 ++--- 1 files changed, 53 insertions(+), 5 deletions(-) diff --g

[PATCH v4 06/11] Serial: OMAP: Store certain reg values to port structure

2011-09-07 Thread Govindraj.R
In preparation to runtime conversion add missing uart regs to port structure which can be used in context restore. Also ensuring all uart reg info's are part of port structure. Signed-off-by: Govindraj.R --- arch/arm/plat-omap/include/plat/omap-serial.h |3 ++ drivers/tty/serial/omap-serial.

[PATCH v4 05/11] OMAP2+: Serial: Add default mux for all uarts.

2011-09-07 Thread Govindraj.R
Add default mux data for all uart's if mux info is not passed from board file to avoid breaking any board support. Signed-off-by: Govindraj.R --- arch/arm/mach-omap2/serial.c | 132 ++ 1 files changed, 132 insertions(+), 0 deletions(-) diff --git a/arch/

[PATCH v4 09/11] OMAP2+: Serial: Use prepare and resume calls to gate uart clocks

2011-09-07 Thread Govindraj.R
Currently we are using uart prepare and resume calls to gate uart clocks retaining the same method. More details on reason to retain this design is provided here: http://www.spinics.net/lists/linux-serial/msg04128.html Since prepare and resume hooks are moved to driver itself we can just use a si

[PATCH v4 03/11] OMAP2+: UART: cleanup + remove certain uart calls from pm code

2011-09-07 Thread Govindraj.R
In preparation to UART runtime conversion. Remove certain uart specific calls from pm24xx/34xx files. Remove uart pads from 3430 board file. These func calls will no more be used with upcoming uart runtime design. 1.) omap_uart_can_sleep :- not needed driver can autosuspend based on usage_count

[PATCH v4 10/11] OMAP: Serial: Allow UART parameters to be configured from board file.

2011-09-07 Thread Govindraj.R
The following UART parameters are defined within the UART driver: 1). Whether the UART uses DMA (dma_enabled), by default set to 0 2). The size of dma buffer (set to 4096 bytes) 3). The time after which the dma should stop if no more data is received. 4). The auto suspend delay that will be passed

[PATCH v4 07/11] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-09-07 Thread Govindraj.R
Adapts omap-serial driver to use pm_runtime API's. 1.) Moving context_restore func to driver from serial.c 2.) Use runtime irq safe to use get_sync from irq context. 3.) autosuspend for port specific activities and put for reg access. 4.) for earlyprintk usage the debug macro will write to console

Re: [PATCH 10/11] ARM: pm: convert some assembly to C

2011-09-07 Thread Lorenzo Pieralisi
Hi Russell, On Thu, Sep 01, 2011 at 01:51:39PM +0100, Russell King - ARM Linux wrote: > Convert some of the sleep.S guts to C code, which makes it easier to > use our macros and to add L2 cache handling. We provide a helper > function, __cpu_suspend_save(), which deals with saving the common > st

[PATCH v4 04/11] OMAP2+: UART: Remove uart clock handling code from serial.c

2011-09-07 Thread Govindraj.R
Cleanup serial.c file in preparation to addition of runtime API's in omap-serial file. Remove all clock handling mechanism as this will be taken care with pm runtime API's in omap-serial.c file itself. 1.) Remove omap-device enable and disable. We can can use get_sync/put_sync API's 2.) Remove co

[PATCH v4 11/11] Serial: OMAP2+: Make the RX_TIMEOUT for DMA configurable for each UART

2011-09-07 Thread Govindraj.R
From: Jon Hunter When using DMA there are two timeouts defined. The first timeout, rx_timeout, is really a polling rate in which software polls the DMA status to see if the DMA has finished. This is necessary for the RX side because we do not know how much data we will receive. The second timeout

Re: [PATCH 03/11] ARM: pm: some ARMv7 requires a dsb in resume to ensure correctness

2011-09-07 Thread Catalin Marinas
On 1 September 2011 13:49, Russell King - ARM Linux wrote: > Add a dsb after the isb to ensure that the previous writes to the > CP15 registers take effect before we enable the MMU. > > Signed-off-by: Russell King > --- >  arch/arm/mm/proc-v7.S |    1 + >  1 files changed, 1 insertions(+), 0 dele

[PATCH v4 02/11] OMAP2+: hwmod: Add API to check IO PAD wakeup status

2011-09-07 Thread Govindraj.R
Add API to determine IO-PAD wakeup event status for a given hwmod dynamic_mux pad. Signed-off-by: Govindraj.R --- arch/arm/mach-omap2/mux.c| 30 ++ arch/arm/mach-omap2/mux.h| 13 +++ arch/arm/mach-omap2/omap_hwmod.c

[PATCH v4 00/11] OMAP2+: Serial: Runtime adaptation + cleanup

2011-09-07 Thread Govindraj.R
Converting uart driver to adapt to pm runtime API's. Code re-org + cleanup. Moving some functionality from serial.c to omap-serial.c Changes involves: 1.) Cleaning up certain uart calls from sram_idle func. 2.) Removed all types of uart clock handling code from serial.c 3.) Using

Re: [PATCH 03/11] ARM: pm: some ARMv7 requires a dsb in resume to ensure correctness

2011-09-07 Thread Russell King - ARM Linux
On Wed, Sep 07, 2011 at 04:41:32PM +0100, Catalin Marinas wrote: > On 1 September 2011 13:49, Russell King - ARM Linux > wrote: > > Add a dsb after the isb to ensure that the previous writes to the > > CP15 registers take effect before we enable the MMU. > > > > Signed-off-by: Russell King > > --

[v2 2/2] usb: musb: omap2+: save and restore OTG_INTERFSEL

2011-09-07 Thread Vikram Pandita
From: Hema HK we need to save and restore OTG_INTERFSEL register else we will be unable to function on resume after OFF mode. Reported-by: Devaraj Rangasamy Signed-off-by: Hema HK Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Vikram Pandita --- drivers/usb/musb/musb_core.h |1 +

[v2 1/2] usb: musb: omap2+: fix context api's

2011-09-07 Thread Vikram Pandita
From: Vikram Pandita RxFifoSz, TxFifoSz, RxFifoAddr, TxFifoAddr are all indexed registers. So before doing a context save or restore, INDEX register should be set, then only one gets to the right register offset. Signed-off-by: Vikram Pandita Signed-off-by: Anand Gadiyar --- drivers/usb/musb

[v2 0/2] usb: musb: off mode fixes

2011-09-07 Thread Vikram Pandita
From: Vikram Pandita v1: Recent tests with OFF mode on OMAP44xx brings out these bugs v2: Fix review comments from: Sergei Shtylyov Hema HK (1): usb: musb: omap2+: save and restore OTG_INTERFSEL Vikram Pandita (1): usb: musb: omap2+: fix context api's drivers/usb/musb/musb_core.c |2

Re: [PATCH 09/22] OMAP2: add voltage domains and connect to powerdomains

2011-09-07 Thread Jean Pihet
Kevin, On Mon, Aug 29, 2011 at 7:35 PM, Kevin Hilman wrote: > Create basic voltagedomains for OMAP2 and associate OMAP2 powerdomains > with the newly created voltage domains. > > Signed-off-by: Kevin Hilman > --- >  arch/arm/mach-omap2/Makefile                  |    3 +- >  arch/arm/mach-omap2/i

Re: [PATCH 03/11] ARM: pm: some ARMv7 requires a dsb in resume to ensure correctness

2011-09-07 Thread Catalin Marinas
On 7 September 2011 17:19, Russell King - ARM Linux wrote: > On Wed, Sep 07, 2011 at 04:41:32PM +0100, Catalin Marinas wrote: >> On 1 September 2011 13:49, Russell King - ARM Linux >> wrote: >> > Add a dsb after the isb to ensure that the previous writes to the >> > CP15 registers take effect bef

[PATCH v4 01/11] OMAP2+: hwmod: Add API to enable IO ring wakeup.

2011-09-07 Thread Govindraj.R
Add API to enable IO pad wakeup capability based on mux dynamic pad and wake_up enable flag available from hwmod_mux initialization. Use the wakeup_enable flag and enable wakeup capability for the given pads. Wakeup capability will be enabled/disabled during hwmod idle transition based on whether

Re: [PATCH 1/2] omap3: ISP: Fix the failure of CCDC capture during suspend/resume

2011-09-07 Thread Laurent Pinchart
Hi, On Wednesday 07 September 2011 12:10:23 Koyamangalath, Abhilash wrote: > On Tue, Aug 30, 2011 Laurent Pinchart wrote: > > On Wednesday 10 August 2011 16:03:12 Deepthy Ravi wrote: > >> From: Abhilash K V > >> > >> While resuming from the "suspended to memory" state, > >> occasionally CCDC fa

Re: [PATCH 2/2] usb: musb: omap2+: save and restore OTG_INTERFSEL

2011-09-07 Thread Sergei Shtylyov
Hello. On 07-09-2011 4:49, Vikram Pandita wrote: From: Hema HK we need to save and restore OTG_INTERFSEL register else we will be unable to function on resume after OFF mode. Change-Id: I6c29c69596d5f47e00cf74ab0e32bb44ef71dda9 Remove this, please. Reported-by: Devaraj Rangasamy S

Re: [RFC 6/7] iommu/core: add fault reporting

2011-09-07 Thread Ohad Ben-Cohen
On Mon, Sep 5, 2011 at 1:00 PM, Roedel, Joerg wrote: > Please add a seperate function for setting the fault-handler. It is > optional, so no need to be a value of the alloc-function. Will do. > Can you elaborate a bit on what the user of the api will do different > between IOMMU_TLBMISS and IOMM

RE: [PATCH 1/2] omap3: ISP: Fix the failure of CCDC capture during suspend/resume

2011-09-07 Thread Koyamangalath, Abhilash
On Tue, Aug 30, 2011 Laurent Pinchart wrote: > Hi, > > On Wednesday 10 August 2011 16:03:12 Deepthy Ravi wrote: >> From: Abhilash K V >> >> While resuming from the "suspended to memory" state, >> occasionally CCDC fails to get enabled and thus fails >> to capture frames any more till the next s

Re: [PATCH 03/11] ARM: pm: some ARMv7 requires a dsb in resume to ensure correctness

2011-09-07 Thread Catalin Marinas
On 7 September 2011 17:19, Russell King - ARM Linux wrote: > On Wed, Sep 07, 2011 at 04:41:32PM +0100, Catalin Marinas wrote: >> On 1 September 2011 13:49, Russell King - ARM Linux >> wrote: >> > Add a dsb after the isb to ensure that the previous writes to the >> > CP15 registers take effect bef

[PATCH 4/6 v2] ti816evm: Add support for musb interface

2011-09-07 Thread Ajay Kumar Gupta
From: Ravi Babu Adding musb support in ti816 EVM board file. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/board-ti8168evm.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/ma

[PATCH 3/6 v2] omap: musb: ti81xx: Add phy power function

2011-09-07 Thread Ajay Kumar Gupta
Adding ti81xx_musb_phy_power() which will be used by musb driver through its function pointer in board_data. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/omap_phy_internal.c | 24 +++ arch/arm/plat-omap/include/plat/usb.h | 32 ++

[PATCH 0/6 v2] usb: musb: Adding support for ti81xx

2011-09-07 Thread Ajay Kumar Gupta
This patch set adds support for musb interface for TI81XX platforms and are dependent on recent patch series from Hemant Pedanekar at [1] and [2]. TI81XX platform has dual musb instances, uses CPPI4.1 DMA and has built in usb PHY. The current set of patches supports only the first interface and in

[PATCH 5/6 v2] ti814evm: Add support for musb interface

2011-09-07 Thread Ajay Kumar Gupta
From: Ravi Babu Adding musb support in ti814 EVM board file. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/board-ti8148evm.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-ti8148evm.c b/arch/arm/ma

[PATCH 6/6 v2] usb: musb: Add support for ti81xx platform

2011-09-07 Thread Ajay Kumar Gupta
From: Ravi Babu TI81XX platform has two musb interfaces and uses CPPI4.1 DMA engine. It has builtin USB PHYs as AM35x. The current set of patches adds support for one instance and only in PIO mode. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- drivers/usb/musb/Kconfig |

[PATCH 1/6 v2] omap: musb: Adding hwmod data for ti81xx

2011-09-07 Thread Ajay Kumar Gupta
From: Ravi Babu The usb subsystem (usbss) in ti81xx has two musb interfaces. There are three irqs and three address spaces for usbss, musb0 and musb1 respectively. Created one hwmod with three irq and memory resources. Cc: Benoit Cousson Cc: Keshava Munegowda Signed-off-by: Ajay Kumar Gupta S

[PATCH 2/6 v2] omap: musb: Adding support for ti81xx

2011-09-07 Thread Ajay Kumar Gupta
From: Ravi Babu Added musb support for ti81xx platform which has two instances of musb interface and uses CPPI4.1 DMA. The current patch set adds support for single instance and in PIO mode only. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/usb-musb.c |

[PATCH v2] omap3: ISP: Fix the failure of CCDC capture during suspend/resume

2011-09-07 Thread Deepthy Ravi
From: Abhilash K V While resuming from the "suspended to memory" state, occasionally CCDC fails to get enabled and thus fails to capture frames any more till the next suspend/resume is issued. This is a race condition which happens only when a CCDC frame-completion ISR is pending even as ISP devi

[PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers

2011-09-07 Thread Mans Rullgard
This adds MODULE_ALIAS directives to the omap-mcbsp-dai and omap-pcm-audio drivers so they can be auto-loaded when platform devices are scanned. Signed-off-by: Mans Rullgard --- sound/soc/omap/omap-mcbsp.c |1 + sound/soc/omap/omap-pcm.c |1 + 2 files changed, 2 insertions(+), 0 deleti

Re: [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers

2011-09-07 Thread Mark Brown
On Wed, Sep 07, 2011 at 12:07:21PM +0100, Mans Rullgard wrote: > This adds MODULE_ALIAS directives to the omap-mcbsp-dai and > omap-pcm-audio drivers so they can be auto-loaded when platform > devices are scanned. Acked-by: Mark Brown -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers

2011-09-07 Thread Jarkko Nikula
Hi On 09/06/2011 11:14 PM, Mans Rullgard wrote: This adds MODULE_ALIAS directives to the omap-mcbsp-dai and omap-pcm-audio drivers so they can be auto-loaded when platform devices are scanned. Signed-off-by: Mans Rullgard --- sound/soc/omap/omap-mcbsp.c |2 ++ sound/soc/omap/omap-pcm.c

Re: [linux-pm] Issue: Runtime API usage in wake-up device irq_handler during wakeup from system-wide-suspend.

2011-09-07 Thread Kevin Hilman
Tero Kristo writes: > Hi, > > On Sat, 2011-08-27 at 21:42 +0200, Alan Stern wrote: >> On Sat, 27 Aug 2011, Santosh wrote: >> >> > On Saturday 27 August 2011 07:31 PM, Alan Stern wrote: >> > > On Sat, 27 Aug 2011, Santosh wrote: >> > > >> > >> I might be wrong here, but after discussion with Govi

[PATCH 2/3] iommu/omap: migrate to the generic fault report mechanism

2011-09-07 Thread Ohad Ben-Cohen
Start using the generic fault report mechanism, as provided by the IOMMU core, and remove the now-redundant omap_iommu_set_isr API. Always use the generic IOMMU_ERROR event type as we're only interested in letting upper layers know about the error, so in case the faulting device is a remote proces

[PATCH 1/3] iommu/core: add fault reporting mechanism

2011-09-07 Thread Ohad Ben-Cohen
Add iommu fault report mechanism to the IOMMU API, so implementations could report about mmu faults (translation errors, hardware errors, etc..). Fault reports can be used in several ways: - mere logging - reset the device that accessed the faulting address (may be necessary in case the device i

[PATCH 3/3] iommu/core: split mapping to page sizes as supported by the hardware

2011-09-07 Thread Ohad Ben-Cohen
When mapping a memory region, split it to page sizes as supported by the iommu hardware. Always prefer bigger pages, when possible, in order to reduce the TLB pressure. The logic to do that is now added to the IOMMU core, so neither the iommu drivers themselves nor users of the IOMMU API have to d

Re: [PATCH 00/10] OMAP: voltage cleanup part B: VC cleanup

2011-09-07 Thread Jean Pihet
Kevin, On Mon, Aug 29, 2011 at 7:49 PM, Kevin Hilman wrote: > This series focuses on cleanup and better abstraction in the voltage > controller (VC) layer. > > Available in the pm-wip/voltdm_b branch of my linux-omap-pm tree > git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.gi

Re: [PATCH 00/22] OMAP: voltage cleanup part A

2011-09-07 Thread Jean Pihet
Kevin, On Mon, Aug 29, 2011 at 7:35 PM, Kevin Hilman wrote: > This is the first phase of the OMAP voltage layer cleanup.  The > primary goal is to cleanup/reorganize data structures to facilitate > splitting apart the voltage processor (VP) and voltage controller (VC) > into separate layers. > >

Re: [PATCH 0/7] OMAP: voltage cleanup part D: voltage domain

2011-09-07 Thread Jean Pihet
Hi Kevin, On Mon, Aug 29, 2011 at 8:10 PM, Kevin Hilman wrote: > This series focuses on cleanup of the remaining voltage domain layer > (non-VC/VP code) > > Available in the pm-wip/voltdm_d branch of my linux-omap-pm tree > git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git >

Re: [PATCH 6/6 v2] usb: musb: Add support for ti81xx platform

2011-09-07 Thread Felipe Balbi
Hi, On Wed, Sep 07, 2011 at 10:32:25PM +0530, Ajay Kumar Gupta wrote: > +static int __devinit dsps_probe(struct platform_device *pdev) > +{ > + const struct platform_device_id *id = platform_get_device_id(pdev); > + const struct dsps_musb_wrapper *wrp = > + (str

Re: [PATCH 00/12] OMAP: voltage cleanup part C: VP cleanup

2011-09-07 Thread Jean Pihet
Kevin, On Mon, Aug 29, 2011 at 7:58 PM, Kevin Hilman wrote: > This series focuses on cleanup and better abstraction in the voltage > processor (VP) layer. > > Available in the pm-wip/voltdm_c branch of my linux-omap-pm tree > git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git

Re: [PATCH 2/8] OMAP3+: PM: VP: generalize PRM interrupt helpers

2011-09-07 Thread Jean Pihet
Mike, Kevin, On Thu, Jun 30, 2011 at 2:25 AM, Mike Turquette wrote: > From: Nishanth Menon > > We have multiple interrupt status hidden in the PRM interrupt status > reg. Make this handling generic to allow us to pull out LDO status such > as those for ABB from it using the same data structure a

Re: [PATCH 4/8] OMAP3+: ABB: Adaptive Body-Bias structures & data

2011-09-07 Thread Jean Pihet
Hi Mike, On Thu, Jun 30, 2011 at 2:25 AM, Mike Turquette wrote: > Due to voltage domain trimming and silicon characterstics some silicon > may experience instability when operating at a high voltage.  To > compensate for this an Adaptive Body-Bias ldo exists.  First featured in > OMAP3630, the pu

Re: [RFC PATCH 06/10] hwspinlock: OMAP4: Add spinlock support in DT

2011-09-07 Thread Ohad Ben-Cohen
On Wed, Aug 24, 2011 at 4:09 PM, Benoit Cousson wrote: > Add a device-tree node for the spinlock. > Remove the static device build code if CONFIG_OF > is set. > Update the hwspinlock driver to use the of_match method. > Add the information in Documentation/devicetree. > > Signed-off-by: Benoit Cou

Re: [PATCH 7/8] OMAP3+: ABB: initialization & transition functions

2011-09-07 Thread Jean Pihet
Mike, I have a minor comment below. On Thu, Jun 30, 2011 at 2:25 AM, Mike Turquette wrote: > The Adaptive Body-Bias ldo can be set to bypass or Forward Body-Bias > after voltage scaling is performed. > > This patch implements the Adaptive Body-Bias ldo initialization routine > and the transition

Re: [PATCH 00/14] McBSP cleanup and generalization

2011-09-07 Thread Janusz Krzysztofik
On Wed, 31 Aug 2011 at 17:22:47 Jarkko Nikula wrote: > Hi > > Updates and continuation to my McBSP cleanup RFC set I sent before > vacation period. Motivation here is to get rid off all is_omap and > CONFIG_ARCH stuff and to make code a step more generic (and for > preparing to move code out under

RE: [RFC PATCH v2 5/6] TI81XX: Add minimal hwmod data

2011-09-07 Thread Pedanekar, Hemant
Hilman, Kevin wrote on Tuesday, August 30, 2011 6:03 AM: > Hemant Pedanekar writes: > >> This patch adds minimum required hwmod data (e.g., UARTs) for bootup of >> TI81XX devices (currently common data for TI816X and TI814X is added). >> >> Signed-off-by: Hemant Pedanekar > > I haven't looked

RE: [PATCH 3/3] TI814X: Create board support and enable build for TI8148 EVM

2011-09-07 Thread Pedanekar, Hemant
Hilman, Kevin wrote on Tuesday, August 30, 2011 5:43 AM: > Hemant Pedanekar writes: > >> This patch adds minimal support and build configuration for TI8148 EVM. >> Also adds support for low level debugging on UART1 console on the EVM. >> >> Signed-off-by: Hemant Pedanekar > > [...] > >> +sta

Re: [linux-pm] Issue: Runtime API usage in wake-up device irq_handler during wakeup from system-wide-suspend.

2011-09-07 Thread Tero Kristo
On Wed, 2011-09-07 at 19:59 +0200, Hilman, Kevin wrote: > Tero Kristo writes: > > > Hi, > > > > On Sat, 2011-08-27 at 21:42 +0200, Alan Stern wrote: > >> On Sat, 27 Aug 2011, Santosh wrote: > >> > >> > On Saturday 27 August 2011 07:31 PM, Alan Stern wrote: > >> > > On Sat, 27 Aug 2011, Santosh w

[PATCH 0/8] OMAP3/4: Misc fixes and clean-up

2011-09-07 Thread Santosh Shilimkar
The series contains few fixes and clean-up for OMAP. Briefly, - HWMOD fix for the address space count - Improving the L3 register accesses - Bug fix in the L3 error handler - Sparce warning and indentation fixes in L3 error handler - Print master id in case of L3 custom errors for better debug. - A

[PATCH 1/8] OMAP: hwmod: Fix the addr spaces count API.

2011-09-07 Thread Santosh Shilimkar
From: sricharan The address space count API returns the number of address space entries for a hwmod including a additional null value present in the address space structure introduced recently. The devices which have multiple hwmods and use device_build_ss are broken with this, as their address r

[PATCH 3/8] OMAP: Fix a BUG in l3 error handler.

2011-09-07 Thread Santosh Shilimkar
From: Todd Poynor With the current sequence of registering the irq and assigning it to the app_irq, debug_irq driver variables, there can be corner cases where the pending irq gets triggered immediately after registering, handler gets called resulting in a crash. So changed this sequence. Signed

[PATCH 4/8] OMAP: Fix indentation issues in l3 error handler.

2011-09-07 Thread Santosh Shilimkar
From: sricharan The indentation problems in the l3 noc and smx error handler files are fixed. Signed-off-by: sricharan Signed-off-by: Santosh Shilimkar Reported-by: Paul Walmsley Cc: Paul Walmsley --- arch/arm/mach-omap2/omap_l3_noc.c | 58 +++--- arch/arm/mach-omap2/omap_l3_noc.h

[PATCH 8/8] OMAP4: Fix the emif and dmm virtual mapping

2011-09-07 Thread Santosh Shilimkar
Fix the address overlap with Emulation domain (EMU). The previous mapping was entering into EMU mapping and was not as per comments. Fix the mapping accordingly. [giris...@ti.com: Helped fixing comments.] Signed-off-by: Girish S G Signed-off-by: Santosh Shilimkar --- arch/arm/plat-omap/include

[PATCH 7/8] OMAP4: clock: Add CPU local timer clock node.

2011-09-07 Thread Santosh Shilimkar
Local timer clock is sourced from the CPU clock and hence changes along with CPU clock. These per CPU local timers are used as clock-events, so they need to be reconfigured on CPU frequency change as part of CPUfreq governor. Newly introduced clockevents_reconfigure() needs to know the twd clock-r

[PATCH 6/8] OMAP: Print Initiator name for l3 custom error.

2011-09-07 Thread Santosh Shilimkar
From: sricharan The initiator id gets logged in the l3 target registers for custom error. So print it to aid debugging. Based on a internal patch by Devaraj Rangasamy Signed-off-by: sricharan Signed-off-by: Santosh Shilimkar --- arch/arm/mach-omap2/omap_l3_noc.c | 26 -

[PATCH 2/8] OMAP: Improve register access in L3 Error handler.

2011-09-07 Thread Santosh Shilimkar
From: Todd Poynor * Changed the way of accessing L3 target registers from standard base rather than relative to STDERRLOG_MAIN. * Use ffs() to find error source from the L3_FLAGMUX_REGERRn register. * Remove extra l3_base[] entry. * Modified L3 custom error message. Signed-off-by: Todd

[PATCH 5/8] OMAP: Fix sparse warnings in l3 error handler.

2011-09-07 Thread Santosh Shilimkar
From: sricharan Fix below sparse warnings from the l3-noc and l3-smx error handlers files. arch/arm/mach-omap2/omap_l3_smx.h:209:22: warning: symbol 'omap3_l3_app_bases' was not declared. Should it be static? arch/arm/mach-omap2/omap_l3_smx.h:308:22: warning: symbol 'omap3_l3_debug_bases' was

Re: [alsa-devel] [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers

2011-09-07 Thread Jarkko Nikula
On 09/07/2011 08:10 PM, Mark Brown wrote: On Wed, Sep 07, 2011 at 12:07:21PM +0100, Mans Rullgard wrote: This adds MODULE_ALIAS directives to the omap-mcbsp-dai and omap-pcm-audio drivers so they can be auto-loaded when platform devices are scanned. Acked-by: Mark Brown Now looks good. Acke

Re: [PATCH 1/6 v2] omap: musb: Adding hwmod data for ti81xx

2011-09-07 Thread Munegowda, Keshava
On Wed, Sep 7, 2011 at 10:32 PM, Ajay Kumar Gupta wrote: > From: Ravi Babu > > The usb subsystem (usbss) in ti81xx has two musb interfaces. There are three > irqs and three address spaces for usbss, musb0 and musb1 respectively. Created > one hwmod with three irq and memory resources. > > Cc: Ben

Re: Tasks schedule/migration issue with CPU hotplug?

2011-09-07 Thread TAO HU
Resend with linux-kernel mail list included. On Wed, Sep 7, 2011 at 10:22 PM, TAO HU wrote: > Hi, All > > We seems got a schedule/migration issue in a OMAP4430 dual-core system. > The kernel base is 2.6.35.7 and we're using CFS. > > In a stress testing, we created a huge amount of processes/threa