[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/3] spapr: use DEVICE_UNPLUG_ERROR to report unplug error
Re: [PATCH v3 2/3] spapr: use DEVICE_UNPLUG_ERROR to report unplug errors
Mon, 5 Jul 2021 14:55:46 +1000
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 this error to the management layer.
> We also have another error path in spapr_memory_unplug_rollback() for
> configured LMB DRCs. Kernels older than 5.13 will not unisolate the LMBs
> in the hotunplug error path, but it will reconfigure them. Let's send
> the DEVICE_UNPLUG_ERROR event in that code path as well to cover the
> case of older kernels.
> Signed-off-by: Daniel Henrique Barboza <email@example.com>
Reviewed-by: David Gibson <firstname.lastname@example.org>
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
Description: PGP signature
|[Prev in Thread]
||[Next in Thread]|
- Re: [PATCH v3 2/3] spapr: use DEVICE_UNPLUG_ERROR to report unplug errors,
David Gibson <=