Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-19 Thread Zach Pfeffer
On Thu, Jul 15, 2010 at 09:55:35AM +0100, Russell King - ARM Linux wrote: On Wed, Jul 14, 2010 at 06:29:58PM -0700, Zach Pfeffer wrote: The VCM ensures that all mappings that map a given physical buffer: IOMMU mappings, CPU mappings and one-to-one device mappings all map that buffer using

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-19 Thread Eric W. Biederman
Zach Pfeffer zpfef...@codeaurora.org writes: On Thu, Jul 15, 2010 at 09:55:35AM +0100, Russell King - ARM Linux wrote: On Wed, Jul 14, 2010 at 06:29:58PM -0700, Zach Pfeffer wrote: The VCM ensures that all mappings that map a given physical buffer: IOMMU mappings, CPU mappings and

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-19 Thread Russell King - ARM Linux
On Wed, Jul 14, 2010 at 06:41:48PM -0700, Zach Pfeffer wrote: On Thu, Jul 15, 2010 at 08:07:28AM +0900, FUJITA Tomonori wrote: Why we we need a new abstraction layer to solve the problem that the current API can handle? The current API can't really handle it because the DMA API doesn't

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-19 Thread Tim HRM
On Fri, Jul 16, 2010 at 8:01 PM, Larry Bassel lbas...@codeaurora.org wrote: On 16 Jul 10 08:58, Russell King - ARM Linux wrote: On Thu, Jul 15, 2010 at 08:48:36PM -0400, Tim HRM wrote: Interesting, since I seem to remember the MSM devices mostly conduct IO through regions of normal RAM,

[PATCH 0/5] OMAP: DSS2: Video3 pipeline support for OMAP4

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com This patch incorporates the Video3 pipeline of OMAP4 in the exisiting DSS2 framework. It introduces the Video3 pipeline registers and adds a new overlay object to support this pipeline. Apart from this, bit field changes have been introduced for all video

[PATCH 1/5] OMAP: DSS2: Add Video3 pipeline in display.h

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com Changes in display.h for enabling Video3 pipeline in DSS2 for OMAP4. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Mukund Mittal mmit...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- arch/arm/plat-omap/include/plat/display.h |5

[PATCH 2/5] OMAP: DSS2: Add Video 3 pipeline functionality in DISPC

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com VID3 and Writeback pipeline registers have a linear relation, this patch introduces these registers and adds Video3 pipeline support for the dispc functions. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Mukund Mittal mmit...@ti.com

[PATCH 4/5] OMAP: DSS2: Video3 pipeline IRQs

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com Introduce Video3 pipeline IRQS for dumps and error handling Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Mukund Mittal mmit...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- arch/arm/plat-omap/include/plat/display.h |2 ++

[PATCH 5/5] OMAP: DSS2: Context Save and Restore of Video3 pipeline registers

2010-07-19 Thread Archit Taneja
From: Mayuresh Janorkar ma...@ti.com Context Save and Restore of Video3 pipeline registers. Signed-off-by: Mayuresh Janorkar ma...@ti.com Signed-off-by: Mukund Mittal mmit...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/dispc.c | 104

[PATCH 3/5] OMAP: DSS2: Add new overlay object for Video3 pipeline

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com Add new overlay object for the Video3 pipeline in overlay.c. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Mukund Mittal mmit...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/manager.c | 13 +++--

[PATCH 0/3] OMAP: DSS2: Add Zorder Support on OMAP4

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com This patch series adds Zorder Support on OMAP4, this feature allows deciding the visibility order of the overlays based on the Zorder value given to a sysfs attribute of the overlay object. Since this feature is not supported on OMAP3 and OMAP2, the sysfs

[PATCH 1/3] OMAP: DSS2: Zorder enum in display.h

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com Add Zorder enum in display.h Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Samreen samr...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- arch/arm/plat-omap/include/plat/display.h |8 1 files changed, 8 insertions(+), 0

