Re: powernv/npu-dma.c: Add explicit flush when sending an ATSD

2017-06-27 Thread Michael Ellerman
On Tue, 2017-06-20 at 08:37:28 UTC, Alistair Popple wrote: > NPU2 requires an extra explicit flush to an active GPU PID when sending > address translation shoot downs (ATSDs) to reliably flush the GPU TLB. This > patch adds just such a flush at the end of each sequence of ATSDs. > > We can safely

[PATCH] powernv/npu-dma.c: Add explicit flush when sending an ATSD

2017-06-20 Thread Alistair Popple
NPU2 requires an extra explicit flush to an active GPU PID when sending address translation shoot downs (ATSDs) to reliably flush the GPU TLB. This patch adds just such a flush at the end of each sequence of ATSDs. We can safely use PID 0 which is always reserved and active on the GPU. PID 0 is