Hey Gary,
On Fri, May 18, 2018 at 04:51:56PM -0500, Gary R Hook wrote:
Improve the performance of the PPR log polling function (i.e. the
task of emptying the log) by minimizing MMIO operations and more
efficiently processing groups of log entries. Cache the head
pointer, as there's never a reason to read it. Ensure the head
pointer register is updated every so often, to inform the IOMMU
that space is available in the log.
Finally, since a single pass may leave logged events unread, use
an outer loop to repeat until head has caught up to tail.
Signed-off-by: Gary R Hook <gary.hook@xxxxxxx>
Do you have numbers for the performance improvement? How did you test
this patch?