[PATCH v2 0/3] cpu/hotplug: rollback and "fail" interface fixes

From: vincent . donnefort
Date: Tue Feb 16 2021 - 05:36:40 EST


From: Vincent Donnefort <vincent.donnefort@xxxxxxx>

This patch-set intends to unify steps call throughout hotplug and
hotunplug.

It also improves the "fail" interface, which can now be reset and will
reject states for which a failure can't be recovered.

v2:
- Reject all DEAD steps in the fail interface.
- Do not try to recover from a DEAD step failure.
- WARN on DEAD step failure.
- Additional comment in cpuhp_reset_state().
- Fix WARN_ON coding style issues.

Vincent Donnefort (3):
cpu/hotplug: Allowing to reset fail injection
cpu/hotplug: CPUHP_BRINGUP_CPU failure exception
cpu/hotplug: Add cpuhp_invoke_callback_range()

kernel/cpu.c | 194 ++++++++++++++++++++++++++++++++-------------------
1 file changed, 123 insertions(+), 71 deletions(-)

--
2.25.1