From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [GIT PULL] iommu: Kill off pgsize_bitmap field from struct iommu_ops Date: Wed, 1 Apr 2015 17:53:51 +0200 Message-ID: <20150401155351.GH4441@8bytes.org> References: <20150327171946.GL1562@arm.com> <20150331142440.GD22683@8bytes.org> <20150331144956.GA24094@arm.com> <1427817050.5567.148.camel@redhat.com> <20150401115340.GG1552@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150401115340.GG1552-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Will Deacon Cc: "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org" , "Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org" , "dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: iommu@lists.linux-foundation.org Hi Will, On Wed, Apr 01, 2015 at 12:53:40PM +0100, Will Deacon wrote: > Joerg: are you still against merging this? If so, what do you need to > see in order to change your mind? This is certainly something that we > need on ARM-based systems and, tbh, the direction that the IOMMU core is > going seems to be towards a N:1 domain:IOMMU mapping anyway (c.f. your > series to embed struct iommu_domain in a driver-private data structure). What I want is consistent behavior between drivers. Until now I tried to push for the domain concept, which allows to attach arbitrary devices to a domain. This patch-set makes it impossible to achieve this goal, that's why I am resistant against it. We can discuss moving into another direction with the IOMMU-API, and re-evaluate then if this patch-set is still required. Joerg