Re: [PATCH v3 2/3] spapr: use DEVICE_UNPLUG_ERROR to report unplug errors

2021-07-04 Thread David Gibson
On Mon, Jun 21, 2021 at 05:59:06PM -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

[PATCH v3 2/3] spapr: use DEVICE_UNPLUG_ERROR to report unplug errors

2021-06-21 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