linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] power: sequencing: add kunit test cases
@ 2026-09-09 12:37 Bartosz Golaszewski
  2026-09-09 12:37 ` [PATCH v2 1/4] power: sequencing: don't call .post_enable() if pwrseq_unit_enable() failed Bartosz Golaszewski
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bartosz Golaszewski @ 2026-09-09 12:37 UTC (permalink / raw)
  To: Bartosz Golaszewski, Manivannan Sadhasivam, Chen-Yu Tsai,
	Krzysztof Kozlowski
  Cc: linux-pm, linux-kernel, Bartosz Golaszewski, stable, sashiko-bot

Add a set of kunit test cases for the power sequencing subsystem. Also
fix issues noticed when writing the tests.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Changes in v2:
- Add more fixes to bugs pointed out by sashiko
- Link to v1: https://patch.msgid.link/20260903-pwrseq-kunit-v1-0-1f893d2cabc2@oss.qualcomm.com

---
Bartosz Golaszewski (4):
      power: sequencing: don't call .post_enable() if pwrseq_unit_enable() failed
      power: sequencing: fix NULL-pointer dereference in pwrseq_unit_new()
      power: sequencing: fix NULL-pointer dereference in pwrseq_device_register()
      power: sequencing: add kunit test cases

 drivers/power/sequencing/Kconfig        |   10 +
 drivers/power/sequencing/Makefile       |    1 +
 drivers/power/sequencing/core.c         |   11 +-
 drivers/power/sequencing/pwrseq-kunit.c | 1497 +++++++++++++++++++++++++++++++
 4 files changed, 1515 insertions(+), 4 deletions(-)
---
base-commit: df2908090cda368b01ff43709f51890076c56157
change-id: 20260629-pwrseq-kunit-367029f9b446

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-14  7:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-09 12:37 [PATCH v2 0/4] power: sequencing: add kunit test cases Bartosz Golaszewski
2026-09-09 12:37 ` [PATCH v2 1/4] power: sequencing: don't call .post_enable() if pwrseq_unit_enable() failed Bartosz Golaszewski
2026-09-09 12:37 ` [PATCH v2 2/4] power: sequencing: fix NULL-pointer dereference in pwrseq_unit_new() Bartosz Golaszewski
2026-09-09 12:37 ` [PATCH v2 3/4] power: sequencing: fix NULL-pointer dereference in pwrseq_device_register() Bartosz Golaszewski
2026-09-09 12:37 ` [PATCH v2 4/4] power: sequencing: add kunit test cases Bartosz Golaszewski
2026-09-14  7:27 ` (subset) [PATCH v2 0/4] " Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).