Hi.
Thank you for reporting.
We will solve that problem as soon as possible!
Regards,
KyongHo
-Original Message-
From: Gustavo Padovan [mailto:gust...@padovan.org]
Sent: Thursday, November 06, 2014 6:09 AM
To: linux-samsung-soc@vger.kernel.org
Cc: Cho KyongHo; Shaik Ameer Basha
On Fri, 16 May 2014 14:23:18 +0200, Thierry Reding wrote:
From: Thierry Reding tred...@nvidia.com
This commit introduces a generic device tree binding for IOMMU devices.
Only a very minimal subset is described here, but it is enough to cover
the requirements of both the Exynos System MMU and
On Thu, 15 May 2014 22:37:31 +0200, Thierry Reding wrote:
On Mon, Apr 28, 2014 at 02:05:30PM +0200, Arnd Bergmann wrote:
[...]
let me clarify by example:
iommu@1 {
compatible = some,simple-iommu;
reg = 1;
#iommu-cells = 0; /* supports only one
On Tue, 06 May 2014 20:05:14 +0200, Tomasz Figa wrote:
On 27.04.2014 09:37, Shaik Ameer Basha wrote:
From: Cho KyongHo pullip@samsung.com
Some master device descriptor like fimc-is which is an abstraction
of very complex H/W may have multiple System MMUs. For those devices
On Tue, 06 May 2014 20:08:47 +0200, Tomasz Figa wrote:
On 06.05.2014 19:59, Joerg Roedel wrote:
On Wed, Apr 30, 2014 at 04:27:10PM +0530, Shaik Ameer Basha wrote:
This series is going on for quite a long time and most of the patches here
doesn't depend on dt bindings. As Exynos IOMMU h/w is
On Sun, 27 Apr 2014 20:17:48 +0200, Arnd Bergmann wrote:
On Sunday 27 April 2014 13:07:47 Shaik Ameer Basha wrote:
@@ -542,14 +592,41 @@ static int __init exynos_sysmmu_probe(struct
platform_device *pdev)
}
}
+ /* Relation between master and System MMU is 1:1. */
On Mon, 28 Apr 2014 16:08:14 +0530, Tushar Behera wrote:
On 04/27/2014 01:07 PM, Shaik Ameer Basha wrote:
From: Cho KyongHo pullip@samsung.com
Some master device descriptor like fimc-is which is an abstraction
of very complex H/W may have multiple System MMUs. For those devices
On Mon, 28 Apr 2014 16:13:19 -0700, Doug Anderson wrote:
Vikas,
On Sun, Apr 27, 2014 at 10:39 AM, Vikas Sajjan sajjan.li...@gmail.com wrote:
Hi shaik,
+Doug, Abhilash,
On Sun, Apr 27, 2014 at 1:08 PM, Shaik Ameer Basha
shaik.am...@samsung.com wrote:
From: Cho KyongHo pullip
On Sun, 20 Apr 2014 15:25:59 +0530, Shaik Ameer Basha wrote:
Hi KyongHo Cho,
Please find the comments inline.
On Fri, Mar 14, 2014 at 10:36 AM, Cho KyongHo pullip@samsung.com wrote:
This patch adds dts entries for the System MMU devices found on
Exynos4 and Exynos5 SoC series
On Tue, 22 Apr 2014 18:53:51 +0530, Shaik Ameer Basha wrote:
Hi KyongHo Cho,
On Fri, Mar 14, 2014 at 10:40 AM, Cho KyongHo pullip@samsung.com wrote:
Some master device descriptor like fimc-is which is an abstraction
of very complex H/W may have multiple System MMUs. For those
On Tue, 18 Mar 2014 18:33:20 -0700, Grant Grundler wrote:
On Thu, Mar 13, 2014 at 10:13 PM, Cho KyongHo pullip@samsung.com wrote:
This commit introduces sysmmu_pte_t for page table entries and
sysmmu_iova_t vor I/O virtual address that is manipulated by
exynos-iommu driver. The purpose
On Wed, 19 Mar 2014 13:08:42 +0100, Tomasz Figa wrote:
On 19.03.2014 10:01, Sachin Kamat wrote:
On 19 March 2014 14:29, Cho KyongHo pullip@samsung.com wrote:
On Tue, 18 Mar 2014 16:14:53 +0100, Tomasz Figa wrote:
On 18.03.2014 12:09, Cho KyongHo wrote:
On Fri, 14 Mar 2014 20:52:43
On Wed, 19 Mar 2014 16:14:57 +0100, Tomasz Figa wrote:
On 19.03.2014 14:20, Tomasz Figa wrote:
On 19.03.2014 01:39, Cho KyongHo wrote:
On Tue, 18 Mar 2014 15:26:48 +0100, Tomasz Figa wrote:
On 18.03.2014 14:01, Cho KyongHo wrote:
On Fri, 14 Mar 2014 17:12:03 +0100, Tomasz Figa wrote
On Wed, 19 Mar 2014 09:54:39 -0700, Grant Grundler wrote:
On Wed, Mar 19, 2014 at 6:12 AM, Tomasz Figa t.f...@samsung.com wrote:
...
Device driver is not only for the scholarship but also for the real use.
Huh? I'm not sure what kind of comment is this.
I'm guessing Cho meant: This
On Wed, 19 Mar 2014 19:51:21 +0100, Tomasz Figa wrote:
On 19.03.2014 19:37, Grant Grundler wrote:
On Wed, Mar 19, 2014 at 10:30 AM, Tomasz Figa t.f...@samsung.com wrote:
...
As I said, AFAIK the trend is to get rid of ordering by initcalls and make
sure that drivers can handle missing
On Thu, 20 Mar 2014 11:44:50 +0100, Tomasz Figa wrote:
On 20.03.2014 11:03, Cho KyongHo wrote:
On Wed, 19 Mar 2014 13:08:42 +0100, Tomasz Figa wrote:
On 19.03.2014 10:01, Sachin Kamat wrote:
On 19 March 2014 14:29, Cho KyongHo pullip@samsung.com wrote:
On Tue, 18 Mar 2014 16:14:53
On Thu, 20 Mar 2014 11:54:58 +0100, Tomasz Figa wrote:
On 20.03.2014 11:22, Cho KyongHo wrote:
On Wed, 19 Mar 2014 16:14:57 +0100, Tomasz Figa wrote:
On 19.03.2014 14:20, Tomasz Figa wrote:
On 19.03.2014 01:39, Cho KyongHo wrote:
On Tue, 18 Mar 2014 15:26:48 +0100, Tomasz Figa wrote
On Tue, 18 Mar 2014 16:46:24 +0530, Sachin Kamat wrote:
On 18 March 2014 16:44, Cho KyongHo pullip@samsung.com wrote:
On Fri, 14 Mar 2014 20:57:42 +0530, Sachin Kamat wrote:
Hi KyongHo,
On 14 March 2014 10:39, Cho KyongHo pullip@samsung.com wrote:
-static struct
On Wed, 19 Mar 2014 08:59:09 +0900, Jingoo Han wrote:
On Wednesday, March 19, 2014 12:12 AM, Tomasz Figa wrote:
On 18.03.2014 11:38, Cho KyongHo wrote:
On Fri, 14 Mar 2014 14:28:36 +0100, Tomasz Figa wrote:
On 14.03.2014 06:05, Cho KyongHo wrote:
This patch uses managed device helper
On Tue, 18 Mar 2014 16:14:53 +0100, Tomasz Figa wrote:
On 18.03.2014 12:09, Cho KyongHo wrote:
On Fri, 14 Mar 2014 20:52:43 +0530, Sachin Kamat wrote:
Hi KyongHo,
On 14 March 2014 10:35, Cho KyongHo pullip@samsung.com wrote:
This patch uses managed device helper functions
On Tue, 18 Mar 2014 16:25:11 +0100, Tomasz Figa wrote:
On 18.03.2014 11:52, Cho KyongHo wrote:
On Fri, 14 Mar 2014 14:39:33 +0100, Tomasz Figa wrote:
@@ -557,11 +558,23 @@ static int exynos_sysmmu_probe(struct
platform_device *pdev)
return 0;
}
-static struct
On Tue, 18 Mar 2014 16:33:04 +0100, Tomasz Figa wrote:
On 18.03.2014 12:23, Cho KyongHo wrote:
On Fri, 14 Mar 2014 17:07:53 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:10, Cho KyongHo wrote:
[snip]
@@ -677,11 +679,40 @@ static int __init exynos_sysmmu_probe(struct
On Fri, 14 Mar 2014 13:59:00 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:08, Cho KyongHo wrote:
Runtime power management by exynos-iommu driver independently from
master H/W's runtime pm is not useful for power saving since attaching
master H/W in probing time turns on its
On Fri, 14 Mar 2014 14:07:32 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:05, Cho KyongHo wrote:
System MMU driver is changed to control only a single instance of
System MMU at a time. Since a single instance of System MMU has only
a single clock descriptor for its clock gating
On Fri, 14 Mar 2014 14:28:36 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:05, Cho KyongHo wrote:
This patch uses managed device helper functions in the probe().
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 64
On Fri, 14 Mar 2014 14:39:33 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:09, Cho KyongHo wrote:
This commit adds device tree support for System MMU.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/Kconfig|5 ++---
drivers/iommu/exynos
On Fri, 14 Mar 2014 22:27:59 +0530, Sachin Kamat wrote:
Hi KyongHo,
On 14 March 2014 19:13, Tomasz Figa t.f...@samsung.com wrote:
Hi KyongHo,
On 14.03.2014 06:09, Cho KyongHo wrote:
exynos-iommu driver must care about master H/W's gate clock as well as
System MMU's gate clock
On Fri, 14 Mar 2014 20:52:43 +0530, Sachin Kamat wrote:
Hi KyongHo,
On 14 March 2014 10:35, Cho KyongHo pullip@samsung.com wrote:
This patch uses managed device helper functions in the probe().
Signed-off-by: Cho KyongHo pullip@samsung.com
---
[snip]
+ data-clk
On Fri, 14 Mar 2014 20:57:42 +0530, Sachin Kamat wrote:
Hi KyongHo,
On 14 March 2014 10:39, Cho KyongHo pullip@samsung.com wrote:
This commit adds device tree support for System MMU.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/Kconfig|5
On Fri, 14 Mar 2014 17:07:53 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:10, Cho KyongHo wrote:
This adds support for Suspend to RAM and Runtime Power Management.
Since System MMU is located in the same local power domain of its
master H/W, System MMU must be initialized
On Fri, 14 Mar 2014 17:12:03 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:10, Cho KyongHo wrote:
Some master device descriptor like fimc-is which is an abstraction
of very complex H/W may have multiple System MMUs. For those devices,
the design of the link between System MMU
On Tue, 18 Mar 2014 15:26:48 +0100, Tomasz Figa wrote:
On 18.03.2014 14:01, Cho KyongHo wrote:
On Fri, 14 Mar 2014 17:12:03 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:10, Cho KyongHo wrote:
Some master device descriptor like fimc-is which is an abstraction
of very
On Tue, 18 Mar 2014 16:09:50 +0100, Tomasz Figa wrote:
On 18.03.2014 10:56, Cho KyongHo wrote:
On Fri, 14 Mar 2014 13:59:00 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:08, Cho KyongHo wrote:
[snip]
-static bool __exynos_sysmmu_disable(struct sysmmu_drvdata *data
On Fri, 14 Mar 2014 17:29:36 +0530, Sachin Kamat wrote:
On 14 March 2014 17:19, Cho KyongHo pullip@samsung.com wrote:
From: Sachin Kamat [mailto:sachin.ka...@linaro.org]
Sent: Friday, March 14, 2014 7:00 PM
On 14 March 2014 10:31, Cho KyongHo pullip@samsung.com wrote:
Commit
On Fri, 14 Mar 2014 13:17:26 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:06, Cho KyongHo wrote:
This adds gate clocks of all System MMUs and their master IPs
that are not apeared in clk-exynos5250.c and clk-exynos5420.c
Also fixes GATE_IP_ACP to 0x18800 and changed GATE_DA
On Fri, 14 Mar 2014 13:20:23 +0100, Tomasz Figa wrote:
Hi KyongHo,
On 14.03.2014 06:06, Cho KyongHo wrote:
This patch adds dts entries for the System MMU devices found on
Exynos4 and Exynos5 SoC series and the System MMU binding
documentation.
CC: Rob Herring robherri...@gmail.com
From: Sachin Kamat [mailto:sachin.ka...@linaro.org]
Sent: Friday, March 14, 2014 7:00 PM
On 14 March 2014 10:31, Cho KyongHo pullip@samsung.com wrote:
Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from
exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header
Sorry for the delayed posting the v11 patchset.
The current exynos-iommu(System MMU) driver does not work autonomously
since it is lack of support for power management of peripheral blocks.
For example, MFC device driver must ensure that its System MMU is disabled
before MFC block is power-down
exynos-iommu.c.
CC: Tomasz Figa t.f...@samsung.com
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 0740189..4876d35 100644
grund...@chromium.org
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 4876d35..1c3a397 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b
This patch changes not to panic on any error when updating page table.
Instead prints error messages with callstack.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 58 --
1 file changed, 44 insertions(+), 14
that the L2TLB has no stale data.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 31 ++-
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 4a74ed8
be controled with care because there are some
restrictions in H/W design.
The interface and implementation to initiate prefetch buffers will
be prepared later.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 16
1 file changed, 16 deletions(-)
diff
device has a parent device.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index bee1bb1..8dc7031 100644
--- a/drivers/iommu/exynos
Since kmalloc() does not guarantee that the allignment of 1KiB when it
allocates 1KiB, it is required to allocate lv2 page table from own
slab that guarantees alignment of 1KiB
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 34
This patch removes dbgname member from sysmmu_drvdata structure.
Kernel message for debugging already has the name of a single
System MMU node.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 32 +---
1 file changed, 13
System MMU driver is changed to control only a single instance of
System MMU at a time. Since a single instance of System MMU has only
a single clock descriptor for its clock gating, there is no need to
obtain two or more clock descriptors.
Signed-off-by: Cho KyongHo pullip@samsung.com
This adds gate clocks of all System MMUs and their master IPs
that are not apeared in clk-exynos5250.c and clk-exynos5420.c
Also fixes GATE_IP_ACP to 0x18800 and changed GATE_DA to GATE
for System MMU clocks in clk-exynos4.c
Signed-off-by: Cho KyongHo pullip@samsung.com
---
.../devicetree
This patch uses managed device helper functions in the probe().
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 64 +-
1 file changed, 26 insertions(+), 38 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b
This patch adds dts entries for the System MMU devices found on
Exynos4 and Exynos5 SoC series and the System MMU binding
documentation.
CC: Rob Herring robherri...@gmail.com
CC: Sylwester Nawrocki s.nawro...@samsung.com
Signed-off-by: Cho KyongHo pullip@samsung.com
---
.../bindings/iommu
This commit removes custom fault handler. The device drivers that
need to register fault handler can register
with iommu_set_fault_handler().
CC: Grant Grundler grund...@chromium.org
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 80
to exynos-iommu
driver.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 369 +++---
1 file changed, 238 insertions(+), 131 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 3458349
policy is remained as reserved.
QoS value of page table walking is set to 15 (highst value). System
MMU 3.3 can inherit QoS value of page table walking from its master
H/W's transaction. This new feature is enabled by default and QoS
value written to MMU_CFG is ignored.
Signed-off-by: Cho KyongHo
to master H/W and that has a pointer to the device descriptor of a
System MMU. Given a device descriptor of a master H/W, it is possible
to traverse all System MMUs that must be controlled along with the
master H/W.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos
domain, its driver must
call iommu_attach_device() after its local power domain is turned on,
iommu_detach_device before turned off.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 220 ++
1 file changed, 201 insertions
is prohibited unless
both of the gating clocks of System MMU and its master H/W.
CC: Tomasz Figa t.f...@samsung.com
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 35 ++-
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git
Since acquiring read_lock is not more frequent than write_lock, it is
not beneficial to use rwlock, this commit changes rwlock to spinlock.
Reviewed-by: Grant Grundler grund...@chromium.org
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 39
Patch written by Antonios Motakis a.mota...@virtualopensystems.com:
IOMMU groups are expected by certain users of the IOMMU API,
e.g. VFIO. Since each device is behind its own System MMU, we
can allocate a new IOMMU group for each device.
Reviewd-by: Cho KyongHo pullip@samsung.com
Signed-off
Use of __pa and __va macro is changed to virt_to_phys and phys_to_virt
which are recommended in driver code. printk formatting of physical
address is also fixed to %pa.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 45
This commit introduces sysmmu_pte_t for page table entries and
sysmmu_iova_t vor I/O virtual address that is manipulated by
exynos-iommu driver. The purpose of the typedef is to remove
dependencies to the driver code from the change of CPU architecture
from 32 bit to 64 bit.
Signed-off-by: Cho
.
This is the size between 256K ~ 384K.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 164 +-
1 file changed, 147 insertions(+), 17 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 3d4dabb
Some redundant error message is removed and some error messages
are changed to error level from debug level.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 23 +--
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/drivers
This commit changes the function to get MMU version simpler.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 30 ++
1 file changed, 6 insertions(+), 24 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu
-Original Message-
From: Olof Johansson [mailto:o...@lixom.net]
Sent: Friday, February 14, 2014 4:34 AM
On Mon, Feb 10, 2014 at 10:21 PM, Kukjin Kim kgene@gmail.com wrote:
Just adding KyongHo Cho.
If he can fixup for this time, it would be best solution because he knows
On Fri, 01 Nov 2013 12:42:24 +0100, Joerg Roedel wrote:
On Mon, Oct 07, 2013 at 10:52:12AM +0900, Cho KyongHo wrote:
Patch summary:
[PATCH 01/20] iommu/exynos: do not include removed header
[PATCH 02/20] iommu/exynos: add missing cache flush for removed page table
entries
[PATCH 03/20
On Fri, 01 Nov 2013 14:10:47 +0100, Joerg Roedel wrote:
Hi Cho,
On Fri, Nov 01, 2013 at 09:37:45PM +0900, Cho KyongHo wrote:
I am preparing next patches to apply Alex Williamson's comment that
description of IOMMU's masters must be aligned with ARM SMMU.
It is delayed due to my jobs
On Thu, 10 Oct 2013 14:54:29 -0600, Alex Williamson wrote:
On Mon, 2013-10-07 at 10:58 +0900, Cho KyongHo wrote:
Patch written by Antonios Motakis a.mota...@virtualopensystems.com:
IOMMU groups are expected by certain users of the IOMMU API,
e.g. VFIO. Since each device is behind its own
On Mon, 07 Oct 2013 08:44:54 -0500, Rob Herring wrote:
On Fri, Jul 26, 2013 at 6:28 AM, Cho KyongHo pullip@samsung.com wrote:
Signed-off-by: Cho KyongHo pullip@samsung.com
---
.../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++
arch/arm/boot/dts/exynos4.dtsi
The current exynos-iommu(System MMU) driver does not work autonomously
since it is lack of support for power management of peripheral blocks.
For example, MFC device driver must ensure that its System MMU is disabled
before MFC block is power-down not to invalidate IOTLB in the System MMU
when I/O
exynos-iommu.c.
CC: Tomasz Figa t.f...@samsung.com
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 0740189..4876d35
grund...@chromium.org
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 4876d35..1c3a397 100644
--- a/drivers/iommu/exynos
that the L2TLB has no stale data.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 27 ++-
1 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 4a74ed8..cbe1e5a
System MMU driver is changed to control only a single instance of
System MMU at a time. Since a single instance of System MMU has only
a single clock descriptor for its clock gating, there is no need to
obtain two or more clock descriptors.
Signed-off-by: Cho KyongHo pullip@samsung.com
This patch changes not to panic on any error when updating page table.
Instead prints error messages with callstack.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 58 +++--
1 files changed, 44 insertions(+), 14
This patch removes dbgname member from sysmmu_drvdata structure.
Kernel message for debugging already has the name of a single
System MMU node.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 34 +-
1 files changed, 13
device has a parent device.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 191cb3f..20b032f 100644
--- a/drivers/iommu
Since kmalloc() does not guarantee that the allignment of 1KiB when it
allocates 1KiB, it is required to allocate lv2 page table from own
slab that guarantees alignment of 1KiB
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 34
This patch uses managed device helper functions in the probe().
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 64 -
1 files changed, 25 insertions(+), 39 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b
This patch adds dts entries for the System MMU devices found on
Exynos4 and Exynos5 SoC series and the System MMU binding
documentation.
CC: Sylwester Nawrocki s.nawro...@samsung.com
Signed-off-by: Cho KyongHo pullip@samsung.com
---
.../bindings/iommu/samsung,exynos4210-sysmmu.txt | 76
This adds gate clocks of all System MMUs and their master IPs
that are not apeared in clk-exynos5250.c and clk-exynos5420.c
Also fixes GATE_IP_ACP to 0x18800 and changed GATE_DA to GATE
for System MMU clocks in clk-exynos4.c
Signed-off-by: Cho KyongHo pullip@samsung.com
---
.../devicetree
Patch written by Antonios Motakis a.mota...@virtualopensystems.com:
IOMMU groups are expected by certain users of the IOMMU API,
e.g. VFIO. Since each device is behind its own System MMU, we
can allocate a new IOMMU group for each device.
Reviewd-by: Cho KyongHo pullip@samsung.com
Signed-off
Since acquiring read_lock is not more frequent than write_lock, it is
not beneficial to use rwlock, this commit changes rwlock to spinlock.
Reviewed-by: Grant Grundler grund...@chromium.org
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 35
master
H/W's transaction. This new feature is enabled by default and QoS
value written to MMU_CFG is ignored.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 20 +---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu
Grundler grund...@chromium.org
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 13 +++--
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 26ba554..5025338 100644
--- a/drivers
domain, its driver must
call iommu_attach_device() after its local power domain is turned on,
iommu_detach_device before turned off.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 190 +-
1 files changed, 186 insertions
to exynos-iommu
driver.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 337 +-
1 files changed, 201 insertions(+), 136 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 976b88a
is prohibited unless
both of the gating clocks of System MMU and its master H/W.
CC: Tomasz Figa t.f...@samsung.com
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 75 +++--
1 files changed, 56 insertions(+), 19 deletions(-)
diff
This commit removes custom fault handler. The device drivers that
need to register fault handler can register
with iommu_set_fault_handler().
CC: Grant Grundler grund...@chromium.org
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 80
This commit adds device tree support for System MMU.
This also include the following changes and enhancements:
* use managed device helper functions.
Simplyfies System MMU device driver.
Signed-off-by: Cho KyongHo pullip@samsung.com
---
drivers/iommu/Kconfig|5 ++---
drivers
On Fri, 27 Sep 2013 14:55:51 -0400, Sean Paul wrote:
On Tue, Dec 25, 2012 at 8:54 PM, Cho KyongHo pullip@samsung.com wrote:
This removes System MMU initialization from arch/arm/mach-exynos/
to move them to DT and the exynos-iommu driver except gating clock
definitions.
exynos
On Sun, 29 Sep 2013 20:38:38 -0400, Sean Paul wrote:
On Sun, Sep 29, 2013 at 8:35 PM, Cho KyongHo pullip@samsung.com wrote:
On Fri, 27 Sep 2013 14:55:51 -0400, Sean Paul wrote:
On Tue, Dec 25, 2012 at 8:54 PM, Cho KyongHo pullip@samsung.com
wrote:
This removes System MMU
On Sun, 29 Sep 2013 19:03:06 -0700, Olof Johansson wrote:
Hi,
2013/9/29 Cho KyongHo pullip@samsung.com:
Ah, I remember that this is merged.
I agreed to merge this patch because iommu driver need to be completely
changed.
Whenever I change exynos-iommu driver, synchronizing
On Wed, 14 Aug 2013 12:56:16 +0200, 'Joerg Roedel' wrote:
On Fri, Aug 09, 2013 at 09:55:30AM +0200, Tomasz Figa wrote:
Oh, this is a valid point, but it was more a nitpick about the coding
style. Single path error handling (with goto) is widely used in the kernel
in cases when more than
On Wed, 14 Aug 2013 13:54:53 -0700, Grant Grundler wrote:
On Wed, Aug 14, 2013 at 3:49 AM, Joerg Roedel j...@8bytes.org wrote:
On Thu, Aug 08, 2013 at 11:28:44AM -0700, Grant Grundler wrote:
I can't speak to the previous BUG_ON(). I believe the EADDRESSINUSE
failures could be either WARN_ON
On Wed, 14 Aug 2013 15:15:49 +0200, 'Joerg Roedel' wrote:
KyongHo,
On Fri, Jul 26, 2013 at 07:46:01PM +0900, Cho KyongHo wrote:
__sysmmu_enable() must return 1 if it is called with the same page table.
I have fixed it exynos_iommu_attach_device() to always return zero on
success
On Fri, 09 Aug 2013 10:32:40 +0200, Tomasz Figa wrote:
On Friday 09 of August 2013 16:49:43 Cho KyongHo wrote:
On Fri, 09 Aug 2013 01:03:05 +0200, Tomasz Figa wrote:
Hi KyongHo,
nit: Please drop the trailing dot at the end of patch subject.
Oh. I didn't catch that.
Thank you
On Fri, 09 Aug 2013 11:35:20 +0200, Tomasz Figa wrote:
On Friday 09 of August 2013 17:51:56 Cho KyongHo wrote:
On Fri, 09 Aug 2013 09:55:30 +0200, Tomasz Figa wrote:
Hi KyongHo,
On Friday 09 of August 2013 14:58:49 Cho KyongHo wrote:
On Thu, 08 Aug 2013 16:00:18 +0200, Tomasz Figa
On Fri, 09 Aug 2013 10:30:11 +0200, Tomasz Figa wrote:
On Friday 09 of August 2013 15:37:30 Cho KyongHo wrote:
On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote:
Hi KyongHo,
On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote:
This commit adds device tree support
On Fri, 09 Aug 2013 00:26:51 +0200, Tomasz Figa wrote:
Hi KyongHo,
On Thursday 08 of August 2013 18:38:35 Cho KyongHo wrote:
Signed-off-by: Cho KyongHo pullip@samsung.com
---
.../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++
arch/arm/boot/dts/exynos4.dtsi
On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote:
Hi KyongHo,
On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote:
This commit adds device tree support for System MMU.
This also include the following changes and enhancements:
* use managed device helper functions
1 - 100 of 255 matches
Mail list logo