On Tue, Apr 17, 2018 at 7:17 PM, Balbir Singh <bsinghar...@gmail.com> wrote:
> On Tue, Apr 17, 2018 at 7:11 PM, Alistair Popple <alist...@popple.id.au> 
> wrote:
>> The NPU has a limited number of address translation shootdown (ATSD)
>> registers and the GPU has limited bandwidth to process ATSDs. This can
>> result in contention of ATSD registers leading to soft lockups on some
>> threads, particularly when invalidating a large address range in
>> pnv_npu2_mn_invalidate_range().
>>
>> At some threshold it becomes more efficient to flush the entire GPU TLB for
>> the given MM context (PID) than individually flushing each address in the
>> range. This patch will result in ranges greater than 2MB being converted
>> from 32+ ATSDs into a single ATSD which will flush the TLB for the given
>> PID on each GPU.
>>
>> Signed-off-by: Alistair Popple <alist...@popple.id.au>
>> +       }
>>  }
>>
>
> Acked-by: Balbir Singh <bsinghar...@gmail.com>
Tested-by: Balbir Singh <bsinghar...@gmail.com>

Reply via email to