Re: [PATCH] MIPS: Fix HOTPLUG_PARALLEL dependency

From: Gregory CLEMENT

Date: Fri Nov 14 2025 - 10:52:58 EST


Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> writes:

> On Mon, Nov 10, 2025 at 03:05:23PM +0100, Gregory CLEMENT wrote:
>> Hello Thomas,
>>
>> > With MIPS, it is possible to have SMP enabled without HOTPLUG_CPU
>> > selected. However, in kernel/cpu.c, some code that uses
>> > HOTPLUG_PARALLEL also requires HOTPLUG_CPU to be selected. Therefore,
>> > we should fix the HOTPLUG_PARALLEL dependency to depend on
>> > HOTPLUG_CPU, not just SMP.
>> >
>> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
>> > Closes: https://lore.kernel.org/oe-kbuild-all/202510270120.21wA1aX1-lkp@xxxxxxxxx/
>> > Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>
>>
>> Do you have any comments about this fix?
>
> all good from my side, does it need to go via mips-fixes ?

This fixes a build failure that occurs only in unusual kernel
configurations, so from my point of view, it is not critical.

Gregory

>
> Thomas.
>
> --
> Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
> good idea. [ RFC1925, 2.3 ]

--
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com