[PATCH 2/3] OMAP: DSS2: Zorder functions for DISPC

2010-07-19 Thread Archit Taneja
From: Sumit Semwal sumit.sem...@ti.com Adds OMAP4 Zorder support by introducing Zorder set and enable functions in dispc. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Samreen samr...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/dispc.c | 23

[PATCH 3/3] OMAP: DSS2: Zorder sysfs attributes, out of bound checks and initialization

2010-07-19 Thread Archit Taneja
Add Zorder as a overlay sysfs attribute, check for out of bound entries and initialize Zorder values for overlay objects. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Samreen samr...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/overlay.c | 51

[PATCH 2/5] omap:hwspinlock-define HWSPINLOCK base address

2010-07-19 Thread Hari Kanigeri
From: Simon Que s...@ti.com Add HWSPINLCOK base address information in omap44xx.h Signed-off-by: Simon Que s...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/plat-omap/include/plat/omap44xx.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[PATCH 1/5] omap:hwmod-hwspinlock-enable

2010-07-19 Thread Hari Kanigeri
From: Simon Que s...@ti.com uncomment the hwmod part for hwspinlock Signed-off-by: Simon Que s...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 3/5] omap:hwspinlock-added hwspinlock driver

2010-07-19 Thread Hari Kanigeri
From: Simon Que s...@ti.com Created driver for OMAP hardware spinlock. This driver supports: - Reserved spinlocks for internal use - Dynamic allocation of unreserved locks - Lock, unlock, and trylock functions, with or without disabling irqs/preempt - Registered as a platform device driver The

[PATCH 0/5] omap:hwspinlock support-omap4

2010-07-19 Thread Hari Kanigeri
Resending the hwspinlock patch Simon Que sent few days ago by splitting the patch into logical pieces. The first 4 patches are based on Simon's patch. https://patchwork.kernel.org/patch/110672/ The 5th patch is a new patch to address race condition issue with I2C driver usage. Created driver

[PATCH 5/5] omap:hwspinlocks-ensure the order of registration

2010-07-19 Thread Hari Kanigeri
Ensure that the hwspinlock driver is registered prior to I2C driver registration since I2C is dependent on hwspinlock. Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/hwspinlocks.c |2 +- arch/arm/plat-omap/hwspinlock.c |3 +-- 2 files changed, 2 insertions(+),

[PATCH 4/5] omap:hwspinlock-add build support

2010-07-19 Thread Hari Kanigeri
From: Simon Que s...@ti.com Patch to add suport to build hwspinlock modules Signed-off-by: Simon Que s...@ti.com --- arch/arm/mach-omap2/Makefile |2 ++ arch/arm/plat-omap/Makefile |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-19 Thread Michael Bohan
On 7/16/2010 12:58 AM, Russell King - ARM Linux wrote: As the patch has been out for RFC since early April on the linux-arm-kernel mailing list (Subject: [RFC] Prohibit ioremap() on kernel managed RAM), and no comments have come back from Qualcomm folk. Would it be unreasonable to allow a

Re: [PATCH] mfd: twl4030: Driver for twl4030 madc module

2010-07-19 Thread Michael Trimarchi
Hi all Janakiram Sistla wrote: On Mon, Jul 19, 2010 at 10:46 AM, Michael Trimarchi mich...@panicking.kicks-ass.org wrote: Janakiram Sistla wrote: drivers/mfd/Kconfig | 21 ++ drivers/mfd/Makefile |3 +- drivers/mfd/twl4030-madc.c | 548

RE: [PATCH v2] omap hsmmc: fix processing of all dma interrupts as block completion

2010-07-19 Thread Madhusudhan
-Original Message- From: Venkatraman S [mailto:svenk...@ti.com] Sent: Friday, July 16, 2010 4:21 AM To: linux-mmc Cc: linux-omap; Venkatraman S; Madhusudhan Chikkature; Andrew Morton Subject: [PATCH v2] omap hsmmc: fix processing of all dma interrupts as block completion If

