Re: [PATCH] kernel: cpu: send CPU_UP_CANCELLED notification

From: Greg KH
Date: Sat Jul 15 2017 - 02:38:23 EST


On Fri, Jul 14, 2017 at 02:50:28PM -0700, Channagoud Kadabi wrote:
> If any of the callbacks during cpu up fail undo_cpu_up calls the
> teardown call backs to rollback states but does not send
> CPU_UP_CANCELLED. As on 4.9 kernel some drivers still use the
> notification mechanism for cpu hotplug we need to send
> CPU_UP_CANCELLED notification so drivers can rollback whatever
> they did during cpu up.
>
> Signed-off-by: Channagoud Kadabi <ckadabi@xxxxxxxxxxxxxx>
> ---
> kernel/cpu.c | 1 +
> 1 file changed, 1 insertion(+)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>