[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8F7AF80515AF0D4D93307E594F3CB40E4CAD34D5@dlee03.ent.ti.com>
Date: Thu, 1 Jul 2010 18:36:06 -0500
From: "Kanigeri, Hari" <h-kanigeri2@...com>
To: "Guzman Lugo, Fernando" <fernando.lugo@...com>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "ohad@...ery.com" <ohad@...ery.com>,
"hiroshi.doyu@...ia.com" <hiroshi.doyu@...ia.com>,
"ameya.palande@...ia.com" <ameya.palande@...ia.com>,
"felipe.contreras@...ia.com" <felipe.contreras@...ia.com>,
"Guzman Lugo, Fernando" <fernando.lugo@...com>
Subject: RE: [PATCH 8/9] dspbridge: add map support for big buffers
Fernando,
> - for_each_sg(sgt->sgl, sg, sgt->nents, i)
> - sg_set_page(sg, usr_pgs[i], PAGE_SIZE, 0);
> + da = iommu_vmap(mmu, da, sgt, IOVMF_ENDIAN_LITTLE |
> + IOVMF_ELSZ_32);
-- iommu_vmap does the Kernel mapping to the buffers you are mapping to DSP MMU. Why do you need Kernel mappings ?
If there is no benefit in maintaining Kernel mapping I would rather call iopgtable_store_entry directly to map the entries.
Thank you,
Best regards, Hari
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists