Re: RFC: additional domain attributes specific to PAMU

2013-02-05 Thread Joerg Roedel
Hi Stuart, On Mon, Feb 04, 2013 at 09:37:20PM -0600, Stuart Yoder wrote: > + DOMAIN_ATTR_ENABLE, > + DOMAIN_ATTR_FSL_PAMUV1, > Instead of advertising those constraints somehow, it seem easier just > to advertise that this IOMMU is a PAMU v1. The attribute would be > read only and woul

RFC: additional domain attributes specific to PAMU

2013-02-04 Thread Stuart Yoder
Joerg, The attributes you have defined look good and are mechanisms we need to determine if iommu is aperture based, get max # of windows, set actual number of windows, etc. However, there are a couple of other attributes we need: diff --git a/include/linux/iommu.h b/include/linux/iommu.h index