Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760072Ab0LNVLh (ORCPT ); Tue, 14 Dec 2010 16:11:37 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:34595 "EHLO mail-bw0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758540Ab0LNVLf (ORCPT ); Tue, 14 Dec 2010 16:11:35 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=daQPyv6S9KEbkXsA0De/C5tmHkoK0JFs8poOYbRBxFrMg8lwIuiOX1H8EJO4iQyX0E rEFN8AVD8+WInYfXXdlK/D6JUm4pn+EZp7bDp0h4MvxXdZ7Jxh0FrAHIq7Wjf0FRPP85 wsoNacW8bWaYv+mfhinsCTsQkeGePI/IOvbjY= MIME-Version: 1.0 In-Reply-To: References: <1292332047-8206-1-git-send-email-fernando.lugo@ti.com> <1292332047-8206-5-git-send-email-fernando.lugo@ti.com> Date: Tue, 14 Dec 2010 23:11:33 +0200 Message-ID: Subject: Re: [PATCHv6 4/4] omap: iommu - create new api to set valid da range From: Felipe Contreras To: "Guzman Lugo, Fernando" Cc: Hiroshi.DOYU@nokia.com, linux@arm.linux.org.uk, h-kanigeri2@ti.com, felipe.contreras@nokia.com, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tony@atomide.com, "Guzman Lugo, Fernando" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1704 Lines: 47 On Tue, Dec 14, 2010 at 8:59 PM, Guzman Lugo, Fernando wrote: > On Tue, Dec 14, 2010 at 9:08 AM, Felipe Contreras > wrote: >> On Tue, Dec 14, 2010 at 3:07 PM, Fernando Guzman Lugo >> wrote: >>> From: Guzman Lugo, Fernando >>> >>> Some IOMMUs cannot use the whole 0x0 - 0xFFFFFFFF rage. >>> With this new API the valid range can be set. >>> >>> Signed-off-by: Fernando Guzman Lugo >>> Acked-by: Hiroshi DOYU >> >> I still don't see where this API is being used. > > you can find it here: > > http://marc.info/?l=linux-kernel&m=128805403014740&w=2 Oh, ok, thanks. somehow I missed it. >> Also, the point of using platform data was to add it to omap3_devices >> in omap-iommu.c, see[1]. I thought the platform data start/end would >> move to struct iommu, and iommu_set_da_range would change the >> start/end on struct iommu, but that would only be necessary if the >> platform data doesn't match that. > > it is not clear for me. do you mean having default start/end in > platform data then when iommu_get is call pass them to start/end in > struct iommu and the new api change start/end in struct iommu? > > Please let me know if that is correct. Yeah, if you are not going to add it in the platform data (mach-omap2/omap-iommu.c), then it doesn't make sense to use platform data for that. Cheers. -- 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/