]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5b9f3c82cd8f0d411df05761cf831b5521c6964
tree08501a4dc643b4eae539121bebcefe5e9d1565f9
parentf51fc7f638289e80ea27eb9961c388f9bfde09d3
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