Re: [PATCH v5 11/18] iommu: exynos: remove useless device_add/remove callbacks

2015-01-26 Thread Joerg Roedel
Hi Laurent, On Mon, Jan 26, 2015 at 03:03:57PM +0200, Laurent Pinchart wrote: On Monday 26 January 2015 12:00:59 Joerg Roedel wrote: My plan is to make IOMMU groups mandatory. I am currently preparing and RFC patch-set to introduce default-domains (which will be per group). So when all

Re: [PATCH v5 11/18] iommu: exynos: remove useless device_add/remove callbacks

2015-01-26 Thread Laurent Pinchart
Hi Joerg, On Monday 26 January 2015 12:00:59 Joerg Roedel wrote: Hi Laurent, On Sun, Jan 25, 2015 at 05:38:22PM +0200, Laurent Pinchart wrote: IOMMU groups still seem a bit unclear to me. Will Deacon has nicely explained what they represent in

Re: [PATCH 1/2] exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

2015-01-26 Thread Emil Velikov
On 26 January 2015 at 01:42, Hyungwon Hwang human.hw...@samsung.com wrote: Dear Tobias, Thanks for fixing it. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com Hi Hyungwon Hwang I'm a bit confused about the use of s-o-b here. I've assumed that libdrm follows the kernel style [1] for

Re: [PATCH] mmc: dw_mmc: exynos: remove incorrect __exit_p()

2015-01-26 Thread Doug Anderson
Dmitry, On Fri, Jan 23, 2015 at 4:33 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: dw_mci_pltfm_remove() is not (nor should it be) marked as __exit, so we should not be using __exit_p() wrapper with it. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com ---

Re: [PATCH 1/2] exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

2015-01-26 Thread Emil Velikov
On 27 January 2015 at 01:05, Hyungwon Hwang human.hw...@samsung.com wrote: Dear Emil, On Mon, 26 Jan 2015 19:05:51 + Emil Velikov emil.l.veli...@gmail.com wrote: On 26 January 2015 at 01:42, Hyungwon Hwang human.hw...@samsung.com wrote: Dear Tobias, Thanks for fixing it.

[PATCH v4 1/2] dts: Documentation: Add documentation for Exynos7 SoC thermal bindings

2015-01-26 Thread Abhilash Kesavan
Add documentation for exynos7 thermal bindings including compatible name and special clock properties. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- .../devicetree/bindings/thermal/exynos-thermal.txt |4 1 file changed, 4 insertions(+) diff --git

[PATCH v4 2/2] thermal: exynos: Add TMU support for Exynos7 SoC

2015-01-26 Thread Abhilash Kesavan
Add registers, bit fields and compatible strings for Exynos7 TMU (Thermal Management Unit). Following are a few of the differences in the Exynos7 TMU from earlier SoCs: - 8 trigger levels - Different bit offsets and more registers for the rising and falling thresholds.

Re: [PATCH v5 04/18] ARM: dts: exynos5250: add sysmmu nodes

2015-01-26 Thread Hongbo Zhang
No sysmmu_mdma nodes? when do you plan to add them? On 23 January 2015 at 23:51, Marek Szyprowski m.szyprow...@samsung.com wrote: Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 250 ++ 1 file changed, 250

Re: [GIT PULL] Samsung DT updates for v3.20

2015-01-26 Thread Olof Johansson
On Sat, Jan 24, 2015 at 12:59:20PM +0900, Kukjin Kim wrote: Hi, Please pull Samsung DT updates for v3.20. I checked to use signed tag in this time ;) Thanks and if any problems, please let me know. - Kukjin The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672:

Re: [PATCH] cpufreq: exynos: Use simple approach to asses if cpu cooling can be used

2015-01-26 Thread Viresh Kumar
On 26 January 2015 at 14:55, Lukasz Majewski l.majew...@samsung.com wrote: Commit: e725d26c4857e5e41975b5e74e64ce6ab09a7121 provided possibility to use device tree to asses if cpu can be used as cooling device. Since the code was somewhat awkward, simpler approach has been proposed. Test HW:

[PATCH 03/15] iommu/amd: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement the new iommu-ops function pointers and remove the obsolete domain_init and domain_destroy functions. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/amd_iommu.c | 84 ++---

[PATCH 02/15] iommu: Introduce iommu domain types

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de This allows to handle domains differently based on their type in the future. An IOMMU driver can implement certain optimizations for DMA-API domains for example. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/iommu.c | 5 +++--

[PATCH 08/15] iommu/tegra-smmu: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/tegra-smmu.c | 41 +++-- 1 file changed, 23 insertions(+), 18

[PATCH 05/15] iommu/omap: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement the new domain_alloc and domain_free call-backs and remove the old domain_init/destroy ones. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/omap-iommu.c | 49 +++--- 1 file changed, 29

Re: [PATCH 1/2] exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

