From: Hiroshi DOYU Subject: Re: [PATCHv4 4/4] iommu: create new api to set valid da range Date: Wed, 20 Oct 2010 11:45:16 +0300 (EEST) Message-ID: <20101020.114516.189725260.Hiroshi.DOYU@nokia.com> References: <1287542932-14206-4-git-send-email-x0095840@ti.com> <1287542932-14206-5-git-send-email-x0095840@ti.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.nokia.com ([192.100.122.233]:64043 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752333Ab0JTIqF (ORCPT ); Wed, 20 Oct 2010 04:46:05 -0400 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: felipe.contreras@gmail.com Cc: x0095840@ti.com, felipe.contreras@nokia.com, david.cohen@nokia.com, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org From: "ext felipe.contreras@gmail.com" Subject: Re: [PATCHv4 4/4] iommu: create new api to set valid da range Date: Wed, 20 Oct 2010 10:35:50 +0200 > On Wed, Oct 20, 2010 at 5:48 AM, Fernando Guzman Lugo wrote: >> Some IOMMUs cannot use the whole 0x0 - 0xFFFFFFFF range. >> With this new API the valid range can be set. >> >> Signed-off-by: Fernando Guzman Lugo > > I don't see the point in having an API. It could be done through > platform data, and the usage of 0xFFFFF000 instead of ULONG_MAX is > independent of this. Using platform data is better, but why dropping da_end?