Re: [RFC 5/5] iommu/omap: eliminate the public omap_find_iommu_device() method

2011-11-09 Thread Ohad Ben-Cohen
Hi Laurent, On Tue, Sep 27, 2011 at 2:46 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Sunday 25 September 2011 12:58:57 Ohad Ben-Cohen wrote: Eliminate the public omap_find_iommu_device() method, and don't expect clients to provide the omap_iommu handle anymore. Instead,

Re: [RFC 4/5] ARM: OMAP3: bind omap3isp_device to its iommu device

2011-11-09 Thread Laurent Pinchart
Hi Ohad, On Sunday 25 September 2011 12:58:56 Ohad Ben-Cohen wrote: Bind OMAP3's isp device to the isp's dedicated iommu, by setting the device's archdata iommu member. This way omap3isp will be able to use the generic IOMMU API without having to call any omap-specific binding method.

Re: [RFC 5/5] iommu/omap: eliminate the public omap_find_iommu_device() method

2011-11-09 Thread Laurent Pinchart
Hi Ohad, On Wednesday 09 November 2011 09:50:30 Ohad Ben-Cohen wrote: On Tue, Sep 27, 2011 at 2:46 PM, Laurent Pinchart wrote: On Sunday 25 September 2011 12:58:57 Ohad Ben-Cohen wrote: Eliminate the public omap_find_iommu_device() method, and don't expect clients to provide the omap_iommu

Re: [RFC 4/5] ARM: OMAP3: bind omap3isp_device to its iommu device

2011-11-09 Thread Ohad Ben-Cohen
On Wed, Nov 9, 2011 at 11:17 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Ohad, On Sunday 25 September 2011 12:58:56 Ohad Ben-Cohen wrote: Bind OMAP3's isp device to the isp's dedicated iommu, by setting the device's archdata iommu member. This way omap3isp will be able

Re: [PATCH] ARM: OMAP: omap_device: Expose omap_device_{alloc, delete, register}

2011-11-09 Thread Ohad Ben-Cohen
Hi Kevin, On Mon, Oct 17, 2011 at 1:41 PM, Ohad Ben-Cohen o...@wizery.com wrote: Expose omap_device_{alloc, delete, register} so we can use them outside of omap_device.c. Can you please take this one ? Please tell me if you want a refreshed version against 3.2-rc1. Thanks! Ohad. This

Re: [PATCH v5 4/7] arm: omap4: hwmod: introduce emu hwmod

