From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver. Date: Mon, 3 Dec 2012 11:36:12 -0600 Message-ID: <1354556172.2960.12@snotra> 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> <20121203172712.GA18368@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <20121203172712.GA18368@8bytes.org> (from joro@8bytes.org on Mon Dec 3 11:27:12 2012) Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org To: Joerg Roedel Cc: Sethi Varun-B16395 , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , Wood Scott-B07421 , "linuxppc-dev@lists.ozlabs.org" , Tabi Timur-B04825 List-Id: iommu@lists.linux-foundation.org On 12/03/2012 11:27:12 AM, Joerg Roedel wrote: > 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? We do plan to support that. -Scott From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe006.messaging.microsoft.com [216.32.181.186]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id ABAD42C0089 for ; Tue, 4 Dec 2012 04:36:25 +1100 (EST) Date: Mon, 3 Dec 2012 11:36:12 -0600 From: Scott Wood Subject: Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver. To: Joerg Roedel 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> <20121203172712.GA18368@8bytes.org> In-Reply-To: <20121203172712.GA18368@8bytes.org> (from joro@8bytes.org on Mon Dec 3 11:27:12 2012) Message-ID: <1354556172.2960.12@snotra> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Cc: Wood Scott-B07421 , Tabi Timur-B04825 , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , Sethi Varun-B16395 , "linuxppc-dev@lists.ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 12/03/2012 11:27:12 AM, Joerg Roedel wrote: > 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; =20 > 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 =20 > driver: > > > > 1. Subwindows field added to the iommu domain geometry =20 > attribute. > > > > > > Are the Subwindows mapped with full size or do you map only parts =20 > of the > > > subwindows? > > > > > [Sethi Varun-B16395] It's possible to map a part of the subwindow =20 > i.e. > > size of the mapping can be less than the sub window size. >=20 > Yes, I know that this is possible. But do you plan to support that or =20 > is > it sufficient when the whole subwindow is mapped? We do plan to support that. -Scott=