summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/shmobile-ipmmu.h
Commit message (Collapse)AuthorAgeFilesLines
* iommu/shmobile: Turn the flush_lock mutex into a spinlockLaurent Pinchart2014-01-071-1/+1
| | | | | | | The lock is taken in atomic context, replace it with a spinlock. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
* iommu/shmobile: Add iommu driver for Renesas IPMMU modulesHideki EIRAKU2013-02-061-0/+34
This is the Renesas IPMMU driver and IOMMU API implementation. The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides address translation including tile-linear translation. This patch implements the MMU function. The iommu driver does not register a platform driver directly because: - the register space of the MMU function and the PMB function have a common register (used for settings flush), so they should ideally have a way to appropriately share this register. - the MMU function uses the IOMMU API while the PMB function does not. - the two functions may be used independently. Signed-off-by: Hideki EIRAKU <hdk@igel.co.jp> Signed-off-by: Joerg Roedel <joro@8bytes.org>
OpenPOWER on IntegriCloud