From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.8bytes.org (8bytes.org [85.214.48.195]) by ozlabs.org (Postfix) with ESMTP id 05B642C0081 for ; Tue, 4 Dec 2012 04:27:18 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.8bytes.org (Postfix) with SMTP id F186912B091 for ; Mon, 3 Dec 2012 18:27:13 +0100 (CET) Date: Mon, 3 Dec 2012 18:27:12 +0100 From: Joerg Roedel To: Sethi Varun-B16395 Subject: Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver. Message-ID: <20121203172712.GA18368@8bytes.org> References: <1353419697-31269-1-git-send-email-Varun.Sethi@freescale.com> <1353419697-31269-4-git-send-email-Varun.Sethi@freescale.com> <20121202140323.GO30633@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Wood Scott-B07421 , "iommu@lists.linux-foundation.org" , Tabi Timur-B04825 , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Dec 03, 2012 at 04:57:29PM +0000, Sethi Varun-B16395 wrote: > > > > -----Original Message----- > > From: iommu-bounces@lists.linux-foundation.org [mailto:iommu- > > bounces@lists.linux-foundation.org] On Behalf Of Joerg Roedel > > Sent: Sunday, December 02, 2012 7:33 PM > > To: Sethi Varun-B16395 > > Cc: linux-kernel@vger.kernel.org; iommu@lists.linux-foundation.org; Wood > > Scott-B07421; linuxppc-dev@lists.ozlabs.org; Tabi Timur-B04825 > > Subject: Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes > > required by fsl PAMU driver. > > > > Hmm, we need to work out a good abstraction for this. > > > > On Tue, Nov 20, 2012 at 07:24:56PM +0530, Varun Sethi wrote: > > > Added the following domain attributes required by FSL PAMU driver: > > > 1. Subwindows field added to the iommu domain geometry attribute. > > > > Are the Subwindows mapped with full size or do you map only parts of the > > subwindows? > > > [Sethi Varun-B16395] It's possible to map a part of the subwindow i.e. > size of the mapping can be less than the sub window size. Yes, I know that this is possible. But do you plan to support that or is it sufficient when the whole subwindow is mapped? Joerg