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
This commit adds cache flush for removed small page 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.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
This commit removes fault handler definition only for exynos-iommu
driver. Instead, always call iommu fault handler when a fault is
generated by a System MMU. Every new iommu_domain will have a default
fault handler and it can be overridden with iommu_set_fault_handler().
The default fault handler
Since kmalloc() does not guarantee the alignment of 1KB when it
allocates 1KB, it is required to allocate lv2 page table from
own slab that guarantees alignment of 1KB.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 24
1 file
Since acquiring read_lock is not more frequent than write_lock, it is
not beneficial to use rwlock, this commit changes rwlock to spinlock.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 28 ++--
1 file changed, 14 insertions(+), 14
Touching some System MMU needs its master devices' clock to be enabled
before. This commit adds clk_ops.set_parent of gating clocks of System
MMU to ensure gating clocks of System MMU's mater devices are enabled
when enabling gating clocks of System MMU.
Signed-off-by: KyongHo Cho
This commit adds System MMU nodes to DT of Exynos SoCs.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
.../devicetree/bindings/arm/exynos/system-mmu.txt | 86
arch/arm/boot/dts/exynos4210.dtsi | 96 ++
arch/arm/boot/dts/exynos4x12.dtsi
This commit adds device tree support for System MMU.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/Kconfig| 2 +-
drivers/iommu/exynos-iommu.c | 282 ++-
2 files changed, 174 insertions(+), 110 deletions(-)
diff --git
This removes System MMU initialization from arch/arm/mach-exynos/
to move them to DT and the exynos-iommu driver except gating clock
definitions.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
arch/arm/mach-exynos/Kconfig | 5 -
arch/arm/mach-exynos/Makefile |
This commit adds System MMU name to the driver data of each System
MMU. It is used by fault information.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 72
1 file changed, 59 insertions(+), 13 deletions(-)
diff
This commit adds debugfs directory and nodes for inspecting internal
state of System MMU.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 204 +--
1 file changed, 198 insertions(+), 6 deletions(-)
diff --git
This commit sets System MM as the parent of the client device for
power management. If System MMU is the parent of a device, it is
guaranteed that System MMU is suspended later than the device and
resumed earlier. Runtime suspend/resume on the device is also
propagated to the System MMU.
If a
This change enables the client device drivers not to care about
the state of System MMU since the internal state of System MMU
is controlled by the runtime PM and suspend/resume callback functions.
Signed-off-by: KyongHo Cho pullip@samsung.com
---
drivers/iommu/exynos-iommu.c | 176
Since System MMU 3.2 and 3.3 have more prefetch buffers than 2, the
existing function to set prefetch buffers, exynos_sysmmu_set_prefbuf()
is not able to support them.
This commit removes exynos_sysmmu_set_prefbuf() and introduces new
interface, exynos_sysmmu_set_pbuf() that can pass information
System MMUs in some implementation of Exynos core does not include
correct version information in the System MMU. If the version
information is not correct, exynos-iommu driver cannot take advantages
of feature of higher versions of System MMu like prefetching page
table entries prior to TLB miss.
Hello Grant,
On 12/11/2012 09:36 AM, Grant Likely wrote:
On Mon, 10 Dec 2012 20:45:55 +0100, Sylwester Nawrocki
s.nawro...@samsung.com wrote:
s5p-csis is platform device driver for MIPI-CSI frontend to the FIMC
(camera host interface DMA engine and image processor). This patch
adds support
On Tue, 11 Dec 2012 12:24:23 +0100, Sylwester Nawrocki s.nawro...@samsung.com
wrote:
Hello Grant,
On 12/11/2012 09:36 AM, Grant Likely wrote:
On Mon, 10 Dec 2012 20:45:55 +0100, Sylwester Nawrocki
s.nawro...@samsung.com wrote:
s5p-csis is platform device driver for MIPI-CSI frontend to
These files were merged into plat-samsung.
Acked-by: Kukjin Kim kgene@samsung.com
Cc: Ben Dooks ben-li...@fluff.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Signed-off-by: Cesar Eduardo Barros ces...@cesarb.net
---
MAINTAINERS | 4 +---
1 file changed, 1
On Mon, Dec 10, 2012 at 1:27 AM, Inki Dae inki@samsung.com wrote:
2012/12/10 Stéphane Marchesin stephane.marche...@gmail.com
On Sun, Dec 9, 2012 at 10:26 PM, Inki Dae inki@samsung.com wrote:
2012/12/6 R. Chandrasekar rcse...@samsung.com
From: R. Chandrasekar
The function sec_reg_read invokes regmap_read which expects unsigned int *
as the destination address. The existing driver is passing address of local
variable val which is u8. This causes the stack corruption and following
dump is observed during probe.
Hence change val from u8 to unsigned int.
On Fri, Nov 30, 2012 at 4:26 PM, Bartlomiej Zolnierkiewicz
b.zolnier...@samsung.com wrote:
Thank you for explaining it. Here is a patch implementing the idea:
From: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Subject: [PATCH] DMA: PL330: add peripherals map to the device tree
Add
21 matches
Mail list logo