Skip to content

pm_trace: Add locking and add sysfs attr for rechecking dev hash.

James Hogan linux-pm lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 0 repliesNew
  2. v2 posting 1/20 of 2 patches 0 repliesSuperseded
  3. v12 patches 19 repliesSuperseded

Changes in v2 from the cover letter

- renamed sysfs attr pm_trace_dev_hash to pm_trace_dev_match
- renamed snprint_trace_dev_hash to show_trace_dev_match
- added comment in show_trace_dev_match referring to the fact that multiple devices could match the hash and they all need printing out
- added documentation to Documentation/ABI/testing/sysfs-power
- minor rewording in Documentation/power/s2ram.txt

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pm_trace: Lock pm device list mutex.drivers/base/power/trace.c+4 -10 replies
1/2pm_trace: Lock pm device list mutex.drivers/base/power/trace.c+4 -10 replies
2/2pm_trace: Add sysfs attr for rechecking dev hash.Documentation/ABI/testing/sysfs-power Documentation/power/s2ram.txt drivers/base/power/trace.c +2 more+87 -00 replies
2/2pm_trace: Add sysfs attr for rechecking dev hash.Documentation/ABI/testing/sysfs-power Documentation/power/s2ram.txt drivers/base/power/trace.c +2 more+87 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] pm_trace: Add locking and add sysfs attr for rechecking dev hash.

A fix and an improvement to the pm_trace code.

The improvement allows finding out via sysfs which device was last traced when the device is part of a kernel module (which means it doesn't get printed on next boot since it isn't loaded yet).

Changes in v2:
- renamed sysfs attr pm_trace_dev_hash to pm_trace_dev_match
- renamed snprint_trace_dev_hash to show_trace_dev_match
- added comment in show_trace_dev_match referring to the fact that multiple devices could match the hash and they all need printing out
- added documentation to Documentation/ABI/testing/sysfs-power
- minor rewording in Documentation/power/s2ram.txt

James Hogan (2):
pm_trace: Lock pm device list mutex.
pm_trace: Add sysfs attr for rechecking dev hash.

 Documentation/ABI/testing/sysfs-power |   29 ++++++++++++++++++++++++++
 Documentation/power/s2ram.txt         |    7 ++++++
 drivers/base/power/trace.c            |   36 ++++++++++++++++++++++++++++++++-
 include/linux/resume-trace.h          |    2 +
 kernel/power/main.c                   |   18 ++++++++++++++++
 5 files changed, 91 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.2.3