Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753066Ab0HXSoy (ORCPT ); Tue, 24 Aug 2010 14:44:54 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:52780 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751452Ab0HXSow convert rfc822-to-8bit (ORCPT ); Tue, 24 Aug 2010 14:44:52 -0400 From: "Guzman Lugo, Fernando" To: Felipe Contreras CC: "Kanigeri, Hari" , "linux-omap@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "ohad@wizery.com" , "hiroshi.doyu@nokia.com" , "ameya.palande@nokia.com" , "felipe.contreras@nokia.com" Date: Tue, 24 Aug 2010 13:44:27 -0500 Subject: RE: [PATCH 8/9] dspbridge: add map support for big buffers Thread-Topic: [PATCH 8/9] dspbridge: add map support for big buffers Thread-Index: ActDtEYXK2AlK0gvQQulfAtqNCh0rAAB8KeQ Message-ID: <496565EC904933469F292DDA3F1663E602F0FA397F@dlee06.ent.ti.com> References: <1277943660-4112-1-git-send-email-x0095840@ti.com> <1277943660-4112-2-git-send-email-x0095840@ti.com> <1277943660-4112-3-git-send-email-x0095840@ti.com> <1277943660-4112-4-git-send-email-x0095840@ti.com> <1277943660-4112-5-git-send-email-x0095840@ti.com> <1277943660-4112-6-git-send-email-x0095840@ti.com> <1277943660-4112-7-git-send-email-x0095840@ti.com> <1277943660-4112-8-git-send-email-x0095840@ti.com> <1277943660-4112-9-git-send-email-x0095840@ti.com> <8F7AF80515AF0D4D93307E594F3CB40E4CAD34D5@dlee03.ent.ti.com> <496565EC904933469F292DDA3F1663E602CBDD3ADE@dlee06.ent.ti.com> <8F7AF80515AF0D4D93307E594F3CB40E4CAD39F6@dlee03.ent.ti.com> <496565EC904933469F292DDA3F1663E602CBDD3BB2@dlee06.ent.ti.com> <496565EC904933469F292DDA3F1663E602F0FA3883@dlee06.ent.ti.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3034 Lines: 82 > -----Original Message----- > From: Felipe Contreras [mailto:felipe.contreras@gmail.com] > Sent: Tuesday, August 24, 2010 12:46 PM > To: Guzman Lugo, Fernando > Cc: Kanigeri, Hari; linux-omap@vger.kernel.org; > linux-kernel@vger.kernel.org; ohad@wizery.com; > hiroshi.doyu@nokia.com; ameya.palande@nokia.com; > felipe.contreras@nokia.com > Subject: Re: [PATCH 8/9] dspbridge: add map support for big buffers > > On Tue, Aug 24, 2010 at 7:31 PM, Guzman Lugo, Fernando > wrote: > > > > > >> -----Original Message----- > >> From: Felipe Contreras [mailto:felipe.contreras@gmail.com] > >> Sent: Tuesday, August 24, 2010 5:09 AM > >> To: Guzman Lugo, Fernando > >> Cc: Kanigeri, Hari; linux-omap@vger.kernel.org; > >> linux-kernel@vger.kernel.org; ohad@wizery.com; > >> hiroshi.doyu@nokia.com; ameya.palande@nokia.com; > >> felipe.contreras@nokia.com > >> Subject: Re: [PATCH 8/9] dspbridge: add map support for big buffers > >> > >> On Fri, Jul 2, 2010 at 9:39 PM, Guzman Lugo, Fernando > >> wrote: > >> > I think, it would be good if we get rid of DMMPOOL size, if > >> the liked list grow up as it is needed, there is no memory > penalty of > >> have all the possible iommu addresses valid (11000000 - FFFFFFFF). > >> The reservation will only fail when there is no memory. If > a software > >> restriction is needed we could define a start and end > addresses for > >> iommu module (maybe as a parameter when the iommu handle > for iva2 is > >> got) and that boundaries can be taking in account at the moment of > >> reserve the memory. > >> > >> What happened to this? > >> > >> IIUC what you are proposing is to remove the DMM pool completely, > >> that makes sense to me. However, is it really needed to finish the > >> iommu migration to do this? > >> > >> > I think the reserve/unreserved dspbridge api can disappear > >> and just return the da address in the map function. > >> > >> This is something I've proposed before, so I agree :) > > > > Yeah, that is how it will be. I have been busy with other > stuffs, but > > now I have finish a version with all dmm module removed and > > reserve/unreserve Api removed as well. But because a the big # of > > patches merge in dspbrdge I have to rebase them to the > latest, I hope > > finish this week and send Them again next week. > > Awesome :) > > However, I still have the question about the dependency on > iommu; AFAICS the DMM removal doesn't depend on the migration > to iommu, which AFAIK has been stalled for some time. Yeah, DMM removal does not depend on iommu migration. However, After the changes for iommu migration the DMM module is not Needed anymore, so it is better to remove it too. Regards, Fernando. > > -- > Felipe Contreras > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/