2015-01-26 Thread Hyungwon Hwang
Dear Emil, On Mon, 26 Jan 2015 19:05:51 + Emil Velikov emil.l.veli...@gmail.com wrote: On 26 January 2015 at 01:42, Hyungwon Hwang human.hw...@samsung.com wrote: Dear Tobias, Thanks for fixing it. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com Hi Hyungwon Hwang I'm a

Re: [PATCH V9 13/14] ARM: dts: snow: represent the connection between bridge and panel using videoport and endpoints

2015-01-26 Thread Ajay kumar
Hi Kukjin, On Fri, Jan 23, 2015 at 12:31 PM, Kukjin Kim kg...@kernel.org wrote: Ajay Kumar wrote: Define videoports and use endpoints to describe the connection between the encoder, bridge and the panel, instead of using phandles. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com

[PATCH] cpufreq: exynos: Use simple approach to asses if cpu cooling can be used

2015-01-26 Thread Lukasz Majewski
Commit: e725d26c4857e5e41975b5e74e64ce6ab09a7121 provided possibility to use device tree to asses if cpu can be used as cooling device. Since the code was somewhat awkward, simpler approach has been proposed. Test HW: Exynos 4412 - Odroid U3. Suggested-by: Viresh Kumar viresh.ku...@linaro.org

Re: [PATCH v5 11/18] iommu: exynos: remove useless device_add/remove callbacks

2015-01-26 Thread Joerg Roedel
Hi Laurent, On Sun, Jan 25, 2015 at 05:38:22PM +0200, Laurent Pinchart wrote: IOMMU groups still seem a bit unclear to me. Will Deacon has nicely explained what they represent in http://lists.infradead.org/pipermail/linux-arm-kernel/2014-December/310816.html. The IOMMU core doesn't make

Re: [PATCH v5 11/18] iommu: exynos: remove useless device_add/remove callbacks

2015-01-26 Thread Will Deacon
On Mon, Jan 26, 2015 at 11:00:59AM +, Joerg Roedel wrote: On Sun, Jan 25, 2015 at 05:38:22PM +0200, Laurent Pinchart wrote: IOMMU groups still seem a bit unclear to me. Will Deacon has nicely explained what they represent in

Re: [PATCH v3 2/2] cpuidle: exynos: add coupled cpuidle support for Exynos4210

2015-01-26 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, January 26, 2015 09:16:48 AM Krzysztof Kozlowski wrote: On pią, 2015-01-23 at 17:24 +0100, Bartlomiej Zolnierkiewicz wrote: The following patch adds coupled cpuidle support for Exynos4210 to an existing cpuidle-exynos driver. As a result it enables AFTR mode to be used by

Re: [PATCH v3 2/2] cpuidle: exynos: add coupled cpuidle support for Exynos4210

2015-01-26 Thread Krzysztof Kozlowski
On pon, 2015-01-26 at 12:33 +0100, Bartlomiej Zolnierkiewicz wrote: Hi, On Monday, January 26, 2015 09:16:48 AM Krzysztof Kozlowski wrote: On pią, 2015-01-23 at 17:24 +0100, Bartlomiej Zolnierkiewicz wrote: The following patch adds coupled cpuidle support for Exynos4210 to an existing

Re: [PATCH v5 11/18] iommu: exynos: remove useless device_add/remove callbacks

2015-01-26 Thread Marek Szyprowski
Hello, On 2015-01-26 12:00, Joerg Roedel wrote: Hi Laurent, On Sun, Jan 25, 2015 at 05:38:22PM +0200, Laurent Pinchart wrote: IOMMU groups still seem a bit unclear to me. Will Deacon has nicely explained what they represent in

[PATCH 11/15] iommu/shmobile: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/shmobile-iommu.c | 40 1 file changed, 24 insertions(+), 16

[PATCH 12/15] iommu/ipmmu-vmsa: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/ipmmu-vmsa.c | 43 --- 1 file changed, 24 insertions(+), 19

[PATCH 14/15] iommu/fsl: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/fsl_pamu_domain.c | 60 ++--- drivers/iommu/fsl_pamu_domain.h |

[PATCH 15/15] iommu: Remove domain_init and domain_free iommu_ops

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de All drivers have been converted to the new domain_alloc and domain_free iommu-ops. So remove the old ones and get rid of iommu_domain-priv too, as this is no longer needed when the struct iommu_domain is embedded in the private structures of the iommu drivers.

[PATCH 13/15] iommu/rockchip: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/rockchip-iommu.c | 40 1 file changed, 24 insertions(+), 16

[PATCH 06/15] iommu/arm-smmu: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/arm-smmu.c | 46 +++--- 1 file changed, 27 insertions(+), 19

[PATCH 07/15] iommu/exynos: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/exynos-iommu.c | 87 1 file changed, 47 insertions(+),

[PATCH 04/15] iommu/vt-d: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Get rid of domain_init and domain_destroy and implement domain_alloc/domain_free instead. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/intel-iommu.c | 48 ++--- 1 file changed, 28 insertions(+), 20

[PATCH 10/15] iommu/msm: Make use of domain_alloc and domain_free

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/msm_iommu.c | 73 +++ 1 file changed, 36 insertions(+),