Skip to content

Introduce and plumb PMSG_POWEROFF

Mario Limonciello (AMD) linux-pm linux-scsi linux-usb 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest3 patches 1 replyIn review
  2. v94 patches 4 repliesSuperseded
  3. v84 patches 4 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v712 patches18 repliesSuperseded
v6 posting 2/211 patches3 repliesSuperseded
v6 posting 1/211 patches9 repliesSuperseded
v511 patches0 repliesSuperseded
v45 patches7 repliesSuperseded
v35 patches0 repliesSuperseded
v23 patches4 repliesSuperseded
v11 patch7 repliesSuperseded

Changes in v10 from the cover letter

* Drop resume_event changes
* Drop patch 4 (will come in later phase)

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PM: Introduce new PMSG_POWEROFF eventdrivers/base/power/main.c include/linux/pm.h include/trace/events/power.h+10 -10 replies
2/3scsi: Add PM_EVENT_POWEROFF into suspend callbacksdrivers/scsi/mesh.c drivers/scsi/stex.c+2 -00 replies
3/3usb: sl811-hcd: Add PM_EVENT_POWEROFF into suspend callbacksdrivers/usb/host/sl811-hcd.c+1 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchEric NaimMartin K. Petersen
1/3T-b
2/3T-b R-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH v10 0/3] Introduce and plumb PMSG_POWEROFF

I've been working on a series that uses the hibernate flows (S4) during shutdown (S5) [1], but it's a bit risky because it has changes all around the kernel. To mitigate risk Rafael suggested [2] to split the series into at least 3 parts across different kernel cycles.

Here is the first part, which just introduces a PMSG_POWEROFF event and uses it in any driver that manipulates PM events.

There are no functional changes for these changes and this series is intended for 6.19.

v10:
* Drop resume_event changes
* Drop patch 4 (will come in later phase)

Mario Limonciello (AMD) (3):
PM: Introduce new PMSG_POWEROFF event
scsi: Add PM_EVENT_POWEROFF into suspend callbacks
usb: sl811-hcd: Add PM_EVENT_POWEROFF into suspend callbacks

 drivers/base/power/main.c    | 5 +++++
 drivers/scsi/mesh.c          | 1 +
 drivers/scsi/stex.c          | 1 +
 drivers/usb/host/sl811-hcd.c | 1 +
 include/linux/pm.h           | 3 +++
 include/trace/events/power.h | 3 ++-
 6 files changed, 13 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0