Re: [PATCH 0/5] IOMMU: Make IOMMU-API ready for GART-like hardware

2012-01-20 Thread joerg.roe...@amd.com
Hi, On Fri, Jan 20, 2012 at 07:14:03AM +0100, Hiroshi Doyu wrote: > From: Joerg Roedel > Subject: [PATCH 0/5] IOMMU: Make IOMMU-API ready for GART-like hardware > Date: Thu, 19 Jan 2012 15:30:00 +0100 > Message-ID: <1326983405-319-1-git-send-email-joerg.roe...@amd.com> > > > Hi, > > > > this pa

Re: [PATCH 2/5] iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-01-20 Thread Joerg Roedel
On Thu, Jan 19, 2012 at 05:16:48PM +, Sethi Varun-B16395 wrote: > > struct iommu_domain { > > struct iommu_ops *ops; > > void *priv; > > iommu_fault_handler_t handler; > > + struct iommu_domain_geometry geometry; > > }; > In case of our iommu implementation the iommu_domain_geom

Re: [PATCH 2/5] iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-01-20 Thread Joerg Roedel
On Thu, Jan 19, 2012 at 05:27:09PM +0100, Laurent Pinchart wrote: > > Well, u64 is a catch-all datatype which should suit all drivers. Is this > > a problem at ARM? > > No, it's not a problem for ARM, at least to my knowledge. It just struck me > as > weird, as we have specific data types for ot