Re: IOVA allocation dependency between firmware buffer and remaining buffers

2020-09-24 Thread Shaik Ameer Basha
Hi Robin and Marek, On Thu, Sep 24, 2020 at 4:36 PM Robin Murphy wrote: > > On 2020-09-24 11:47, Marek Szyprowski wrote: > > Hi Robin, > > > > On 24.09.2020 12:40, Robin Murphy wrote: > >> On 2020-09-24 11:16, Thierry Reding wrote: > >>> On Thu, Sep 24, 2020 at 10:46:46AM +0200, Marek Szyprowski

Re: IOVA allocation dependency between firmware buffer and remaining buffers

2020-04-24 Thread Shaik Ameer Basha
On Fri, Apr 24, 2020 at 8:59 PM Robin Murphy wrote: > > On 2020-04-24 4:04 pm, Ajay kumar wrote: > > Can someone check this? > > > > On Mon, Apr 20, 2020 at 9:24 PM Ajay kumar wrote: > >> > >> Hi All, > >> > >> I have an IOMMU master which has limitations as mentioned below: > >> 1) The IOMMU mas

Re: [PATCH v13 00/19] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-13 Thread Shaik Ameer Basha
On Tue, May 13, 2014 at 10:50 PM, Joerg Roedel wrote: > On Mon, May 12, 2014 at 11:44:45AM +0530, Shaik Ameer Basha wrote: >> Cho KyongHo (18): >> iommu/exynos: fix build errors >> iommu/exynos: change error handling when page table update is failed >> iommu/exyn

[PATCH] documentation/iommu: Add note on existing DT binding status

2014-05-13 Thread Shaik Ameer Basha
The current dt binding for Exynos System MMU can be changed, if found incompatible with the support for "Generic IOMMU Binding". This patch adds a note to the binding documentation stating the same. Signed-off-by: Shaik Ameer Basha --- .../devicetree/bindings/iommu/samsung,sysmmu.tx

Re: [PATCH v13 00/19] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-13 Thread Shaik Ameer Basha
On Mon, May 12, 2014 at 3:37 PM, Arnd Bergmann wrote: > On Monday 12 May 2014 11:44:45 Shaik Ameer Basha wrote: >> This is the subset of previous v12 series and includes only the fixes and >> enhancements, leaving out the private DT bindings as discussed in the below >> t

[PATCH v13 18/19] iommu/exynos: turn on useful configuration options

2014-05-11 Thread Shaik Ameer Basha
patch also adds simplifies the sysmmu version checking by introducing some macros. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 38 ++ 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/drivers/

[PATCH v13 19/19] iommu/exynos: apply workaround of caching fault page table entries

2014-05-11 Thread Shaik Ameer Basha
fetch upto consecutive 32 page table entries. This is the size between 256K ~ 384K. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 163 +- 1 file changed, 146 insertions(+), 17 deletions(-) diff --git a/dr

[PATCH v13 12/19] iommu/exynos: change rwlock to spinlock

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo 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 Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 27

[PATCH v13 02/19] iommu/exynos: change error handling when page table update is failed

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo This patch changes not to panic on any error when updating page table. Instead prints error messages with callstack. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 58 -- 1 file

[PATCH v13 10/19] iommu/exynos: gating clocks of master H/W

2014-05-11 Thread Shaik Ameer Basha
System MMU is prohibited unless both of the gating clocks of System MMU and its master H/W. CC: Tomasz Figa Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 40 ++-- 1 file changed, 38 insertions(+), 2 deletions

[PATCH v13 11/19] iommu/exynos: remove custom fault handler

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo 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 Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 80

[PATCH v13 00/19] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-11 Thread Shaik Ameer Basha
Addressed v11 review comments from 'Sachin Kamat', 'Tomasz Figa' and 'Shaik Ameer Basha' - Uses macro names instead of magic numbers for clock description in DT - Moved DT binding document to seperate patch - dtsi changes are separated into multiple patch

[PATCH v13 05/19] iommu/exynos: remove prefetch buffer setting

2014-05-11 Thread Shaik Ameer Basha
buffers must 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 Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 14 -- 1 file

[PATCH v13 07/19] iommu/exynos: always enable runtime PM

