Re: RFC: extend iommu_ops with domain attributes API

2012-01-12 Thread Joerg Roedel
On Tue, Jan 10, 2012 at 10:22:36AM -0600, Stuart Yoder wrote: As we work on mapping the Freescale IOMMU (called PAMU) into the existing Linux iommu infrastructure, one issue is that we have additional domain attributes that need to be set. This was discussed briefly a month ago or so and I

Re: RFC: extend iommu_ops with domain attributes API

2012-01-12 Thread Scott Wood
On Thu, Jan 12, 2012 at 03:47:47PM +0100, Joerg Roedel wrote: On Tue, Jan 10, 2012 at 10:22:36AM -0600, Stuart Yoder wrote: A couple of the attributes I'm considering PAMU specific with a generic enable attribute: enum iommu_attr_type { IOMMU_ATTR_PAMU_GEOMETRY, // the

Re: RFC: extend iommu_ops with domain attributes API

2012-01-12 Thread Alex Williamson
On Tue, 2012-01-10 at 10:22 -0600, Stuart Yoder wrote: As we work on mapping the Freescale IOMMU (called PAMU) into the existing Linux iommu infrastructure, one issue is that we have additional domain attributes that need to be set. This was discussed briefly a month ago or so and I believe

Re: RFC: extend iommu_ops with domain attributes API

2012-01-12 Thread Stuart Yoder
On Thu, Jan 12, 2012 at 10:41 AM, Scott Wood scottw...@freescale.com wrote: On Thu, Jan 12, 2012 at 03:47:47PM +0100, Joerg Roedel wrote: On Tue, Jan 10, 2012 at 10:22:36AM -0600, Stuart Yoder wrote: A couple of the attributes I'm considering PAMU specific with a generic enable attribute:

RFC: extend iommu_ops with domain attributes API

2012-01-10 Thread Stuart Yoder
As we work on mapping the Freescale IOMMU (called PAMU) into the existing Linux iommu infrastructure, one issue is that we have additional domain attributes that need to be set. This was discussed briefly a month ago or so and I believe there was a need for a similar mechanism by IBM. We are