All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] s390/pci: Fix missing pci_dev_put() in zpci_report_status()
@ 2026-08-19  9:58 Niklas Schnelle
  2026-08-19  9:58 ` [PATCH v2 1/2] " Niklas Schnelle
  2026-08-19  9:58 ` [PATCH v2 2/2] s390/pci: Extend device lock to cover zpci_report_status() Niklas Schnelle
  0 siblings, 2 replies; 5+ messages in thread
From: Niklas Schnelle @ 2026-08-19  9:58 UTC (permalink / raw)
  To: Gerd Bayer, Matthew Rosato, Farhan Ali, Benjamin Block,
	Julian Ruess
  Cc: Heiko Carstens, Vasily Gorbik, Alexander Gordeev, Sven Schnelle,
	Ramesh Errabolu, Tobias Schumacher, Halil Pasic,
	Peter Oberparleiter, Gerald Schaefer, Christian Borntraeger,
	Niklas Schnelle, linux-s390, linux-kernel

Hi All,

This series fixes two issues found in zpci_report_status() by
LLM review. A missing pci_dev_put() which could prevent proper removal
on hot unplug and a too short device lock critical section.

Thanks,
Niklas

Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
---
Changes in v2:
- Added a second fix to address Sashiko's finding of having
  to hold the device lock during the call to zpci_report_status()
- Add R-bs from Matthew and Farhan
- Link to v1: https://lore.kernel.org/r/20260818-fix_zpci_report_status_pdev_leak-v1-1-576520f4d068@linux.ibm.com

---
Niklas Schnelle (2):
      s390/pci: Fix missing pci_dev_put() in zpci_report_status()
      s390/pci: Extend device lock to cover zpci_report_status()

 arch/s390/pci/pci_event.c  | 2 +-
 arch/s390/pci/pci_report.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
change-id: 20260817-fix_zpci_report_status_pdev_leak-1b101c1fe021

Best regards,
-- 
Niklas Schnelle


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

end of thread, other threads:[~2026-08-19 10:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19  9:58 [PATCH v2 0/2] s390/pci: Fix missing pci_dev_put() in zpci_report_status() Niklas Schnelle
2026-08-19  9:58 ` [PATCH v2 1/2] " Niklas Schnelle
2026-08-19 10:08   ` sashiko-bot
2026-08-19  9:58 ` [PATCH v2 2/2] s390/pci: Extend device lock to cover zpci_report_status() Niklas Schnelle
2026-08-19 10:19   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.