iommu/fsl: Add the window permission flag as a parameter to iommu_window_enable API.
authorVarun Sethi <Varun.Sethi@freescale.com>
Thu, 28 Mar 2013 19:54:00 +0000 (01:24 +0530)
committerJoerg Roedel <joro@8bytes.org>
Tue, 2 Apr 2013 16:20:53 +0000 (18:20 +0200)
commit80f97f0f73b82444f714651ea053838d27779dca
treedeb4213285b1014b2800e5828db564cb3820f535
parentbb5547acfcd842950b8a22aa83f84af93388b9f2
iommu/fsl: Add the window permission flag as a parameter to iommu_window_enable API.

Each iommu window can have access permissions associated with it. Extended the
window_enable API to incorporate window access permissions.

In case of PAMU each window can have its specific set of permissions.

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/iommu.c
include/linux/iommu.h