2011-11-09 Thread Ming Lei
Hi, Thanks for your comments. On Tue, Nov 8, 2011 at 11:26 PM, Paul Walmsley p...@pwsan.com wrote: +static struct omap_hwmod_irq_info omap44xx_emu_irqs[] = { +     { .name = cti0, .irq = 1 + OMAP44XX_IRQ_GIC_START }, +     { .name = cti1, .irq = 2 + OMAP44XX_IRQ_GIC_START }, +     { .irq =

Beagleboard xM and secure privileged mode

2011-11-09 Thread Antti P Miettinen
Hello, Is there any way to perform Cortex-A8 operations that require secure privileged mode on DM3730, for example inspecting L2 tag RAM? -- Antti P Miettinen http://www.iki.fi/~ananaza/ -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: [PATCH 1/4] AM35xx: DSS: there is no VDDS_DSI on AM35xx

2011-11-09 Thread Archit Taneja
Hi, On Wednesday 09 November 2011 05:42 AM, Ilya Yanok wrote: AM35xx don't have VDDS_DSI regulator. AM35xx do have vdds_dsi regulator. Are you saying that your particular board doesn't have vdds_dsi connected to a regulator? I assumed that vdds_dsi regulator was required for DPI to

RE: [PATCH] ARM: OMAP: PM: only register TWL with voltage layer when device is present

2011-11-09 Thread Premi, Sanjeev
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Hilman, Kevin Sent: Wednesday, November 09, 2011 5:45 AM To: linux-omap@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org; Koyamangalath, Abhilash Subject:

Re: [PATCH] CPUIdle: Reevaluate C-states under CPU load to favor deeper C-states

2011-11-09 Thread Deepthi Dharwar
On Saturday 05 November 2011 03:16 AM, Kevin Hilman wrote: ping v2 Kevin Hilman khil...@ti.com writes: From: Nicole Chalhoub n-chalh...@ti.com While there is CPU load, program a C-state specific one-shot timer in order to give CPUidle another opportunity to pick a deeper C-state instead

Re: [PATCH v5 4/7] arm: omap4: hwmod: introduce emu hwmod

2011-11-09 Thread Ming Lei
Hi, On Tue, Nov 8, 2011 at 11:42 PM, Paul Walmsley p...@pwsan.com wrote: Hi I just read http://comments.gmane.org/gmane.comp.embedded.pandaboard/168 Looks to me that the L3_EMU interconnect and the emulation IP blocks need You mean the emu hwmod in the patch should be kept and a new

[PATCH] OMAP2+: Fix Compilation error when omap_l3_noc built as module

2011-11-09 Thread Govindraj.R
Fix below compilation failure on mainline kernel 3.2-rc1 when omap_l3_noc.c is built as module. arch/arm/mach-omap2/omap_l3_noc.c:240: error: expected ',' or ';' before 'MODULE_DEVICE_TABLE' Signed-off-by: Govindraj.R govindraj.r...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com

Re: [PATCH] OMAP2+: Fix Compilation error on current mainline

2011-11-09 Thread Govindraj
On Tue, Nov 8, 2011 at 8:55 PM, Cousson, Benoit b-cous...@ti.com wrote: On 11/8/2011 12:59 PM, Govindraj wrote: On Tue, Nov 8, 2011 at 4:24 PM, Santosh Shilimkar santosh.shilim...@ti.com  wrote: [...] Opps. I missed that one while acking the patch. Indeed the semi-colon one was agreed to

[RFC][PATCH] gpiolib: add irq_wake (power-management) sysfs file

2011-11-09 Thread Patrick Combes
From: Hugo Dupras h-dup...@ti.com By calling poll() on the /sys/class/gpio/gpioN/value sysfs file, usermode application can take benefit of gpio interrupts. However, depending on the power state reached, this interrupt may not wake-up the CPU. This patch creates a new sysfs file

RE: [PATCH] CPUIdle: Reevaluate C-states under CPU load to favor deeper C-states

2011-11-09 Thread Chalhoub, Nicole
Hi Deepthi, Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920 -Original Message- From: Deepthi Dharwar [mailto:deep...@linux.vnet.ibm.com] Sent: Wednesday, November 09, 2011 12:13 PM To: Hilman, Kevin Cc:

Re: [PATCH] input: ams_delta_serio: include linux/module.h

2011-11-09 Thread Dmitry Torokhov
On Wed, Nov 09, 2011 at 08:06:45PM +0200, Aaro Koskinen wrote: Fix the following compilation failure with v3.2-rc1 by including module.h: CC drivers/input/serio/ams_delta_serio.o drivers/input/serio/ams_delta_serio.c:33:15: error: expected declaration specifiers or '...' before

[PATCH] input: ams_delta_serio: include linux/module.h

2011-11-09 Thread Aaro Koskinen
Fix the following compilation failure with v3.2-rc1 by including module.h: CC drivers/input/serio/ams_delta_serio.o drivers/input/serio/ams_delta_serio.c:33:15: error: expected declaration specifiers or '...' before string constant drivers/input/serio/ams_delta_serio.c:34:20: error:

Re: [PATCH 1/4] AM35xx: DSS: there is no VDDS_DSI on AM35xx

2011-11-09 Thread Ilya Yanok
Hi Archit, 09.11.2011 14:10, Archit Taneja wrote: AM35xx don't have VDDS_DSI regulator. AM35xx do have vdds_dsi regulator. Are you saying that your particular board doesn't have vdds_dsi connected to a regulator? Yes, you are right. But looking at the manual (and name) I think it's needed

Re: Pet Peaves about Platform code, and arch_reset

2011-11-09 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [07 16:11]: * Russell King - ARM Linux li...@arm.linux.org.uk [06 05:18]: Here's a list of my peaves about current platform code - which are causing me great issue when trying to clean up the arch_reset() stuff: 1. Lack of trailing ',' on

3.2-rc1 boot broken on OMAP1 / Amstrad E3

2011-11-09 Thread Aaro Koskinen
Hi, Has anyone managed to boot 3.2-rc1 on OMAP1? On Amstrad E3 it seems to hang at very early on the boot (below output is with earlyprintk enabled): Uncompressing Linux... done, booting the kernel. [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.2.0-rc1-e3

Re: 3.2-rc1 boot broken on OMAP1 / Amstrad E3

2011-11-09 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [09 14:19]: Hi, Has anyone managed to boot 3.2-rc1 on OMAP1? On Amstrad E3 it seems to hang at very early on the boot (below output is with earlyprintk enabled): Uncompressing Linux... done, booting the kernel. [0.00] Initializing

[PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-09 Thread Tony Lindgren
Commit 7b88e62f5d219a86d81bdf4388012c97dc42e8f8 (ARM: OMAP1: Use generic map_io, init_early and init_irq) changed omap1 to use generic map_io. Looks like I missed one board though. Fix this by adding a custom map_io for Amstrad E3. Reported-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by:

Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-09 Thread Russell King - ARM Linux
On Wed, Nov 09, 2011 at 03:25:25PM -0800, Tony Lindgren wrote: Commit 7b88e62f5d219a86d81bdf4388012c97dc42e8f8 (ARM: OMAP1: Use generic map_io, init_early and init_irq) changed omap1 to use generic map_io. Looks like I missed one board though. Fix this by adding a custom map_io for Amstrad

Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-09 Thread Aaro Koskinen
Hi, On 10.11.2011, at 1.39, Russell King - ARM Linux wrote: On Wed, Nov 09, 2011 at 03:25:25PM -0800, Tony Lindgren wrote: Commit 7b88e62f5d219a86d81bdf4388012c97dc42e8f8 (ARM: OMAP1: Use generic map_io, init_early and init_irq) changed omap1 to use generic map_io. Looks like I missed one

Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-09 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [09 15:25]: Hi, On 10.11.2011, at 1.39, Russell King - ARM Linux wrote: On Wed, Nov 09, 2011 at 03:25:25PM -0800, Tony Lindgren wrote: Commit 7b88e62f5d219a86d81bdf4388012c97dc42e8f8 (ARM: OMAP1: Use generic map_io, init_early and init_irq) changed

Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-09 Thread Aaro Koskinen
Hi, On 10.11.2011, at 2.04, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [09 15:25]: On 10.11.2011, at 1.39, Russell King - ARM Linux wrote: On Wed, Nov 09, 2011 at 03:25:25PM -0800, Tony Lindgren wrote: Commit 7b88e62f5d219a86d81bdf4388012c97dc42e8f8 (ARM: OMAP1: Use

Re: [PATCH v4 2/7] iommu/core: split mapping to page sizes as supported by the hardware

2011-11-09 Thread Kai Huang
-int iommu_unmap(struct iommu_domain *domain, unsigned long iova, int gfp_order) +size_t iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size)  { -       size_t size, unmapped; +       size_t unmapped_page, unmapped = 0; +       unsigned int min_pagesz;        if

Re: [PATCH 1/4] AM35xx: DSS: there is no VDDS_DSI on AM35xx

2011-11-09 Thread Archit Taneja
Hi, On Wednesday 09 November 2011 11:56 PM, Ilya Yanok wrote: Hi Archit, 09.11.2011 14:10, Archit Taneja wrote: AM35xx don't have VDDS_DSI regulator. AM35xx do have vdds_dsi regulator. Are you saying that your particular board doesn't have vdds_dsi connected to a regulator? Yes, you are

Re: [PATCH v4 2/7] iommu/core: split mapping to page sizes as supported by the hardware

2011-11-09 Thread Ohad Ben-Cohen
On Thu, Nov 10, 2011 at 8:17 AM, Kai Huang mail.kai.hu...@gmail.com wrote: Seems the unmap function don't take phys as parameter, does this mean domain-ops-unmap will walk through the page table to find out the actual page size? The short answer is yes, and furthermore, we also consider to