diff options
author | Bharat Bhushan <bbhushan2@marvell.com> | 2022-02-11 07:53:45 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-03-08 14:17:37 +0300 |
commit | 35a43326a9e3c229254fd531dfc711d20897d0fc (patch) | |
tree | f1144fcbe041d96dc12d31a6245924dee38078cd /drivers/remoteproc/da8xx_remoteproc.c | |
parent | 7cf83e222bce0f135f9c2714a49623cbb9fbde29 (diff) | |
download | linux-35a43326a9e3c229254fd531dfc711d20897d0fc.tar.xz |
perf/marvell: cn10k DDR perfmon event overflow handling
CN10k DSS h/w perfmon does not support event overflow interrupt, so
periodic timer is being used. Each event counter is 48bit, which in worst
case scenario can increment at maximum 5.6 GT/s. At this rate it may take
many hours to overflow these counters. Therefore polling period for
overflow is set to 100 sec, which can be changed using sysfs parameter.
Two fixed event counters starts counting from zero on overflow, so
overflow condition is when new count less than previous count. While
eight programmable event counters freezes at maximum value. Also individual
counter cannot be restarted, so need to restart all eight counters.
Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
Reviewed-by: Bhaskara Budiredla <bbudiredla@marvell.com>
Link: https://lore.kernel.org/r/20220211045346.17894-4-bbhushan2@marvell.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/remoteproc/da8xx_remoteproc.c')
0 files changed, 0 insertions, 0 deletions