Re: [PATCH RFC 1/1] powerpc/eeh: Synchronization for safety

2020-06-29 Thread Oliver O'Halloran
On Mon, 2020-03-30 at 17:39 +1100, Sam Bobroff wrote: > There is currently little synchronization between EEH error detection > (eeh_dev_check_failure()), EEH error recovery > (eeh_handle_{normal,special}_event()) and the PCI subsystem (device > addition and removal), and so there are race

[PATCH RFC 1/1] powerpc/eeh: Synchronization for safety

2020-03-30 Thread Sam Bobroff
There is currently little synchronization between EEH error detection (eeh_dev_check_failure()), EEH error recovery (eeh_handle_{normal,special}_event()) and the PCI subsystem (device addition and removal), and so there are race conditions that lead to crashes (often access to free'd memory or