Re: Re: [PATCH 0/3] Support Samsung S5P OHCI device and driver

2011-12-09 Thread Greg KH
On Thu, Dec 01, 2011 at 07:10:17PM +0900, Kukjin Kim wrote: > Greg KH wrote: > > > > On Mon, Nov 21, 2011 at 11:57:16AM +, Jingoo Han wrote: > > > > -Original Message- > > > > From: Greg KH [mailto:g...@kroah.com] > > > > Sent: Friday, November 18, 2011 4:12 AM > > > > To: Jingoo Han >

Re: [PATCH v2] ARM: S3C64XX: Implement basic power domain support

2011-12-09 Thread Rafael J. Wysocki
On Friday, December 09, 2011, Kukjin Kim wrote: > > > -Original Message- > > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > > Sent: Friday, December 09, 2011 7:55 AM > > To: Mark Brown > > Cc: Kukjin Kim; linux-arm-ker...@lists.infradead.org; linux-samsung- > > s...@vger.kernel.org > > Su

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-09 Thread Javi Merino
On 09/12/11 16:50, Jassi Brar wrote: > What do you think about ... > > diff --git a/arch/arm/common/pl330.c b/arch/arm/common/pl330.c > index f407a6b..3a51cdd 100644 > --- a/arch/arm/common/pl330.c > +++ b/arch/arm/common/pl330.c > @@ -1546,7 +1546,7 @@ int pl330_chan_ctrl(void *ch_id, enum pl330_

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-09 Thread Jassi Brar
On Fri, Dec 9, 2011 at 8:22 PM, Javi Merino wrote: > > I think the best solution would be to revert > ee3f615819404a9438b2dd01b7a39f276d2737f2 and go back to my original > patch (in the beginning of this thread): > > http://article.gmane.org/gmane.linux.ports.arm.kernel/133110 > > What do you thin

[PATCH 6/8] common: dma-mapping: change alloc/free_coherent method to more generic alloc/free_attrs

2011-12-09 Thread Marek Szyprowski
Introduce new alloc/free/mmap methods that take attributes argument. alloc/free_coherent can be implemented on top of the new alloc/free calls with NULL attributes. dma_alloc_non_coherent can be implemented using DMA_ATTR_NONCOHERENT attribute, dma_alloc_writecombine can also use separate DMA_ATTR_

[PATCH 2/8] ARM: dma-mapping: use asm-generic/dma-mapping-common.h

2011-12-09 Thread Marek Szyprowski
This patch modifies dma-mapping implementation on ARM architecture to use common dma_map_ops structure and asm-generic/dma-mapping-common.h helpers. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/Kconfig |1 + arch/arm/include/asm/device.h |

[PATCH 8/8] ARM: dma-mapping: add support for IOMMU mapper

2011-12-09 Thread Marek Szyprowski
This patch add a complete implementation of DMA-mapping API for devices that have IOMMU support. All DMA-mapping calls are supported. This patch contains some of the code kindly provided by Krishna Reddy and Andrzej Pietrasiewicz Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park A

[PATCH 3/8] ARM: dma-mapping: implement dma sg methods on top of any generic dma ops

2011-12-09 Thread Marek Szyprowski
This patch converts all dma_sg methods to be generic (independent of the current DMA mapping implementation for ARM architecture). All dma sg operations are now implemented on top of respective dma_map_page/dma_sync_single_for* operations from dma_map_ops structure. Signed-off-by: Marek Szyprowski

[PATCH 4/8] ARM: dma-mapping: move all dma bounce code to separate dma ops structure

2011-12-09 Thread Marek Szyprowski
This patch removes dma bounce hooks from the common dma mapping implementation on ARM architecture and creates a separate set of dma_map_ops for dma bounce devices. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/common/dmabounce.c| 62 ++-

[PATCH 7/8] ARM: dma-mapping: use alloc, mmap, free from dma_ops

2011-12-09 Thread Marek Szyprowski
This patch converts dma_alloc/free/mmap_{coherent,writecombine} functions to use generic alloc/free/mmap methods from dma_map_ops structure. A new DMA_ATTR_WRITE_COMBINE DMA attribute have been introduced to implement writecombine methods. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin P

[PATCH 5/8] ARM: dma-mapping: remove redundant code and cleanup

2011-12-09 Thread Marek Szyprowski
This patch just performs a global cleanup in DMA mapping implementation for ARM architecture. Some of the tiny helper functions have been moved to the caller code, some have been merged together. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mm/dma-mapping.c | 88 +

[PATCH 0/8 v4] ARM: DMA-mapping framework redesign

2011-12-09 Thread Marek Szyprowski
Hello, This is another update on my attempt on DMA-mapping framework redesign for ARM architecture. It includes a few minor changes since last version. We have focused mainly on IOMMU mapper, keeping the DMA-mapping redesign patches almost unchanged. All patches have been now rebased onto v3.2-rc

[PATCH 1/8] ARM: dma-mapping: remove offset parameter to prepare for generic dma_ops

2011-12-09 Thread Marek Szyprowski
This patch removes the need for offset parameter in dma bounce functions. This is required to let dma-mapping framework on ARM architecture use common, generic dma-mapping helpers. Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/common/dmabounce.c| 13 +--

[PATCH 3/3] s5p-g2d: add G2D to mach-universal

2011-12-09 Thread Kamil Debski
Signed-off-by: Kamil Debski Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-universal_c210.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index

[PATCH 2/3] s5p-g2d: add G2D to mach-nuri

2011-12-09 Thread Kamil Debski
Signed-off-by: Kamil Debski Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-nuri.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 0afcc3b..176092c 100

[PATCH 1/3] s5p-g2d: add G2D to plat-s5p and mach-exynos4

2011-12-09 Thread Kamil Debski
Signed-off-by: Kamil Debski Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/include/mach/map.h |3 +++ arch/arm/plat-s5p/Kconfig |5 + arch/arm/plat-samsung/devs.c | 28 arch/arm/plat-samsung/include/plat/devs.h |

[PATCH 0/3] Samsung S5P platform modification required for G2D driver

2011-12-09 Thread Kamil Debski
Hi, This series of patches contains necessary platform modification required by the G2D driver. G2D is a 2D-graphics acceleration engine present in the S5PC110 and Exynos4 Samsung SoCs. The patches have been rebased to the newest kgene/for-next branch. The driver is currently staging for 3.3 in M

Re: [CPUFREQ] EXYNOS: Make EXYNOS common cpufreq driver

2011-12-09 Thread Dave Jones
On Wed, Dec 07, 2011 at 11:44:21AM +0900, Kukjin Kim wrote: > From: Jaecheol Lee > > To support various EXYNOS series SoCs commonly, > added exynos common structure. > exynos-cpufreq.c => EXYNOS series common cpufreq driver > exynos4210-cpufreq.c => EXYNOS4210 support cpufreq driver > >

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-09 Thread Javi Merino
On 09/12/11 14:15, Jassi Brar wrote: > On Fri, Dec 9, 2011 at 7:11 PM, Javi Merino wrote: >> On 09/12/11 13:04, Jassi Brar wrote: >>> Hi Javi, >>> >>> On 9 December 2011 17:28, Javi Merino wrote: Javi, could you please check if you too get the memcpy failure with dmatest ?

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-09 Thread Jassi Brar
On Fri, Dec 9, 2011 at 7:11 PM, Javi Merino wrote: > On 09/12/11 13:04, Jassi Brar wrote: >> Hi Javi, >> >> On 9 December 2011 17:28, Javi Merino wrote: >>> >>> Javi, could you please check if you too get the memcpy failure with >>> dmatest ? >> Ok, I think I've just reproduced i

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-09 Thread Javi Merino
On 09/12/11 13:04, Jassi Brar wrote: > Hi Javi, > > On 9 December 2011 17:28, Javi Merino wrote: >> >> Javi, could you please check if you too get the memcpy failure with >> dmatest ? > >>> Ok, I think I've just reproduced it in my end with the kernel's dmatest >>> module. After the f

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-09 Thread Jassi Brar
Hi Javi, On 9 December 2011 17:28, Javi Merino wrote: > > Javi, could you please check if you too get the memcpy failure with > dmatest ? >> Ok, I think I've just reproduced it in my end with the kernel's dmatest >> module.  After the first transaction it looks like the dma test wasn

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-09 Thread Javi Merino
On 07/12/11 20:54, Javi Merino wrote: > On 07/12/11 10:01, Javi Merino wrote: >> On 07/12/11 07:52, Kukjin Kim wrote: >>> Jassi Brar wrote: On 29 November 2011 15:23, Javi Merino wrote: >> On Samsung's Exynos4 platform, while testing audio playback with >>> i2s >> interfac

Re: mmc: dw_mmc: Add more capabilities field

2011-12-09 Thread James Hogan
On 9 December 2011 05:49, Seungwon Jeon wrote: > Signed-off-by: Seungwon Jeon A commit message would be useful. > --- >  drivers/mmc/host/dw_mmc.c  |    6 ++ >  include/linux/mmc/dw_mmc.h |    1 + >  2 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/drivers/mmc/host/dw_mmc.c

[PATCH] i2c-s3c2410: Fix return code of s3c24xx_i2c_parse_dt_gpio

2011-12-09 Thread Tushar Behera
s3c24xx_i2c_parse_dt_gpio is called when cfg_gpio is not defined in the platform data of the i2c device. When DT is not enabled, the above function always returns -EINVAL. Since there can be some i2c devices which don't need to configure any gpio lines, the probe of such devices would fail here. Ch

[PATCH 4/4] ARM: S3C2443/S3C2416: add s3c_rtc_setname and rename rtc devices

2011-12-09 Thread Heiko Stübner
As the S3C24xx SoCs use the same rtc device a renaming capability like in the adc driver is necessary. This patch adds a s3c_rtc_setname function and names the rtc devices for S3C2443 and S3C2416 accordingly. Signed-off-by: Heiko Stuebner --- arch/arm/mach-s3c2416/s3c2416.c |2

[PATCH 3/4] rtc-s3c: add variants for S3C2443 and S3C2416

2011-12-09 Thread Heiko Stübner
Especially the TICNT registers are different from the two rtc types that currently exists. Signed-off-by: Heiko Stuebner --- arch/arm/plat-samsung/include/plat/regs-rtc.h | 24 + drivers/rtc/rtc-s3c.c | 44 ++-- 2 files changed, 64 inse

[PATCH 2/4] rtc-s3c: make room for more variants in devicetree block

2011-12-09 Thread Heiko Stübner
Use the data field of of_device_id to hold the type for s3c_cpu_type. Signed-off-by: Heiko Stuebner --- drivers/rtc/rtc-s3c.c | 27 +-- 1 files changed, 21 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 175067a..71807a6 1

[PATCH 1/4] ARM: SAMSUNG: cleanup of rtc register definitions

2011-12-09 Thread Heiko Stübner
regs-rtc.h uses a mixture of tabs and spaces and also (x< --- arch/arm/plat-samsung/include/plat/regs-rtc.h | 66 - 1 files changed, 32 insertions(+), 34 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/regs-rtc.h b/arch/arm/plat-samsung/include/plat/regs-rt

[PATCH 0/4] Implement RTC support for S3C2443/S3C2416/S3C2450

2011-12-09 Thread Heiko Stübner
Similar to the ADC the RTC of S3C2443 and S3C2416/2450 has some slight variances when compared to the existing types. This series adds support for those SoCs. As with the ADC patches, these changes where tested on S3C2416 hardware. The S3C2443 quirks are a subset of those and are done according t

[PATCH v2 2/2] mmc: core: Add claiming a host during mmc_cache_ctrl

2011-12-09 Thread Seungwon Jeon
While calling mmc_cache_ctrl() a host is not claimed. This patch adds the mmc_try_claim_host() for quick response in suspend. Signed-off-by: Seungwon Jeon --- drivers/mmc/core/core.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/core/core.c b/drivers

[PATCH v2 1/2] mmc: core: Separate the timeout value for cache-ctrl

2011-12-09 Thread Seungwon Jeon
Turning the cache off implies flushing cache which doesn't define maximum timeout unlike cache-on. This patch will apply the generic CMD6 timeout only for cache-on. Additionally the kernel message is added for checking failure case of cache-on. Signed-off-by: Seungwon Jeon --- Changes in v2:

[PATCH v2 0/2] mmc: core: Fix cache control for eMMC4.5

2011-12-09 Thread Seungwon Jeon
This patch-set fixed the cache control for eMMC4.5 Changes in v2: - clear the cache_ctrl flag for a failure(enabling cache) Seungwon Jeon (2): mmc: core: Separate the timeout value for cache-ctrl mmc: core: Add claiming a host during mmc_cache_ctrl drivers/mmc/core/core.c | 29

Re: [PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-09 Thread Mark Brown
On Fri, Dec 09, 2011 at 12:49:49PM +0530, Thomas Abraham wrote: > On 9 December 2011 12:09, Mark Brown > > How would you provide this interrupt to the device using it in a non-DT > > systemm without passing the irq_base into the device as platform data? > In non-DT system, the linux irq number th