2014-05-11 Thread Shaik Ameer Basha
on to see if the probing device has a parent device. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- 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 6915235..ef

[PATCH v13 15/19] iommu/exynos: enhanced error messages

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo Some redundant error message is removed and some error messages are changed to error level from debug level. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 23 +-- 1 file changed, 9 insertions(+), 14

[PATCH v13 16/19] documentation: iommu: add binding document of Exynos System MMU

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo This patch adds a description of the device tree binding for the Samsung Exynos System MMU. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- .../devicetree/bindings/iommu/samsung,sysmmu.txt | 65 1 file changed, 65 insertions

[PATCH v13 06/19] iommu/exynos: add missing cache flush for removed page table entries

2014-05-11 Thread Shaik Ameer Basha
Grundler Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- 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 4fc31fc..6915235 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers

[PATCH v13 09/19] iommu/exynos: use managed device helper functions

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo This patch uses managed device helper functions in the probe(). Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 68 -- 1 file changed, 25 insertions(+), 43 deletions(-) diff --git a

[PATCH v13 08/19] iommu/exynos: remove dbgname from drvdata of a System MMU

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo This patch removes dbgname member from sysmmu_drvdata structure. Kernel message for debugging already has the name of a single System MMU node. It also removes some compilation warnings. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos

[PATCH v13 17/19] iommu/exynos: support for device tree

2014-05-11 Thread Shaik Ameer Basha
-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 283 +++--- 1 file changed, 158 insertions(+), 125 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 7188b47..b937490 100644 --- a/drivers/iommu/exynos

[PATCH v13 14/19] iommu/exynos: add devices attached to the System MMU to an IOMMU group

2014-05-11 Thread Shaik Ameer Basha
From: Antonios Motakis Patch written by Antonios Motakis : 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. Reviewed-by: Cho KyongHo Signed-off-by: Antonios Motakis Signed

[PATCH v13 13/19] iommu/exynos: use exynos-iommu specific typedef

2014-05-11 Thread Shaik Ameer Basha
. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 101 -- 1 file changed, 59 insertions(+), 42 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index d89ad5f..3291619 100644

[PATCH v13 04/19] iommu/exynos: fix L2TLB invalidation

2014-05-11 Thread Shaik Ameer Basha
information to guarantee that the L2TLB has no stale data. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu

[PATCH v13 03/19] iommu/exynos: allocate lv2 page table from own slab

2014-05-11 Thread Shaik Ameer Basha
From: Cho KyongHo 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 Signed-off-by: Shaik Ameer Basha --- drivers/iommu/exynos-iommu.c

[PATCH v13 01/19] iommu/exynos: fix build errors

2014-05-11 Thread Shaik Ameer Basha
. Since a single instance of System MMU has only a single clock descriptor for its clock gating, single address range for control registers, there is no need to obtain two or more clock descriptors and ioremaped region. CC: Tomasz Figa Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha

Re: [PATCH v12 00/31] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-04-30 Thread Shaik Ameer Basha
On Mon, Apr 28, 2014 at 2:04 PM, Arnd Bergmann wrote: > On Sunday 27 April 2014 13:07:32 Shaik Ameer Basha wrote: >> The current exynos-iommu(System MMU) driver does not work autonomously >> since it is lack of support for power management of peripheral blocks. >> For examp

Re: [PATCH v12 00/31] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-04-29 Thread Shaik Ameer Basha
On Mon, Apr 28, 2014 at 2:04 PM, Arnd Bergmann wrote: > On Sunday 27 April 2014 13:07:32 Shaik Ameer Basha wrote: >> The current exynos-iommu(System MMU) driver does not work autonomously >> since it is lack of support for power management of peripheral blocks. >> For examp

[PATCH v12 30/31] ARM: dts: add System MMU nodes of exynos5250

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo Signed-off-by: Cho KyongHo --- arch/arm/boot/dts/exynos5250.dtsi | 270 - 1 file changed, 267 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 3742331..eebd397 100644 -

[PATCH v12 31/31] ARM: dts: add System MMU nodes of exynos5420

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch adds System MMU nodes of exynos5420 except System MMUs in Image Subsystem. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- arch/arm/boot/dts/exynos5420.dtsi | 209 - 1 file changed, 206 insertions(+), 3

