[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/5] xen/cpupool: Create different cpupools at boot time
- To: Juergen Gross <jgross@xxxxxxxx>
- From: Luca Fancellu <luca.fancellu@xxxxxxx>
- Date: Wed, 16 Feb 2022 12:37:37 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xa2aXVUDyj1ljokgDYvRMRwSkasiXElQNGzhd67PcB4=; b=MCSRvCgPguQfs2n5kNIf+3qrZ6sj2gtr8ozvTWxjTl1XqR4h37zVd7eAI2BrZB0HdC3HPDqzXcDjOVEAyOsLzFQ5B681lepMM5FDm6wfDHAHsek/vAxkZc4WprjOvWrnoPc7vfXiN+PRBcotFe0iuYOqubZIkpHTkWKfueihhb/CQsXq1QL7qlxHa9eh9NERKZC4G/3SBVOFzVDltReYCT3W2GgsrCmEYf1B8CWiop1gTRmNp+FWPVBo/V7hOTOshEEgi2sWrj1CkGYogowIhIHXamxZiOunMhnTvSEyKC2dkupwou3n+OCXlvsjkWvEJksc7h76NYCvvHWfw07D5w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JXUvBbmW3KRE19TTBUgCDIfjsB/OWoCp9ZSMuu7IemLa0iVQxvg5jG+T16+mRN4Y++fDsY0CVsIymvB1Yrne7G/UCxLLT69MSbjI+EELTQ+8BMU7QWfQHJiwKcY5z5bcCt3a6J1r0iOtphHcME1451O9ekiwiovVQBf8/fOFT3nE+8gaVXgO7TMXAju+H19tga1b/RQLd7Eo8FEiqXm1a4Rzy5Ug90DulxTWo8dWP4v/bGrsYz5cao0n7zzfeCPDMin5hBDHBYEDqqkbbg8nGZkNzkZe7Q7TUaHz+quIZE7BYpYum+iJmcL/Ob8OJu4bHlC+Zvy4H6U2ZUH/ZwqV6A==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Chen <wei.chen@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>
- Delivery-date: Wed, 16 Feb 2022 12:38:07 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
> On 16 Feb 2022, at 06:18, Juergen Gross <jgross@xxxxxxxx> wrote:
>
> On 15.02.22 18:56, Luca Fancellu wrote:
>>> On 15 Feb 2022, at 10:48, Juergen Gross <jgross@xxxxxxxx> 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.fancellu@xxxxxxx>
>>>
>>> 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.
Ok I will put it in common and I will make the feature depend on
HAS_DEVICE_TREE.
Thank you.
Cheers,
Luca
>
>
> Juergen
> <OpenPGP_0xB0DE9DD628BF132F.asc>
|