Files
linux-stable-mirror/arch/powerpc
Ganesh Goudar 4fad7fef84 powerpc/eeh: avoid possible crash when edev->pdev changes
[ Upstream commit a1216e62d0 ]

If a PCI device is removed during eeh_pe_report_edev(), edev->pdev
will change and can cause a crash, hold the PCI rescan/remove lock
while taking a copy of edev->pdev->bus.

Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240617140240.580453-1-ganeshgr@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-27 10:46:13 +02:00
..
2024-01-25 14:52:32 -08:00
2023-06-21 15:59:15 +02:00