Re: [PATCH v4 06/26] KVM: arm64: Simplify the CPUHP logic

From: Marc Zyngier
Date: Mon Sep 12 2022 - 11:07:17 EST


On Fri, 09 Sep 2022 00:25:22 +0100,
isaku.yamahata@xxxxxxxxx wrote:
>
> From: Marc Zyngier <maz@xxxxxxxxxx>
>
> For a number of historical reasons, the KVM/arm64 hotplug setup is pretty
> complicated, and we have two extra CPUHP notifiers for vGIC and timers.
>
> It looks pretty pointless, and gets in the way of further changes.
> So let's just expose some helpers that can be called from the core
> CPUHP callback, and get rid of everything else.
>
> This gives us the opportunity to drop a useless notifier entry,
> as well as tidy-up the timer enable/disable, which was a bit odd.
>
> Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
> Signed-off-by: Chao Gao <chao.gao@xxxxxxxxx>
> Link: https://lore.kernel.org/r/20220216031528.92558-5-chao.gao@xxxxxxxxx
> Signed-off-by: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>

Since this patch is substantially different from the version pointed
to on the list, please drop Chao's SoB and the Link: tag, as they are
not relevant anymore.

Thanks,

M.

--
Without deviation from the norm, progress is not possible.