summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Sethi <Varun.Sethi@freescale.com>2014-03-10 19:23:32 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-03-18 18:38:30 (GMT)
commit5a4763edff47f6c1b5547b0e0c66cd529cee9160 (patch)
treef504f59fdad78924f5200c9a7aeec9b2548ef9fc
parentcae1675c4b2b2d8384306a9844108abaf15a5150 (diff)
downloadlinux-fsl-qoriq-5a4763edff47f6c1b5547b0e0c66cd529cee9160.tar.xz
fsl/qman: Modifications for new stash attribute setup API.
An additional parameter (window number) is required for API. Add the window number parameter while invoking the API. Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com> Change-Id: I7ff2552bf15bee25a7e41fd5e0a1781a323aceed Reviewed-on: http://git.am.freescale.net:8181/9618 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Stuart Yoder <stuart.yoder@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
-rw-r--r--drivers/staging/fsl_qbman/qman_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/fsl_qbman/qman_driver.c b/drivers/staging/fsl_qbman/qman_driver.c
index 29c4a64..02b48e4 100644
--- a/drivers/staging/fsl_qbman/qman_driver.c
+++ b/drivers/staging/fsl_qbman/qman_driver.c
@@ -507,6 +507,8 @@ static void portal_set_cpu(struct qm_portal_config *pcfg, int cpu)
}
stash_attr.cpu = cpu;
stash_attr.cache = PAMU_ATTR_CACHE_L1;
+ /* set stash information for the window */
+ stash_attr.window = 0;
ret = iommu_domain_set_attr(pcfg->iommu_domain,
DOMAIN_ATTR_FSL_PAMU_STASH,
&stash_attr);