All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI/AER: Improve Error Source handling
@ 2026-11-06 16:38 Lukas Wunner
  2026-11-06 16:38 ` [PATCH v2 1/2] PCI/AER: Avoid NULL pointer deref on search for Error Source Lukas Wunner
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Lukas Wunner @ 2026-11-06 16:38 UTC (permalink / raw)
  To: Bjorn Helgaas, linux-pci
  Cc: Sourabh Jain, Oliver OHalloran, linuxppc-dev, Alex Deucher,
	Sathyanarayanan Kuppuswamy, Keith Busch, Maciej Grochowski,
	Ilpo Jaervinen, Yazen Ghannam

While analyzing log output provided by Alex, I noticed that the AER driver
fails to find the error-signaling device if the Error Source ID register
contains an invalid, non-zero value.  Fix it (patch [2/2]).

While at it, fix a potential NULL pointer deref in that portion of the code
(patch [1/2]).

Changes versus v1 in patch [2/2]:
  Reorder a < b && b < c comparisons (Ilpo, Bjorn)
  Amend kernel-doc of find_source_device() (Sathya)
  s/subordinate/secondary/ in commit message (Bjorn)
  Document behavioral change in commit message (sashiko)

Link to v1:
  https://lore.kernel.org/r/cover.1793697480.git.lukas@wunner.de

Lukas Wunner (2):
  PCI/AER: Avoid NULL pointer deref on search for Error Source
  PCI/AER: Check validity of Error Source ID register

 drivers/pci/pci.h       |  7 ++++++-
 drivers/pci/pcie/aer.c  | 37 +++++++++++++++++++++++++++----------
 drivers/pci/pcie/rcec.c | 14 ++++++++++++++
 3 files changed, 47 insertions(+), 11 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-11-09 23:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06 16:38 [PATCH v2 0/2] PCI/AER: Improve Error Source handling Lukas Wunner
2026-11-06 16:38 ` [PATCH v2 1/2] PCI/AER: Avoid NULL pointer deref on search for Error Source Lukas Wunner
2026-11-06 17:01   ` sashiko-bot
2026-11-06 16:38 ` [PATCH v2 2/2] PCI/AER: Check validity of Error Source ID register Lukas Wunner
2026-11-06 17:07   ` Ilpo Järvinen
2026-11-06 17:15   ` sashiko-bot
2026-11-06 17:25     ` Lukas Wunner
2026-11-06 17:37       ` Ilpo Järvinen
2026-11-09 23:36 ` [PATCH v2 0/2] PCI/AER: Improve Error Source handling Bjorn Helgaas

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.