On Wed, Jul 23, 2014 at 10:49:55AM -0700, Olav Haugan wrote:
> On 7/22/2014 12:45 AM, Thierry Reding wrote:
> > On Mon, Jul 21, 2014 at 05:59:22PM -0700, Olav Haugan wrote:
> >> On 7/17/2014 1:21 AM, Thierry Reding wrote:
> >>> On Wed, Jul 16, 2014 at 06:01:57PM -0700, Olav Haugan wrote:
> > [...]
On Thu, Jul 24, 2014 at 11:34:27AM +0200, Joerg Roedel wrote:
> On Wed, Jul 23, 2014 at 10:49:55AM -0700, Olav Haugan wrote:
> > Joerg, can you comment on what you envisioned when you suggested that we
> > add the fallback?
> >
>
> The problem is that we already have tons of IOMMU drivers in the
On Wed, Jul 23, 2014 at 10:49:55AM -0700, Olav Haugan wrote:
> Joerg, can you comment on what you envisioned when you suggested that we
> add the fallback?
>
The problem is that we already have tons of IOMMU drivers in the tree
which don't provide these call-backs. So adding this API extension
wi
On 7/22/2014 12:45 AM, Thierry Reding wrote:
> On Mon, Jul 21, 2014 at 05:59:22PM -0700, Olav Haugan wrote:
>> On 7/17/2014 1:21 AM, Thierry Reding wrote:
>>> On Wed, Jul 16, 2014 at 06:01:57PM -0700, Olav Haugan wrote:
> [...]
Additionally, the mapping operation would be faster in general sin
On Mon, Jul 21, 2014 at 8:59 PM, Olav Haugan wrote:
> On 7/17/2014 1:21 AM, Thierry Reding wrote:
>> On Wed, Jul 16, 2014 at 06:01:57PM -0700, Olav Haugan wrote:
>>> Mapping and unmapping are more often than not in the critical path.
>>> map_range and unmap_range allows SMMU driver implementations
On Mon, Jul 21, 2014 at 05:59:22PM -0700, Olav Haugan wrote:
> On 7/17/2014 1:21 AM, Thierry Reding wrote:
> > On Wed, Jul 16, 2014 at 06:01:57PM -0700, Olav Haugan wrote:
[...]
> > > Additionally, the mapping operation would be faster in general since
> > > clients does not have to keep calling ma
On 7/17/2014 1:21 AM, Thierry Reding wrote:
> On Wed, Jul 16, 2014 at 06:01:57PM -0700, Olav Haugan wrote:
>> Mapping and unmapping are more often than not in the critical path.
>> map_range and unmap_range allows SMMU driver implementations to optimize
>
> s/SMMU/IOMMU/
>
>> the process of mappin
On Wed, Jul 16, 2014 at 06:01:57PM -0700, Olav Haugan wrote:
> Mapping and unmapping are more often than not in the critical path.
> map_range and unmap_range allows SMMU driver implementations to optimize
s/SMMU/IOMMU/
> the process of mapping and unmapping buffers into the SMMU page tables.
s/
Mapping and unmapping are more often than not in the critical path.
map_range and unmap_range allows SMMU driver implementations to optimize
the process of mapping and unmapping buffers into the SMMU page tables.
Instead of mapping one physical address, do TLB operation (expensive),
mapping, do TLB