Re: [PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms

2011-09-26 Thread Ohad Ben-Cohen
2011/9/24 조경호 pullip@samsung.com: This is the System MMU driver and IOMMU API implementation for Exynos4 SOC platforms. Exynos4 platforms has more than 10 System MMUs dedicated for each multimedia accellerators. Signed-off-by: KyongHo Cho pullip@samsung.com ... +static int

Re: [PATCH] mmc: card: modify mmc_getgeo function

2011-09-26 Thread Uwe Kleine-König
Hello, On Wed, Sep 21, 2011 at 02:52:08PM -0400, Chris Ball wrote: Hi, On Tue, Sep 20 2011, Girish K S wrote: In the earlier code the cylinder, sector and head are assigned independently. Current patch generates the cylinder number with the values of sector and head. This patch only

Re: [PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms

2011-09-26 Thread Ohad Ben-Cohen
On Mon, Sep 26, 2011 at 11:58 AM, KyongHo Cho pullip@samsung.com wrote: As you've noticed, it is default behavior for iommu fault. Then why not add it to the IOMMU core ? it's quite generic and can be useful for others, too. Thanks, Ohad. -- To unsubscribe from this list: send the line

Re: [PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms

2011-09-26 Thread Ohad Ben-Cohen
Hi, On Mon, Sep 26, 2011 at 12:21 PM, KyongHo Cho pullip@samsung.com wrote: Every fault in IOMMU (System MMU) is an error logically and must not happen in our multimedia device drivers because, our device drivers always construct page table completely before address translation in System

[PATCH 0/4 v2] iommu/exynos: Add IOMMU and Enhance System MMU driver for Exynos4

2011-09-26 Thread KyongHo Cho
This is the second try of submitting patches about IOMMU/System MMU driver for Exynos4 SoCs with the fixes of the following problems pointed by Russell King.: - Missing unlocking a spinlock in exynos_iommu_attach_dev(). - atomic_t - int in sysmmu_drvdata.activations - sysmmu_platdata -

[PATCH 1/4 v2] ARM: EXYNOS4: Change System MMU device definition

2011-09-26 Thread KyongHo Cho
This patch contains a lot of changes of System MMU device definition. 1. Removed sysmmu_ips enumeration that are definitions of ID of System MMU Instead, a System MMU device descriptor must be bound with a device descriptor that needs System MMU in machine initialization. 2. Removed MDMA

[PATCH] mmc: dw_mmc: Support predefined multiple block transfers.

2011-09-26 Thread Seungwon Jeon
This patch adds the support for predefined multiple block read/write. Signed-off-by: Seungwon Jeon tgih@samsung.com --- drivers/mmc/host/dw_mmc.c | 32 ++-- 1 files changed, 26 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c

Re: [PATCH] mmc: card: modify mmc_getgeo function

2011-09-26 Thread Chris Ball
Hi, On Mon, Sep 26 2011, Uwe Kleine-König wrote: Thanks, pushed to mmc-next for 3.2 with a reworded commit message: This (i.e. ee9e0e0 (mmc: card: Remove duplicated constants) in next) makes gcc emit a reference to __aeabi_uldivmod in one of my nightly builds which isn't defined. The final

Re: [PATCH] mmc: card: modify mmc_getgeo function

2011-09-26 Thread Russell King - ARM Linux
On Mon, Sep 26, 2011 at 08:41:13AM -0400, Chris Ball wrote: Hi, On Mon, Sep 26 2011, Uwe Kleine-König wrote: Thanks, pushed to mmc-next for 3.2 with a reworded commit message: This (i.e. ee9e0e0 (mmc: card: Remove duplicated constants) in next) makes gcc emit a reference to

Re: [PATCH] mmc: card: modify mmc_getgeo function

2011-09-26 Thread Uwe Kleine-König
On Mon, Sep 26, 2011 at 08:41:13AM -0400, Chris Ball wrote: Hi, On Mon, Sep 26 2011, Uwe Kleine-König wrote: Thanks, pushed to mmc-next for 3.2 with a reworded commit message: This (i.e. ee9e0e0 (mmc: card: Remove duplicated constants) in next) makes gcc emit a reference to

Re: [PATCH] mmc: card: modify mmc_getgeo function

2011-09-26 Thread Russell King - ARM Linux
On Mon, Sep 26, 2011 at 03:13:33PM +0200, Uwe Kleine-König wrote: 0028 mmc_blk_getgeo: 28: e3a03004mov r3, #4 2c: e3a02010mov r2, #16 30: e92d4010push{r4, lr} 34: e1a04001mov r4, r1 38:

Re: [PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms

2011-09-26 Thread KyongHo Cho
On Mon, Sep 26, 2011 at 6:36 PM, Ohad Ben-Cohen o...@wizery.com wrote: It seems your default behavior just prints an error message with the details of the fault (addresses, flags, etc..). We can probably have this unified. In case you want to print exonys-specific info when the fault is not

Re: [PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms

2011-09-26 Thread Ohad Ben-Cohen
On Mon, Sep 26, 2011 at 5:48 PM, KyongHo Cho pullip@samsung.com wrote: I am sorry but I still think that installing default fault handler is quite simple and straightforward. ... and abusing the IOMMU API. Please don't do that. Interfaces are written for specific goals, and this one was

Re: [PATCH] mmc: dw_mmc: Support predefined multiple block transfers.

2011-09-26 Thread Andrei Warkentin
Hi Seungwon, - Original Message - From: Seungwon Jeon tgih@samsung.com To: linux-...@vger.kernel.org Cc: Chris Ball c...@laptop.org, linux-samsung-soc@vger.kernel.org, kgene kim kgene@samsung.com, dh han dh@samsung.com, Seungwon Jeon tgih@samsung.com Sent: Monday,

serial: samsung: add clkdev based clock lookup and device tree support

2011-09-26 Thread Thomas Abraham
This patchset adds clkdev based clock lookup support and device tree based discovery for Samsung uart controller driver. Passing of clock names in platform data is removed. In the process of adding these features, other changes have also been made that merges all the SoC specfic extensions into

[PATCH 1/9] serial: samsung: Keep a copy of the location of platform data in driver's private data

2011-09-26 Thread Thomas Abraham
Add a pointer to the location of the platform data in the driver's private data. When instantiated using device tree, pdev-dev-platform_data does not necessarily point to a valid instance of platform data. The platform data pointer in the driver's private data could be set to

[PATCH 2/9] serial: samsung: move handling of fclk/n clock to platform code

2011-09-26 Thread Thomas Abraham
s3c2440 uses fclk/n (fclk divided by n) clock as one of the possible clocks used to generate the baud rate clock. The divider 'n' in this case can be logically represented outside of the uart controller. This patch creates a new clock by name fclk_n for s3c2440 based platforms to represent the

[PATCH 4/9] serial: samsung: remove struct 's3c24xx_uart_clksrc' and all uses of it

2011-09-26 Thread Thomas Abraham
With clkdev based clock lookup added to samsung serial driver, the use of 'struct s3c24xx_uart_clksrc' to supply clock names in platform data can be removed. Cc: Ben Dooks ben-li...@fluff.org Cc: Ramax Lo rama...@gmail.com Cc: Vasily Khoruzhick anars...@gmail.com Signed-off-by: Thomas Abraham

[PATCH 7/9] serial: samsung: merge all SoC specific port reset functions

2011-09-26 Thread Thomas Abraham
The SoC specific port reset functions is removed from SoC extensions of the Samsung serial driver and merged into a single port reset function. Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/tty/serial/s3c2410.c | 18 --

[PATCH 5/9] serial: samsung: remove all uses of get_clksrc and set_clksrc

2011-09-26 Thread Thomas Abraham
With clkdev based clock lookup support, the clock set and get operation using clock names communicated between the samsung uart driver and the SoC specific extension can be removed. In addition to that, for each platform specific extension, add the default clock selection, number of clock options

[PATCH 8/9] serial: samsung: merge probe() function from all SoC specific extensions

2011-09-26 Thread Thomas Abraham
The driver probe() function is removed from the SoC specific extensions and a probe() is added to the common driver. Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/plat-samsung/include/plat/regs-serial.h | 12 + drivers/tty/serial/Kconfig

[PATCH 9/9] serial: samsung: add device tree support

2011-09-26 Thread Thomas Abraham
Add device tree based discovery support for Samsung's uart controller. Cc: Ben Dooks ben-li...@fluff.org Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/tty/serial/samsung.c | 36 ++-- 1 files

Re: [PATCH v2 0/4] S3C2416: Enable IIS and HSSPI clocks

2011-09-26 Thread Heiko Stübner
Am Donnerstag 15 September 2011, 10:49:15 schrieben Sie: Heiko Stübner wrote: Am Sonntag, 28. August 2011, 20:06:31 schrieb Heiko Stübner: S3C2416/2450 (probably S3C2443 too) can use the newer style kernel-drivers made for S3C64xx and above for their I2S and HS-SPI controllers.

[GIT PULL] Samsung Fixes for v3.1

2011-09-26 Thread Kukjin Kim
Hi Linus, This is Samsung fixes for v3.1 Please pull from: git://github.com/kgene/linux-samsung.git samsung-fixes-3 These things are needed for v3.1 and if any problems, please let me know. Arnd, since v3.1 is now close at hand, I'm sending this to Linus... Thanks. Best regards, Kgene. --

RE: [PATCH v3 1/2] ARM: EXYNOS4: Add TVOUT support for SMDKV310

2011-09-26 Thread Kukjin Kim
Hatim Ali wrote: Add support for TVOUT on SMDKV310 board. Signed-off-by: Hatim Ali hatim...@samsung.com --- Changes since v2: Incorporated review comments by Tomasz Stanislawski Sylwester Nawrocki. - Used gpio_request_one to request for gpio line. - Added WARN_ON to check gpio_request

RE: [PATCH 1/7] SPI: S3C64XX: Use bus clocks created using clkdev

2011-09-26 Thread Kukjin Kim
Grant Likely wrote: On Fri, Sep 23, 2011 at 05:23:41PM +0530, Padmavathi Venna wrote: This patch modifies the driver to stop depending on the clock names being passed from platform and switch over to lookup clocks generic names using clkdev Signed-off-by: Padmavathi Venna

Re: [PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms

2011-09-26 Thread KyongHo Cho
On Tue, Sep 27, 2011 at 12:59 AM, Ohad Ben-Cohen o...@wizery.com wrote: On Mon, Sep 26, 2011 at 5:48 PM, KyongHo Cho pullip@samsung.com wrote: I am sorry but I still think that installing default fault handler is quite simple and straightforward. ... and abusing the IOMMU API. Please

RE: [PATCH] mmc: dw_mmc: Support predefined multiple block transfers.

2011-09-26 Thread Seungwon Jeon
Andrei Warkentin wrote: Hi Seungwon, - Original Message - From: Seungwon Jeon tgih@samsung.com To: linux-...@vger.kernel.org Cc: Chris Ball c...@laptop.org, linux-samsung-soc@vger.kernel.org, kgene kim kgene@samsung.com, dh han dh@samsung.com, Seungwon Jeon

Re: [PATCH] mmc: dw_mmc: Support predefined multiple block transfers.

2011-09-26 Thread Andrei E. Warkentin
2011/9/26 Seungwon Jeon tgih@samsung.com: Andrei Warkentin wrote: Hi Seungwon, - Original Message - From: Seungwon Jeon tgih@samsung.com To: linux-...@vger.kernel.org Cc: Chris Ball c...@laptop.org, linux-samsung-soc@vger.kernel.org, kgene kim kgene@samsung.com, dh