aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2020-02-11 19:18:55 +0100
committerHerbert Xu <[email protected]>2020-02-22 09:25:42 +0800
commit30332eeefec8f83afcea00c360f99ef64b87f220 (patch)
treef1d07f6fe23cb002d66933b9cc35e3c626d03db6 /tools/perf/scripts/python/bin/stackcollapse-report
parent9e00df7156e45e42c695ffc596b4bf1328d00516 (diff)
debugfs: regset32: Add Runtime PM support
Hardware registers of devices under control of power management cannot be accessed at all times. If such a device is suspended, register accesses may lead to undefined behavior, like reading bogus values, or causing exceptions or system lock-ups. Extend struct debugfs_regset32 with an optional field to let device drivers specify the device the registers in the set belong to. This allows debugfs_show_regset32() to make sure the device is resumed while its registers are being read. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions