summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVarun Sethi <Varun.Sethi@freescale.com>2013-07-22 13:41:28 (GMT)
committerZhenhua Luo <zhenhua.luo@freescale.com>2013-08-26 07:47:31 (GMT)
commit3e9416a16c9c71bae0ecbe476bd3f832bab52f81 (patch)
tree6ac6357cf3ce557d9dec6143746fdd7ef56f1056 /include/linux
parent99baf88f7b5da4642d76b60f781cd3eaee5b3822 (diff)
downloadlinux-fsl-qoriq-3e9416a16c9c71bae0ecbe476bd3f832bab52f81.tar.xz
Make stash id and operation mapping index per window attributes.
Stash ID and operation mapping can now be set per dma window. Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com> Change-Id: I987abbcba0575fea1b43843c2bce342f4eae4df2 Reviewed-on: http://git.am.freescale.net:8181/3439 Reviewed-by: Yoder Stuart-B08248 <stuart.yoder@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Conflicts: drivers/iommu/fsl_pamu.c drivers/iommu/fsl_pamu.h drivers/iommu/fsl_pamu_domain.c
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/iommu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 9318d9f..afdf87b 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -56,7 +56,8 @@ enum stash_target {
struct iommu_stash_attribute {
u32 cpu; /* cpu number */
- u32 cache; /* cache to stash to: L1,L2,L3 */
+ u32 cache; /* cache to stash to L1,L2,L3 */
+ u32 window; /* ~0 indicates all windows */
};
struct iommu_omi_attribute {