OSDN Git Service

powerpc/powernv/npu: Add a debugfs setting to change ATSD threshold
authorAlistair Popple <alistair@popple.id.au>
Tue, 17 Apr 2018 09:11:29 +0000 (19:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Jul 2018 11:58:10 +0000 (21:58 +1000)
commit99c3ce33a00bc40cb218af770ef00c82c8044c36
tree08501a4dc643b4eae539121bebcefe5e9d1565f9
parentd69ccc00c497a4d81fca2dca9bda9f7799971b38
powerpc/powernv/npu: Add a debugfs setting to change ATSD threshold

The threshold at which it becomes more efficient to coalesce a range
of ATSDs into a single per-PID ATSD is currently not well understood
due to a lack of real-world work loads. This patch adds a debugfs
parameter allowing the threshold to be altered at runtime in order to
aid future development and refinement of the value.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/npu-dma.c