Re: [PATCH v4 1/1] iommu-api: Add map_sg/unmap_sg functions

2014-08-07 Thread Olav Haugan
On 8/6/2014 11:24 PM, Thierry Reding wrote: > On Wed, Aug 06, 2014 at 04:28:45PM -0700, Olav Haugan wrote: >> On 8/6/2014 1:17 PM, Joerg Roedel wrote: >>> On Wed, Aug 06, 2014 at 10:08:55AM -0700, Olav Haugan wrote: so you are suggesting that I check in "bus_set_iommu()" whether the drive

Re: [PATCH v2 2/2] iommu/arm-smmu: Do not access non-existing SMR registers

2014-08-07 Thread Will Deacon
On Thu, Aug 07, 2014 at 12:34:09AM +0100, Olav Haugan wrote: > On 8/6/2014 10:35 AM, Will Deacon wrote: > > Hmm, I'm checking this with the architects because the TRMs aren't exactly > > clear. The NUMSMRG works for stream-indexing (i.e. reports the number of > > S2CRs), then all we have to do is c