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
well than others, I think.
It's not so much a matter of fixup for this time, it's a about
having ownership of the driver, making sure it works
On Fri, Feb 1, 2013 at 10:51 PM, Joerg Roedel j...@8bytes.org wrote:
Cho,
On Wed, Jan 02, 2013 at 02:53:49PM +0900, KyongHo Cho wrote:
On Tuesday, January 1, 2013, Sylwester Nawrocki
sylvester.nawro...@gmail.com
Cc: devicetree-disc...@lists.ozlabs.org
Since patch 7 of this set
On Wed, Jan 9, 2013 at 7:23 AM, Sylwester Nawrocki
sylvester.nawro...@gmail.com wrote:
On 01/07/2013 11:45 AM, KyongHo Cho 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 example, MFC
On Mon, Aug 27, 2012 at 4:11 PM, Seung-Woo Kim sw0312@samsung.com wrote:
This is trivial patch to mate parameter name between iommu api enabled case
and
disabled case.
Signed-off-by: Seung-Woo Kim sw0312@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
Sorry
On Sun, Apr 15, 2012 at 12:51 AM, Kukjin Kim kgene@samsung.com wrote:
On 04/12/12 01:19, KyongHo Cho wrote:
On Wed, Apr 11, 2012 at 11:34 PM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
Hi!
These two patches fixes operation of the SYSMMU driver (v12 version [1])
with the new
On Wed, Apr 11, 2012 at 11:34 PM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
SYSMMU platform devices must be registered before setting up power
domains to let power domain driver to correctly register also SYSMMU
controller devices. This patch also registers SYSMMU controller devices
to
On Thu, Mar 29, 2012 at 10:23 AM, Kukjin Kim kgene@samsung.com wrote:
Joerg Roedel wrote:
On Fri, Mar 16, 2012 at 01:47:50PM -0700, Kukjin Kim wrote:
Anyway Joerg, how do you want to handle this? Do you want to pick up
1/2/3 all of them in your tree? If so, 2nd patch should be on top of
On Tue, Mar 20, 2012 at 10:50 PM, Subash Patel subas...@gmail.com wrote:
Sorry for digging this very late. But as part of integrating dma_map v7
sysmmu v12 on 3.3-rc5, I am facing below issue:
a) By un-selecting IOMMU in menu config, I am able to allocate memory in
vb2-dma-contig
b) When I
On Tue, Mar 13, 2012 at 7:00 PM, Joerg Roedel joerg.roe...@amd.com wrote:
On Tue, Mar 13, 2012 at 05:50:16PM +0900, KyongHo Cho wrote:
+struct sysmmu_drvdata {
+ struct device *sysmmu;
+ char *dbgname;
+ int nsfrs;
+ void __iomem **sfrbases;
+ struct clk *clk[2
These patches are successfully compiled
in linux-samsung.git/for-next branch
You can find the git repo. In
http://git.kernel.org/?p=linux/kernel/git/kgene/linux-samsung.git;a=summary
Changes since v9:
- Split the first patch into 2 patches.
One removes System MMU driver from arch/arm/plat-
becomes a child if its power domain device.
- clkdev
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos/Kconfig| 11 +-
arch/arm/mach-exynos/Makefile |2 +-
arch/arm/mach-exynos/clock-exynos4.c| 79 ++--
arch/arm
@samsung.com
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/Kconfig| 21 +
drivers/iommu/Makefile |1 +
drivers/iommu/exynos-iommu.c | 1088 ++
3 files changed, 1110 insertions(+), 0 deletions(-)
create mode 100644
On Tue, Mar 6, 2012 at 7:03 PM, Kyungmin Park kyungmin.p...@samsung.com wrote:
-#define S5P_SYSMMU_TOTAL_IPNUM EXYNOS4_SYSMMU_TOTAL_IPNUM
+#define SYSMMU_DEVNAME_BASE exynos-sysmmu
+
+#define SYSMMU_CLOCK_NAME sysmmu
+#define SYSMMU_CLOCK_NAME2 sysmmu_mc
What's the meaning of
On Tue, Mar 6, 2012 at 10:13 PM, Kyungmin Park kmp...@infradead.org wrote:
On Tue, Mar 6, 2012 at 5:31 PM, KyongHo Cho pullip@samsung.com wrote:
HAALgBjAGgAbwBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA=;Tue,
06 Mar 2012 08:31:29
GMT
On Wed, Mar 7, 2012 at 2:28 PM, InKi Dae daei...@gmail.com wrote:
+static irqreturn_t exynos_sysmmu_irq(int irq, void *dev_id)
+{
+ /* SYSMMU is in blocked when interrupt occurred. */
+ struct sysmmu_drvdata *data = dev_id;
+ struct resource *irqres;
+ struct
On Thu, Mar 1, 2012 at 12:04 AM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
+/**
+ * arm_iommu_map_sg - map a set of SG buffers for streaming mode DMA
+ * @dev: valid struct device pointer
+ * @sg: list of buffers
+ * @nents: number of buffers to map
+ * @dir: DMA transfer direction
+
On Tue, Feb 28, 2012 at 4:01 PM, Kyungmin Park
kyungmin.p...@samsung.com wrote:
Hi,
Some comments.
1. It's not same patch series. since it has additional feature,
exynos5 series support which don't covered at previous time.
2. It assumes that name conversion is based on exynos5 as default.
On Tue, Feb 28, 2012 at 4:20 PM, Kyungmin Park
kyungmin.p...@samsung.com wrote:
Hi,
On 2/28/12, KyongHo Cho pullip@samsung.com wrote:
Handling System MMUs with an identifier is not flexible to manage
System MMU platform devices because of the following reasons:
1. A device driver which
On Tue, Feb 28, 2012 at 4:53 PM, Kyungmin Park
kyungmin.p...@samsung.com wrote:
+void exynos_sysmmu_set_prefbuf(struct device *owner,
+ unsigned long base0, unsigned long size0,
+ unsigned long base1, unsigned long size1)
+{
+ struct
On Tue, Feb 28, 2012 at 12:51 AM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
The next patch will be submitted by 2/28.
Ok, I will check it soon then.
Thank you a lot.
The next IOMMU driver defines just one platform device for a H/W device.
Thus, it defines just one SYSMMU_MFC
Changes since v8:
- exynos_iommu_map/unmap() just works for the page sizes
that System MMU supports. (Joerg's comment)
- 1 platform device for 1 H/W though a multimedia accelerator
with several System MMUs attached.
This make controlling System MMU simpler.
- Information between System
becomes a child if its power domain device.
- clkdev
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos/Kconfig| 11 +-
arch/arm/mach-exynos/Makefile |2 +-
arch/arm/mach-exynos/clock-exynos4.c| 79 ++--
arch/arm/mach
-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p/Kconfig |8 -
arch/arm/plat-s5p/Makefile |1 -
arch/arm/plat-s5p/sysmmu.c | 324
arch/arm/plat-samsung/include/plat/sysmmu.h | 95 ---
drivers/iommu/Kconfig
Hi Marek.
On Fri, Feb 24, 2012 at 10:45 PM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
Hi,
On Thursday, December 29, 2011 1:24 PM KyongHo Cho wrote:
Changes since v7:
- Rebased with the recent commits of the following git branches
* git.kernel.org/pub/scm/linux/kernel/git/joro
On Fri, Jan 27, 2012 at 11:13 AM, Kukjin Kim kgene@samsung.com wrote:
KyongHo Cho wrote:
Hi,
On Mon, Jan 23, 2012 at 11:27 PM, Joerg Roedel j...@8bytes.org wrote:
Hi,
please also get and inclue Acks from the Exynos maintainer for the next
post.
Since I have a compiling config
pointed
out below.
Thanks for review!
I will include the Acks in the next patchset.
I will post the next patchset with corrections by the day after tomorrow.
And sorry for late reply.
I had holidays for the new year's day based on Lunar system.
On Thu, Dec 29, 2011 at 09:26:08PM +0900, KyongHo
On Thu, Jan 5, 2012 at 8:47 PM, Joerg Roedel joerg.roe...@amd.com wrote:
On Wed, Jan 04, 2012 at 09:26:20PM +, Russell King - ARM Linux wrote:
On Wed, Jan 04, 2012 at 04:01:01PM +0100, Joerg Roedel wrote:
On Tue, Jan 03, 2012 at 09:55:27AM +, Russell King - ARM Linux wrote:
It comes
Hi
On Mon, Jan 2, 2012 at 10:42 PM, Joerg Roedel joerg.roe...@amd.com wrote:
Hi,
On Thu, Dec 29, 2011 at 09:24:18PM +0900, KyongHo Cho wrote:
Changes since v7:
- Rebased with the recent commits of the following git branches
* git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git/next
becomes a child if its power domain device.
- clkdev
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos/Kconfig |5 +
arch/arm/mach-exynos/clock-exynos4210.c | 16 ++
arch/arm/mach-exynos/clock-exynos4212.c |1 +
arch/arm
On Thu, Dec 15, 2011 at 05:11:26PM +0100, Joerg Roedel wrote:
On Tue, Dec 13, 2011 at 04:14:20PM +0900, KyongHo Cho wrote:
Since it is not guaranteed that an iommu driver initializes in its
domain_init() function, it must be initialized with NULL to prevent
calling a function
Since it is not guaranteed that an iommu driver initializes in its
domain_init() function, it must be initialized with NULL to prevent
calling a function in an arbitrary location when iommu fault occurred.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/iommu.c |1 +
1
On Tue, Dec 6, 2011 at 8:24 AM, Kyungmin Park kmp...@infradead.org wrote:
On 12/6/11, Joerg Roedel joerg.roe...@amd.com wrote:
On Fri, Nov 18, 2011 at 06:47:28PM +0900, KyongHo Cho wrote:
Patch Summary:
[PATCH v7 1/2] ARM: EXYNOS: Change System MMU platform device definitions
[PATCH v7 2/2
KyongHo Cho wrote:
+
+static int exynos_sysmmu_probe(struct platform_device *pdev)
+{
+ struct resource *res, *ioarea;
+ int ret;
+ int irq;
+ struct device *dev;
+ void *sfr;
+ struct sysmmu_drvdata *data;
+ char *emsg;
+
+ dev = pdev-dev
Changes since v6:
- Totally rewrite exynos_iommu_map() and exynos_iommu_unmap() according
to the change in iommu_map() and iommu_unmap().
- Change special slab for Lv2 page table to kmalloc().
Changes since v5:
- Relation between device and a domain become n:1 (Joerg's comment)
- Implements
: Russell King li...@arm.linux.org.uk
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p/Kconfig |8 -
arch/arm/plat-s5p/Makefile |1 -
arch/arm/plat-s5p/sysmmu.c | 312 -
arch/arm/plat-samsung/include/plat/sysmmu.h
becomes a child if its power domain device.
- clkdev
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos/Kconfig |2 +
arch/arm/mach-exynos/clock-exynos4210.c | 16 ++
arch/arm/mach-exynos/clock.c | 55 ++--
arch
Hi.
Patch Summary:
[PATCH v6 1/2] ARM: EXYNOS: Change System MMU platform device definitions
[PATCH v6 2/2] iommu/exynos: Add iommu driver for Exynos Platforms
The first patche enhances System MMU platform device definition:
- Removed System MMU for MDMA0 in TOP block because it is not
used.
: Russell King li...@arm.linux.org.uk
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p/Kconfig |8 -
arch/arm/plat-s5p/Makefile |1 -
arch/arm/plat-s5p/sysmmu.c | 312
arch/arm/plat-samsung/include/plat
becomes a child if its power domain device.
- clkdev
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos/Kconfig |2 +
arch/arm/mach-exynos/clock-exynos4210.c | 16 ++
arch/arm/mach-exynos/clock.c | 55 ++--
arch
On Tue, Nov 15, 2011 at 2:37 PM, Kyungmin Park kmp...@infradead.org wrote:
@@ -988,6 +989,21 @@ static struct platform_device *universal_devices[]
__initdata = {
cam_i_core_fixed_reg_dev,
cam_s_if_fixed_reg_dev,
s5p_device_fimc_md,
+ SYSMMU_PLATDEV(sss),
+
On Tue, Nov 15, 2011 at 3:05 PM, Kyungmin Park kmp...@infradead.org wrote:
+static bool set_sysmmu_active(struct sysmmu_drvdata *data)
+{
+ /* return true if the System MMU was not active previously
+ and it needs to be initialized */
+ data-activations++;
+ return
On Tue, Nov 15, 2011 at 3:12 PM, KyongHo Cho pullip@samsung.com wrote:
On Tue, Nov 15, 2011 at 2:37 PM, Kyungmin Park kmp...@infradead.org wrote:
@@ -988,6 +989,21 @@ static struct platform_device *universal_devices[]
__initdata = {
cam_i_core_fixed_reg_dev
On Fri, Oct 14, 2011 at 11:17 PM, Roedel, Joerg joerg.roe...@amd.com wrote:
On Thu, Oct 13, 2011 at 04:13:23AM -0400, KyongHo Cho wrote:
+struct exynos_iommu_domain {
+ struct device *dev;
+ unsigned long *pgtable;
+ spinlock_t lock;
+ spinlock_t pgtablelock
Hi.
This is the firth try of submitting patches about IOMMU/System MMU
Patch Summary:
[PATCH v4 1/2] ARM: EXYNOS4: Change System MMU device definition
[PATCH v4 2/2] iommu/exynos: Add iommu driver for Exynos Platforms
The first patche enhances System MMU platform device definition:
- Removed
that is included in LCD0 block because it is not used
anymore. Use MDMA in TOP block.
3. Changed System MMU definitions of platform device. It is not an array
anymore.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/Kconfig |2 -
arch/arm/mach
Hi Ohad,
On Wed, Oct 12, 2011 at 5:22 PM, Ohad Ben-Cohen o...@wizery.com wrote:
+static int exynos_iommu_unmap(struct iommu_domain *domain, unsigned long
iova,
+ int gfp_order)
+{
...
+ return 0;
+}
-unmap() should return the size of the unmapped region (in
Hi.
This is the fifth try of submitting patches about IOMMU/System MMU
Patch Summary:
[PATCH v5 1/2] ARM: EXYNOS4: Change System MMU device definition
[PATCH v5 2/2] iommu/exynos: Add iommu driver for Exynos Platforms
The first patche enhances System MMU platform device definition:
- Removed
that is included in LCD0 block because it is not used
anymore. Use MDMA in TOP block.
3. Changed System MMU definitions of platform device. It is not an array
anymore.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/Kconfig |2 -
arch/arm/mach
: Russell King li...@arm.linux.org.uk
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p/Kconfig |8 -
arch/arm/plat-s5p/Makefile |1 -
arch/arm/plat-s5p/sysmmu.c | 312 -
arch/arm/plat-samsung/include/plat
On Fri, Sep 30, 2011 at 9:06 PM, Roedel, Joerg joerg.roe...@amd.com wrote:
First comment: Pleas remove the 'inline' annotations in this patch. It
is better to let the compiler decide what to inline and what not.
Ok. Thanks :)
Hmm, may it make sense to store data directly in dev-arch.iommu?
On Fri, Sep 30, 2011 at 10:42 PM, Roedel, Joerg joerg.roe...@amd.com wrote:
On Fri, Sep 30, 2011 at 03:30:57AM -0400, Kukjin Kim wrote:
From: KyongHo Cho pullip@samsung.com
Due to Ohad Ben-Cohen gathered IOMMU drivers in drivers/iommu directory,
System MMU driver is moved to drivers/iommu
On Fri, Sep 30, 2011 at 10:46 PM, Roedel, Joerg joerg.roe...@amd.com wrote:
On Fri, Sep 30, 2011 at 03:31:49AM -0400, Kukjin Kim wrote:
From: KyongHo Cho pullip@samsung.com
This replaces register_iommu() with bus_set_iommu() according to the
suggestion of Joerg Roedel.
This should
On Tue, Sep 27, 2011 at 5:48 PM, Ohad Ben-Cohen o...@wizery.com wrote:
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index d084e87..2987199 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -98,11 +98,12 @@ extern void iommu_set_fault_handler(struct
iommu_domain
Hi.
This patch set enhances System MMU platform device definitions of Exynos
SoC platforms, adds the implementation of IOMMU API as well as and moves
Syste MMU driver to the drivers/iommu directory.
The IOMMU driver also implements fault handler that Ohad Ben-Cohen has
suggeested and iommu_ops
Due to Ohad Ben-Cohen gathered IOMMU drivers in drivers/iommu directory,
System MMU driver is moved to drivers/iommu directory and removed
from arch/arm/plat-s5p directory.
Please see
https://lkml.org/lkml/2011/6/8/69
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p
that is included in LCD0 block because it is not used
anymore. Use MDMA in TOP block.
3. Changed System MMU definitions of platform device. It is not an array
anymore.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/Kconfig |2 -
arch/arm/mach
Due to Ohad Ben-Cohen gathered IOMMU drivers in drivers/iommu directory,
System MMU driver is moved to drivers/iommu directory and removed
from arch/arm/plat-s5p directory.
Please see
https://lkml.org/lkml/2011/6/8/69
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p
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
---
drivers/iommu/Kconfig| 14 +
drivers/iommu/Makefile
that is included in LCD0 block because it is not used
anymore. Use MDMA in TOP block.
3. Changed System MMU definitions of platform device. It is not an array
anymore.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/Kconfig |2 -
arch/arm/mach
This replaces register_iommu() with bus_set_iommu() according to the
suggestion of Joerg Roedel.
Cc: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos_iommu.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
First 2 patches enhance System MMU platform device definition:
- Removed System MMU for MDMA0 in LCD block because it is not used.
Use MDMA2 in TOP block.
- Removed System MMU ID. Instead a System MMU is bound to a device that
the System MMU is dedicated during machin initialization. If a
This is the second try of submitting patches about IOMMU/System MMU
driver for Exynos4 SoCs with the fixes of the following probles
pointed by Russell King.:
- Missing unlocking a spinlock in exynos_iommu_attach_dev().
- atomic_t - int in sysmmu_drvdata.activations
- sysmmu_platdata -
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
---
drivers/iommu/Kconfig| 14 +
drivers/iommu/Makefile
Due to Ohad Ben-Cohen gathered IOMMU drivers in drivers/iommu directory,
System MMU driver is moved to drivers/iommu directory and removed
from arch/arm/plat-s5p directory.
Please see
https://lkml.org/lkml/2011/6/8/69
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p
Due to Ohad Ben-Cohen gathered IOMMU drivers in drivers/iommu directory,
System MMU driver is moved to drivers/iommu directory and removed
from arch/arm/plat-s5p directory.
Please see
https://lkml.org/lkml/2011/6/8/69
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p
This replaces register_iommu() with bus_set_iommu() according to the
suggestion of Joerg Roedel.
Cc: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos_iommu.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
Hi,
The first 2 patches are the revolutionary change to the device definition
of System MMU for Exynos4 SoCs:
- System MMU ID is removed and a device and its dedicated System MMU are
bound during the machine initialization.
- Only the System MMU platform devices that are bound to their
that is included in LCD0 block because it is not used
anymore. Use MDMA in TOP block.
3. Changed System MMU definitions of platform device. It is not an array
anymore.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/Kconfig |2 -
arch/arm/mach
This replaces register_iommu() with bus_set_iommu() according to the
suggestion of Joerg Roedel.
Cc: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos_iommu.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
that is included in LCD0 block because it is not used
anymore. Use MDMA in TOP block.
3. Changed System MMU definitions of platform device. It is not an array
anymore.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/Kconfig |2 -
arch/arm/mach
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
---
drivers/iommu/Kconfig| 14 +
drivers/iommu/Makefile
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 -
that is included in LCD0 block because it is not used
anymore. Use MDMA in TOP block.
3. Changed System MMU definitions of platform device. It is not an array
anymore.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/Kconfig |2 -
arch/arm/mach
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
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
Hi.
On Sat, Sep 24, 2011 at 6:38 PM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Sat, Sep 24, 2011 at 07:35:45AM +, 조경호 wrote:
+# EXYNOS IOMMU support
+config EXYNOS_IOMMU
+ bool Exynos IOMMU Support
+ depends on ARCH_EXYNOS4
+ select IOMMU_API
+ select EXYNOS4_DEV_SYSMMU
Thanks. I will try.
Regards,
Cho KyongHo.
On Mon, Sep 26, 2011 at 11:17 AM, Wanlong Gao gaowanl...@cn.fujitsu.com wrote:
On 09/26/2011 08:44 AM, KyongHo Cho wrote:
Hi.
On Sat, Sep 24, 2011 at 6:38 PM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Sat, Sep 24, 2011 at 07:35
platforms has more than 10 System
MMUs dedicated for each multimedia accellerators.
Signed-off-by: KyongHo Cho
---
drivers/iommu/Kconfig| 14 +
drivers/iommu/Makefile |1 +
drivers/iommu/exynos_iommu.c | 859 ++
3 files changed, 874
Hi.
On Fri, Sep 2, 2011 at 10:56 PM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
+ *
+ * iova must be aligned on a 4kB, 64kB, 1MB and 16MB boundaries,
respectively.
+ */
Actually, iova is just needed to be aligned by 4KiB because it is
minimum requirement.
I think IOMMU driver is
will not
cause any problem.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/plat-s5p/Kconfig |8 -
arch/arm/plat-s5p/Makefile |1 -
arch/arm/plat-s5p/include/plat/sysmmu.h | 95 --
arch/arm/plat-s5p/sysmmu.c | 312
Hi.
On Mon, Jul 4, 2011 at 3:47 PM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
Hello,
I really don't get why do You persist in creating one monster platform
device with resources for ALL SYSMMU/IOMMU controllers that are available
on Exynos4 CPU. We (SPRC, see Andrzej's SYSMMU patches)
Added new value 'SYSMMU_NONE' to sysmmu_ips.
This value represents invalid System MMU.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/include/mach/sysmmu.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos4/include/mach
clock gating of SYSMMU_SSS that was missing is added.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/clock.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos4/clock.c b/arch/arm/mach-exynos4/clock.c
index 256b46b
definition.
Cc: Marek Szyprowski m.szyprow...@samsung.com
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/dev-sysmmu.c | 216 ++--
1 files changed, 59 insertions(+), 157 deletions(-)
diff --git a/arch/arm/mach-exynos4/dev-sysmmu.c
b/arch
,
I've used linked list to manage the relation between domain and device.
Marek is trying to add domain and dma_map_ops fields into dev_archdata.
This way of relation management will be changed after the Marek's work
is merged into the mainline.
Signed-off-by: KyongHo Cho pullip@samsung.com
2011/3/8 Marek Szyprowski m.szyprow...@samsung.com:
Hello,
On Monday, March 07, 2011 2:19 AM KyongHo Cho wrote:
This patch includes the following enhancements for System MMU:
- Enhanced readability
- Removal of unused data structures or their members
- Simplified function definitions
2011/3/12 Arnd Bergmann a...@arndb.de:
On Friday 11 March 2011, Marek Szyprowski wrote:
does not support IOMMUs, but that could be changed by wrapping it
using the include/asm-generic/dma-mapping-common.h infrastructure.
ARM dma-mapping framework also requires some additional
Hi,
2011/3/14 Marek Szyprowski m.szyprow...@samsung.com:
Hello,
On Monday, March 14, 2011 10:54 AM KyongHo Cho wrote:
2011/3/8 Marek Szyprowski m.szyprow...@samsung.com:
Hello,
On Monday, March 07, 2011 2:19 AM KyongHo Cho wrote:
This patch includes the following enhancements
This patch includes the following enhancements for System MMU:
- Enhanced readability
- Removal of unused data structures or their members
- Simplified function definitions
- Corrections of some logical errors
- Full compliance with Linux coding style
- Simpler way of registering callback
functions of System MMU faults
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/dev-sysmmu.c | 23 ++-
arch/arm/mach-exynos4/include/mach/regs-sysmmu.h |4 +
arch/arm/mach-exynos4/include/mach/sysmmu.h | 88 +-
arch/arm/plat-s5p/include/plat
.
Therefore, clock gating on System MMUs are still invisible to
the outside of the System MMU driver.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos4/clock.c | 83 ++-
arch/arm/mach-exynos4/dev-sysmmu.c | 22
On Tue, Jan 25, 2011 at 2:58 AM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Mon, Jan 24, 2011 at 08:52:17AM -0800, Dave Hansen wrote:
On Sun, 2011-01-23 at 18:05 +, Russell King - ARM Linux wrote:
On Thu, Jan 20, 2011 at 10:11:27AM -0800, Dave Hansen wrote:
On Thu,
On Fri, Jan 21, 2011 at 7:38 PM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Fri, Jan 21, 2011 at 11:12:27AM +0900, KyongHo Cho wrote:
Since the size of section is 256 mib and NR_BANKS is defined as 8,
no ARM system can have more RAM than 2GiB in the current implementation
that simple increasing the pointer to page
descriptors does not exceed the boundary of a section.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mm/init.c | 74 +++
1 files changed, 51 insertions(+), 23 deletions(-)
diff --git a/arch
On Fri, Jan 21, 2011 at 2:20 AM, Dave Hansen d...@linux.vnet.ibm.com wrote:
On Thu, 2011-01-20 at 18:45 +0900, KyongHo Cho wrote:
Sparsemem allows that a bank of memory spans over several adjacent
sections if the start address and the end address of the bank
belong to different sections.
When
On Fri, Jan 21, 2011 at 2:44 AM, Minchan Kim minchan@gmail.com wrote:
Fix linux-arm-kernel address.
Thank you!
Too late in the night:)
On Fri, Jan 21, 2011 at 2:43 AM, Minchan Kim minchan@gmail.com wrote:
Restore Cced.
On Fri, Jan 21, 2011 at 2:24 AM, KyongHo Cho pullip.li
On Fri, Jan 21, 2011 at 3:01 AM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Thu, Jan 20, 2011 at 09:20:47AM -0800, Dave Hansen wrote:
This problem actually exists without sparsemem, too. Discontigmem (at
least) does it as well.
We don't expect banks to cross sparsemem
Hello,
The VCM is a framework to deal with multiple IOMMUs in a system
with intuitive and abstract objects
These patches are the bugfix and enhanced version of previous RFC by Michal
Nazarewicz.
(https://patchwork.kernel.org/patch/157451/)
It is introduced by Zach Pfeffer and implemented by
From: Michal Nazarewicz m.nazarew...@samsung.com
This commit adds a VCM driver that instead of using real
hardware MMU emulates one and uses CMA for allocating
contiguous memory chunks.
Signed-off-by: Michal Nazarewicz m.nazarew...@samsung.com
Signed-off-by: Kyungmin Park
From: Michal Nazarewicz m.nazarew...@samsung.com
This commit adds a VCM VMM driver that handles kernl virtual
address space mappings. The VCM context is available as a static
object vcm_vmm. It is mostly just a wrapper around vmap()
function.
Signed-off-by: Michal Nazarewicz
1 - 100 of 106 matches
Mail list logo