Re: [PATCH v3] docs: Name the memory hotplug online type configs that exist

From: David Hildenbrand (Arm)

Date: Mon Nov 30 2026 - 07:31:53 EST


On 11/27/26 21:14, TAKANO Mitsuhiro wrote:
> The default online type is a Kconfig choice, so the symbols it defines are
> CONFIG_MHP_DEFAULT_ONLINE_TYPE_OFFLINE, _ONLINE_AUTO, _ONLINE_KERNEL and
> _ONLINE_MOVABLE. There is no CONFIG_MHP_DEFAULT_ONLINE_TYPE symbol, but
> five files name one.
>
> Where a file lists the config, name the family with a trailing _*. Where
> it names a choice value, spell the whole symbol out: early-boot.rst gave
> the zone choices as _NORMAL and _MOVABLE, which are not suffixes, and it
> left _ONLINE_AUTO out of the list of values.
>
> Verification: a build of the tree defines
> CONFIG_MHP_DEFAULT_ONLINE_TYPE_OFFLINE and no bare
> CONFIG_MHP_DEFAULT_ONLINE_TYPE in include/generated/autoconf.h, and grep
> finds no reference to the bare symbol under Documentation/ afterwards.
>
> Signed-off-by: TAKANO Mitsuhiro <takano32@xxxxxxxxx>
> ---

Yeah, why not:Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

I'll pick this in a sec.

--
Cheers,

David