[PATCH v12 26/31] clk: exynos: add gate clock descriptions of System MMU

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This adds gate clocks of all System MMUs and their master IPs that are not apeared in clk-exynos5250.c and clk-exynos5420.c Signed-off-by: Cho KyongHo --- drivers/clk/samsung/clk-exynos5250.c | 36 drivers/clk/samsung/clk-exynos5420.c |

[PATCH v12 22/31] iommu/exynos: use exynos-iommu specific typedef

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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. Si

[PATCH v12 27/31] ARM: dts: add System MMU nodes of exynos4 series

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch adds System MMU nodes that are common to exynos4 series. Signed-off-by: Cho KyongHo --- arch/arm/boot/dts/exynos4.dtsi | 107 1 file changed, 107 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dt

[PATCH v12 24/31] iommu/exynos: apply workaround of caching fault page table entries

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch contains 2 workaround for the System MMU v3.x. System MMU v3.2 and v3.3 has FLPD cache that caches first level page table entries to reduce page table walking latency. However, the FLPD cache is filled with a first level page table entry even though it is not accesse

[PATCH v12 28/31] ARM: dts: add System MMU nodes of exynos4210

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch adds System MMUs that are specific to exynos4210. Signed-off-by: Cho KyongHo --- arch/arm/boot/dts/exynos4210.dtsi | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/e

[PATCH v12 25/31] iommu/exynos: enhanced error messages

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo Some redundant error message is removed and some error messages are changed to error level from debug level. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/iomm

[PATCH v12 23/31] iommu/exynos: use simpler function to get MMU version

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This commit changes the function to get MMU version simpler. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 30 ++ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-i

[PATCH v12 29/31] ARM: dts: add System MMU nodes of exynos4x12

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch adds System MMU nodes that are specifict to exynos4x12 series. Signed-off-by: Cho KyongHo --- arch/arm/boot/dts/exynos4x12.dtsi | 78 - 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4x12.

[PATCH v12 13/31] iommu/exynos: gating clocks of master H/W

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch gates clocks of master H/W as well as clocks of System MMU if master clocks are specified. Some Exynos SoCs (i.e. GScalers in Exynos5250) have dependencies in the gating clocks of master H/W and its System MMU. If a H/W is the case, accessing control registers of Sys

[PATCH v12 16/31] iommu/exynos: turn on useful configuration options

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This turns on FLPD_CACHE, ACGEN and SYSSEL. FLPD_CACHE is a cache of 1st level page table entries that contains the address of a 2nd level page table to reduce latency of page table walking. ACGEN is architectural clock gating that gates clocks by System MMU itself if it is no

[PATCH v12 21/31] iommu/exynos: fix address handling

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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 --- drivers/iommu/exynos-iommu.c | 33 + 1 fil

[PATCH v12 12/31] iommu/exynos: support for device tree

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This commit adds device tree support for System MMU. It also enables iommu support for ARCH_EXYNOS. Signed-off-by: Cho KyongHo Signed-off-by: Shaik Ameer Basha --- arch/arm/Kconfig |2 ++ drivers/iommu/Kconfig|8 +++- drivers/iommu/exynos

[PATCH v12 20/31] iommu/exynos: add devices attached to the System MMU to an IOMMU group

2014-04-27 Thread Shaik Ameer Basha
From: Antonios Motakis Patch written by Antonios Motakis : 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 Signed-off-by: Antonios Motakis --- dr

[PATCH v12 19/31] iommu/exynos: change rwlock to spinlock

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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 Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 39 ---

[PATCH v12 10/31] iommu/exynos: use managed device helper functions

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch uses managed device helper functions in the probe(). Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 68 -- 1 file changed, 25 insertions(+), 43 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/driver

[PATCH v12 14/31] iommu/exynos: remove custom fault handler

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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 Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 80 +- 1 f

[PATCH v12 11/31] documentation: iommu: add binding document of Exynos System MMU

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch adds a description of the device tree binding for the Samsung Exynos System MMU. Signed-off-by: Cho KyongHo --- .../devicetree/bindings/iommu/samsung,sysmmu.txt | 79 1 file changed, 79 insertions(+) create mode 100644 Documentation/device