Re: [PATCH] [SPI] SPI100k: Fix 8-bit and RX-only transfers

2010-07-19 Thread Cory Maccarrone
On Sat, May 29, 2010 at 6:12 PM, Cory Maccarrone darkstar6...@gmail.com wrote: This change fixes 8-bit transfers and RX-only transfers.  The SPI100k framework requires minimum 16-bit words to be written, so 8-bit transfers must be shited by 8 bits and sent out as a 16-bit word. Additionally,

[PATCH 0/7] HTC Herald various device support

2010-07-19 Thread Cory Maccarrone
This patch set is an updated version of a series of patches I submitted a while ago. It's built against the latest linux-omap master branch, and removes all defconfig updates. Other comments were put in place as well. This patch set implements the following drivers and support for them into the

[PATCH 1/7] [OMAP] gpio: Allow for extended GPIO space

2010-07-19 Thread Cory Maccarrone
This change copies from the s3c24xx the ability for a board to specify if it wants 64 or 128 more GPIOs in the board space. This is needed to get the HTC Herald board's extra htcpld gpios to work as actual gpios. Signed-off-by: Cory Maccarrone darkstar6...@gmail.com ---

[PATCH 2/7] [OMAP] Add allowance for extra IRQ space

2010-07-19 Thread Cory Maccarrone
This change adds a configuration option that boards can specify that gives them an additional 64 or 128 IRQ lines to play with. This is most useful if there are external interrupt-producing devices connected to the board. Signed-off-by: Cory Maccarrone darkstar6...@gmail.com ---

[PATCH 4/7] [OMAP] htcherald: SPI register config, TSC2046 touchscreen

2010-07-19 Thread Cory Maccarrone
This change adds SPI bus support for the HTC Herald, and adds in support for the TSC2046-based touchscreen attached to this device (using the ADS7846 driver). Signed-off-by: Cory Maccarrone darkstar6...@gmail.com --- arch/arm/mach-omap1/board-htcherald.c | 35 +

[PATCH 5/7] [omap1] omap7xx clocks, mux, serial fixes

2010-07-19 Thread Cory Maccarrone
This change adds in the necessary clocks and mux pins for UART control on omap7xx devices. I also made a change in the serial code to only try and initialize two UARTs in omap_serial_init, as these devices don't have three. Signed-off-by: Cory Maccarrone darkstar6...@gmail.com ---

[PATCH 6/7] [omap1] Bluetooth device code common to HTC smartphones

2010-07-19 Thread Cory Maccarrone
This change adds in a bluetooth controld driver/rfkill interface to the serial bluetooth controller found on many HTC smartphones such as the HTC Herald and HTC Wizard. Signed-off-by: Cory Maccarrone darkstar6...@gmail.com --- arch/arm/mach-omap1/htc-bt.c | 183

[PATCH 7/7] [htcherald] Add board support for UARTs, bluetooth

2010-07-19 Thread Cory Maccarrone
This change adds bluetooth and UART initialization support to the HTC Herald board driver. This allows use of the serial bluetooth adapter attached to UART1 using hciattach. Signed-off-by: Cory Maccarrone darkstar6...@gmail.com --- arch/arm/mach-omap1/Makefile |2 +-

RE: [PATCH 0/5] omap:hwspinlock support-omap4

2010-07-19 Thread Shilimkar, Santosh
Hari, -Original Message- From: Kanigeri, Hari Sent: Monday, July 19, 2010 10:20 PM To: Linux Omap; Tony Lindgren Cc: Shilimkar, Santosh; Cousson, Benoit; Que, Simon; Kanigeri, Hari Subject: [PATCH 0/5] omap:hwspinlock support-omap4 Resending the hwspinlock patch Simon Que sent few