On 15.02.22 18:56, Luca Fancellu wrote:
On 15 Feb 2022, at 10:48, Juergen Gross <jgr...@suse.com> wrote: On 15.02.22 11:15, Luca Fancellu wrote:Introduce an architecture specific way to create different cpupools at boot time, this is particularly useful on ARM big.LITTLE system where there might be the need to have different cpupools for each type of core, but also systems using NUMA can have different cpu pools for each node. The feature on arm relies on a specification of the cpupools from the device tree to build pools and assign cpus to them. Documentation is created to explain the feature. Signed-off-by: Luca Fancellu <luca.fance...@arm.com>IIRC I suggested to have the core functionality in common code in order to allow using boot time cpupool creation e.g. via commandline for x86, too.Yes, however I think the parser to handle everything by command line would be huge due to input sanitisation and not easy enough as the DT, however I see Hyperlaunch has plans to use DT on x86 so I guess it would be ok to make this feature common once the DT is available also on x86.
Everything not being explicitly specific to Arm should be in common code. Think of the work in progress for Risc-V. Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature