diff options
author | Varun Sethi <Varun.Sethi@freescale.com> | 2013-07-22 13:41:28 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-07-24 20:12:26 (GMT) |
commit | 09f24fdb479b51ff7d55c4d3bccda909689a0510 (patch) | |
tree | e90930314bed27ac98a6e934d5d4631f8d01fbb5 /drivers/staging/fsl_qbman/qman_driver.c | |
parent | 390c78c105419834467ca9809da46947d20d812e (diff) | |
download | linux-fsl-qoriq-09f24fdb479b51ff7d55c4d3bccda909689a0510.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>
Diffstat (limited to 'drivers/staging/fsl_qbman/qman_driver.c')
-rw-r--r-- | drivers/staging/fsl_qbman/qman_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/fsl_qbman/qman_driver.c b/drivers/staging/fsl_qbman/qman_driver.c index 683a442..7b6108a 100644 --- a/drivers/staging/fsl_qbman/qman_driver.c +++ b/drivers/staging/fsl_qbman/qman_driver.c @@ -488,6 +488,7 @@ static void portal_set_cpu(struct qm_portal_config *pcfg, int cpu) } stash_attr.cpu = cpu; stash_attr.cache = IOMMU_ATTR_CACHE_L1; + stash_attr.window = ~(u32)0; ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_PAMU_STASH, &stash_attr); if (ret < 0) { |