Re: [PATCH v5 6/7] spapr: use DEVICE_UNPLUG_ERROR to report unplug errors

2021-07-16 Thread Greg Kurz
On Mon, 12 Jul 2021 16:43:38 -0300 Daniel Henrique Barboza wrote: > Linux Kernel 5.12 is now unisolating CPU DRCs in the device_removal > error path, signalling that the hotunplug process wasn't successful. > This allow us to send a DEVICE_UNPLUG_ERROR in drc_unisolate_logical() > to signal this

[PATCH v5 6/7] spapr: use DEVICE_UNPLUG_ERROR to report unplug errors

2021-07-12 Thread Daniel Henrique Barboza
Linux Kernel 5.12 is now unisolating CPU DRCs in the device_removal error path, signalling that the hotunplug process wasn't successful. This allow us to send a DEVICE_UNPLUG_ERROR in drc_unisolate_logical() to signal this error to the management layer. We also have another error path in spapr_mem