Re: RFC: extend IOMMU attributes

2016-02-25 Thread j...@8bytes.org
On Thu, Feb 18, 2016 at 04:16:26PM +, Stuart Yoder wrote: > #define IOMMU_READ(1 << 0) > #define IOMMU_WRITE (1 << 1) > -#define IOMMU_CACHE (1 << 2) /* DMA cache coherency */ > +#define IOMMU_CACHE_COHERENT (1 << 2) /* cacheable and coherent */ > #define

RE: RFC: extend IOMMU attributes

2016-02-18 Thread Stuart Yoder
@lists.infradead.org; Varun Sethi <v.se...@nxp.com>; Bharat Bhushan > <bharat.bhus...@nxp.com>; Nipun Gupta <nipun.gu...@nxp.com>; Peter Newton > <peter.new...@nxp.com> > Subject: Re: RFC: extend IOMMU attributes > > Hi Stuart, > > On Thu, Feb 18, 2016

Re: RFC: extend IOMMU attributes

2016-02-18 Thread Will Deacon
Hi Stuart, On Thu, Feb 18, 2016 at 04:16:26PM +, Stuart Yoder wrote: > We are implementing support for some specialized NXP SoC network > devices and have the desire to extend the mapping attributes beyond > those currently in iommu.h. (I see there is a recent proposal to > add an IOMMU_MMIO