1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 12:00:35 +00:00
Geert Uytterhoeven 30332eeefe 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 <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-02-22 09:25:42 +08:00
..
2020-02-08 14:04:19 -08:00
2020-02-04 07:17:41 +00:00
2020-01-31 14:40:36 -08:00
2020-01-27 17:49:15 +01:00
2020-01-27 14:35:32 +01:00
2020-02-08 14:04:19 -08:00
2020-01-23 12:37:18 +00:00
2020-02-07 17:39:56 -08:00
2020-02-04 03:05:26 +00:00
2020-02-04 03:05:26 +00:00
2020-01-29 18:16:16 -08:00
2020-02-08 14:04:19 -08:00
2020-01-23 00:35:50 +01:00
2020-01-27 10:55:50 -08:00
2020-01-27 11:09:31 +01:00
2020-02-09 12:11:12 -08:00
2020-01-31 17:33:54 +00:00
2020-02-06 06:11:50 +00:00
2020-02-04 07:21:04 +00:00
2020-02-04 07:24:48 +00:00
2020-02-01 10:01:52 -08:00
2020-01-29 17:00:02 -06:00
2020-01-24 10:24:31 -08:00
2020-01-24 10:24:31 -08:00
2020-01-29 19:38:34 -08:00
2020-02-04 03:05:24 +00:00
2020-02-04 03:05:26 +00:00
2020-01-29 19:38:34 -08:00
2020-02-06 07:12:11 +00:00
2020-02-22 09:25:42 +08:00