Re: [PATCH v2 5/5] lib/cpumask: add FORCE_NR_CPUS config option
From: Andreas Schwab
Date: Tue Oct 18 2022 - 09:41:19 EST
On Okt 18 2022, Geert Uytterhoeven wrote:
> Moreover, this cannot be used on all systems. E.g. on Icicle Kit with
> Microchip PolarFire SoC, CONFIG_NR_CPUS needs to be larger than 4,
> as the system has actually 5 CPU cores (1xE51 and 4xU54), but Linux
> runs only on 4 of them. So you cannot use FORCE_NR_CPUS=y.
But does Linux acually see the E51 core? On the Hifive boards it is
disabled in the device tree, and the cpu probing just skips it,
effectively resulting in only four cpus.
--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."