Re: [PATCH v2 01/10] iommu/ipmmu-vmsa: Refactor micro-TLB lookup

2014-07-14 Thread Khiem Nguyen
Hi Laurent, On 7/14/2014 6:01 PM, Laurent Pinchart wrote: > On Monday 14 July 2014 09:19:23 Khiem Nguyen wrote: >> On 7/10/2014 7:37 PM, Laurent Pinchart wrote: >>> On Thursday 10 July 2014 09:03:26 Khiem Nguyen wrote: On 5/15/2014 7:40 PM, Laurent Pinchart wrote: > Cache the micro-TLB nu

Re: [PATCH v2 01/10] iommu/ipmmu-vmsa: Refactor micro-TLB lookup

2014-07-14 Thread Laurent Pinchart
Hi Khiem, On Monday 14 July 2014 09:19:23 Khiem Nguyen wrote: > On 7/10/2014 7:37 PM, Laurent Pinchart wrote: > > On Thursday 10 July 2014 09:03:26 Khiem Nguyen wrote: > >> On 5/15/2014 7:40 PM, Laurent Pinchart wrote: > >>> Cache the micro-TLB number in archdata allocated in the .add_device > >>>

Re: [PATCH v2 01/10] iommu/ipmmu-vmsa: Refactor micro-TLB lookup

2014-07-13 Thread Khiem Nguyen
Hi Laurent, On 7/10/2014 7:37 PM, Laurent Pinchart wrote: > On Thursday 10 July 2014 09:03:26 Khiem Nguyen wrote: >> On 5/15/2014 7:40 PM, Laurent Pinchart wrote: >>> Cache the micro-TLB number in archdata allocated in the .add_device >>> handler instead of looking it up when the deviced is attach

Re: [PATCH v2 01/10] iommu/ipmmu-vmsa: Refactor micro-TLB lookup

2014-07-10 Thread Laurent Pinchart
On Thursday 10 July 2014 09:03:26 Khiem Nguyen wrote: > On 5/15/2014 7:40 PM, Laurent Pinchart wrote: > > Cache the micro-TLB number in archdata allocated in the .add_device > > handler instead of looking it up when the deviced is attached and > > detached. This simplifies the .attach_dev and .deta

Re: [PATCH v2 01/10] iommu/ipmmu-vmsa: Refactor micro-TLB lookup

2014-07-09 Thread Khiem Nguyen
On 5/15/2014 7:40 PM, Laurent Pinchart wrote: > Cache the micro-TLB number in archdata allocated in the .add_device > handler instead of looking it up when the deviced is attached and > detached. This simplifies the .attach_dev and .detach_dev operations and > prepares for DT support. [snip] > Sign

[PATCH v2 01/10] iommu/ipmmu-vmsa: Refactor micro-TLB lookup

2014-05-15 Thread Laurent Pinchart
Cache the micro-TLB number in archdata allocated in the .add_device handler instead of looking it up when the deviced is attached and detached. This simplifies the .attach_dev and .detach_dev operations and prepares for DT support. Signed-off-by: Laurent Pinchart --- drivers/iommu/ipmmu-vmsa.c |