Skip to content
Commit 6f855b39 authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Thomas Gleixner
Browse files

cpu/hotplug: Do not bail-out in DYING/STARTING sections



The DYING/STARTING callbacks are not expected to fail. However, as reported
by Derek, buggy drivers such as tboot are still free to return errors
within those sections, which halts the hot(un)plug and leaves the CPU in an
unrecoverable state.

As there is no rollback possible, only log the failures and proceed with
the following steps.

This restores the hotplug behaviour prior to commit 453e4108
("cpu/hotplug: Add cpuhp_invoke_callback_range()")

Fixes: 453e4108 ("cpu/hotplug: Add cpuhp_invoke_callback_range()")
Reported-by: default avatarDerek Dolney <z23@posteo.net>
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Tested-by: default avatarDerek Dolney <z23@posteo.net>
Reviewed-by: default avatarValentin Schneider <vschneid@redhat.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215867
Link: https://lore.kernel.org/r/20220927101259.1149636-1-vdonnefort@google.com
parent d385febc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment