From 5a4763edff47f6c1b5547b0e0c66cd529cee9160 Mon Sep 17 00:00:00 2001 From: Varun Sethi Date: Tue, 11 Mar 2014 00:53:32 +0530 Subject: 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 Change-Id: I7ff2552bf15bee25a7e41fd5e0a1781a323aceed Reviewed-on: http://git.am.freescale.net:8181/9618 Tested-by: Review Code-CDREVIEW Reviewed-by: Stuart Yoder Reviewed-by: Jose Rivera 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); -- cgit v0.10.2