Skip to contentSkip to conversation

PM: docs: Add comprehensive wakeup_count documentation

PATCH New chenheyun 2 participants 2 messages Apr 19 – Apr 29

Subsystems (2)
lore
Share & tools
lore

chenheyun

author
#0 lore raw

PATCH 1/1 PM: docs: Add comprehensive wakeup_count documentation

The current Documentation/power/wakeup-count.rst is empty and lacks description of the race-free suspend mechanism, sysfs ABI semantics, blocking behavior, and standard userspace usage.

Add complete documentation for /sys/power/wakeup_count, including overview, interface semantics, usage example, and related interfaces.

Also update Documentation/power/index.rst to include the new document.

---
 Documentation/power/index.rst        |  1 +
 Documentation/power/wakeup-count.rst | 63 ++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
 create mode 100644 Documentation/power/wakeup-count.rst
Documentation/power/index.rst +1 -0
index b4581e4ae785..901268049d7c 100644
@@ -27,6 +27,7 @@ Power Management
     swsusp
     video
     tricks
+    wakeup-count
 
     userland-swsusp
 
Documentation/power/wakeup-count.rst new file +63 -0

64 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw
kernel test robot noticed the following build warnings:

Hi chenheyun,

kernel test robot noticed the following build warnings:

[auto build test WARNING on lwn/docs-next]
[also build test WARNING on linus/master v7.1-rc1 next-20260429] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/chenheyun/PM-docs-Add-comprehensive-wakeup_count-documentation/20260420-160506
base:   git://git.lwn.net/linux.git docs-next
patch link:    https://lore.kernel.org/r/20260419072330.101419-1-chen_heyun%40163.com
patch subject: [PATCH] [PATCH] PM: docs: Add comprehensive wakeup_count documentation
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
docutils: docutils (Docutils 0.21.2, Python 3.13.5, on linux)
reproduce: (https://download.01.org/0day-ci/archive/20260430/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

Warning: Documentation/devicetree/bindings/mfd/motorola-cpcap.txt references a file that doesn't exist: Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
Warning: Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml
Warning: Documentation/devicetree/bindings/rtc/motorola,cpcap-rtc.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/motorola,cpcap.yaml
Warning: Documentation/doc-guide/parse-headers.rst references a file that doesn't exist: Documentation/userspace-api/media/Makefile
Warning: Documentation/leds/leds-lp5812.rst references a file that doesn't exist: Documentation/ABI/testing/sysfs-class-led-multicolor.rst

>> Warning: Documentation/power/wakeup-count.rst references a file that doesn't exist: Documentation/power/wakeup-events.rst

Warning: Documentation/translations/it_IT/doc-guide/parse-headers.rst references a file that doesn't exist: Documentation/userspace-api/media/Makefile
Warning: Documentation/translations/ja_JP/SubmittingPatches references a file that doesn't exist: linux-2.6.12-vanilla/Documentation/dontdiff
Warning: Documentation/translations/ja_JP/process/submit-checklist.rst references a file that doesn't exist: Documentation/translations/ja_JP/SubmitChecklist
Warning: Documentation/translations/zh_CN/doc-guide/parse-headers.rst references a file that doesn't exist: Documentation/userspace-api/media/Makefile
Warning: Documentation/translations/zh_CN/filesystems/gfs2-glocks.rst references a file that doesn't exist: Documentation/filesystems/gfs2-glocks.rst

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki