On Thu, Apr 28, 2016 at 06:56:05PM +0300, David Kiarie wrote: [...]
> I think AMD IOMMU could be a benefit greatly from the Intel IOMMU > cache implementation. There could be a few differences but I think > much of the code could be reused. The thing is, AMD IOMMU spec doesn't > mention anything to do with it's cache design except the available > interface (for system programmers) and I have a bit of a hard time > trying to design a cache from scratch. Trying to do this will however > require me to dig too much into Intel IOMMU and I would prefer to > reserve that for later, probably. Sure. I will not touch that part in this series. My first step would be trying to remove vtd_* stuffs in common codes only, as Jan has suggested. Thanks, -- peterx