[PATCH v12 17/31] iommu/exynos: add support for power management subsystems.

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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 before it is working if its power domain was ever turned off. TLB invalidation according to unmapping

[PATCH v12 15/31] iommu/exynos: handle 'mmu-masters' property of DT and improve handling sysmmu

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo "iommu/exynos: support for device tree" patch just binds exynos-iommu driver with the compatible strings of System MMUs but the important information of the DT, 'mmu-masters' is not processed by the driver. This patch process 'mmu-masters' so that the master device driver can ha

[PATCH v12 18/31] iommu/exynos: allow having multiple System MMUs for a master H/W

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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 and its master H/W is needed to be reconsidered. A link structure, sysmmu_list_data is introduced t

[PATCH v12 09/31] iommu/exynos: remove dbgname from drvdata of a System MMU

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch removes dbgname member from sysmmu_drvdata structure. Kernel message for debugging already has the name of a single System MMU node. It also removes some compilation warnings. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 54 +++---

[PATCH v12 06/31] iommu/exynos: allocate lv2 page table from own slab

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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 --- drivers/iommu/exynos-iommu.c | 34

[PATCH v12 05/31] iommu/exynos: remove prefetch buffer setting

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo Prefetch buffer is a cache of System MMU 3.x and caches a block of page table entries to make effect of larger page with small pages. However, how to control prefetch buffers and the specifications of prefetch buffers different from minor versions of System MMU v3. Prefetch buff

[PATCH v12 07/31] iommu/exynos: always enable runtime PM

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo Checking if the probing device has a parent device was just to discover if the probing device is involved in a power domain when the power domain controlled by Samsung's custom implementation. Since generic IO power domain is applied, it is required to remove the condition to se

[PATCH v12 08/31] iommu/exynos: handle one instance of sysmmu with a device descriptor

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo 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, single address range for control registers, there is no need to obtain two or more clock descrip

[PATCH v12 01/31] iommu/exynos: do not include removed header

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error. This patch fixes the error by removing respectiv

[PATCH v12 03/31] iommu/exynos: change error handling when page table update is failed

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This patch changes not to panic on any error when updating page table. Instead prints error messages with callstack. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 58 -- 1 file changed, 44 insertions(+), 14 deletions(-

[PATCH v12 02/31] iommu/exynos: add missing cache flush for removed page table entries

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo This commit adds cache flush for removed small and large page entries in exynos_iommu_unmap(). Missing cache flush of removed page table entries can cause missing page fault interrupt when a master IP accesses an unmapped area. Reviewed-by: Tomasz Figa Tested-by: Grant Grundle

[PATCH v12 04/31] iommu/exynos: fix L2TLB invalidation

2014-04-27 Thread Shaik Ameer Basha
From: Cho KyongHo L2TLB is 8-way set-associative TLB with 512 entries. The number of sets is 64. A single 4KB(small page) translation information is cached only to a set whose index is the same with the lower 6 bits of the page frame number. A single 64KB(large page) translation information can b

[PATCH v12 00/31] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-04-27 Thread Shaik Ameer Basha
fixes and enhancements of the current driver. Change log: v12: - Rebased to the latest 3.15-rc2 master branch git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master (3.15-rc2) - Addressed v11 review comments from 'Sachin Kamat', 'Tomasz Figa' and '

Re: [PATCH v11 20/27] iommu/exynos: allow having multiple System MMUs for a master H/W

2014-04-22 Thread Shaik Ameer Basha
MUs are attached in the order of the presence > +* in device tree > */ > - master->dev.archdata.iommu = dev; > + list_add_tail(&list_data->entry, &owner->mmu_list); > } > > - data->

Re: [PATCH v11 12/27] ARM: dts: Add description of System MMU of Exynos SoCs

2014-04-21 Thread Shaik Ameer Basha
"samsung,sysmmu-v3.2"; > + reg = <0x128D 0x1000>; > + interrupt-parent = <&combiner>; > + interrupts = <22 6>; > + clock-names = "sysmmu", "master"; > + clocks