[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 4/6] xen/cpupool: Create different cpupools at boot time


  • To: Julien Grall <julien@xxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Tue, 22 Mar 2022 08:47:16 +0000
  • Accept-language: en-GB, en-US
  • 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=p60v/VkvLCsfeYXQT6nMBBnC1vwmjgLLZJu/KBsKGOc=; b=LtY6tqbHBXygXqzwK6l1m/4lAsgnlpcYGiKNLkOWo3fem9XfzEvreg3MHHlMpTsahLr5eHfzJukMgQfakN4Vnl+4Yj2jJ2K0R0cXfOXhO4dR2ctilELCJw4Teflq7vCFGBeN7sZjhMhe21Mr/kRZiaD+FAjK4/7L6JhK+JfocSVfrADjJmK9RBnRChTQJ0DlWFLUotyY21tRKlVrx6xwm8bXqizYQNWlCIcAebujNYauXRDm6m+7yt2dpbqZnNeGiJC6734fllr8iurMc+gkE9okp/SYvEEPA4TggwwxH3cK3t9DSv8Z8tO9pkegQKcKH8Z2o2YVEGAmcM99Gg2PIw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GeOgSj04jaCuAgegly3iftuCe4zh+VVodX7SxHP8M4/ROa+eHslFkjjx2+zT0MchsZziFDi0EosjWN+Fmuuq+wBQ+hSq6Sy+M96PLJGI/UeylCiw6NxSWZ40YBimQAfRmikkyTqu6QLMsYjkDHv2bwtpg+yfyhso8qRePjv9eC3uS9AO169nE13T8imC/8AfF2UsxLS3Xm36BzViipTrSSfowgNTqYj63UGRA47fq/lBKAy4v/deAHNmkjgVwIV4ieSfUXec7wGPfcLHNPZIdifeI5CiPCfNvrjdiYrc8keQZgmkpfBJBFh3dL8MD9Wu4kvXFu9yNIBjEJ79e18xjw==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Luca Fancellu <Luca.Fancellu@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>
  • Delivery-date: Tue, 22 Mar 2022 08:47:40 +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;
  • Thread-index: AQHYOtyBwlLK7ts4vEKxgpEPsRlgQ6zFUCoAgASzLwCAAAp/AIAADB+AgAAHFICAAPi1AIAAA2QA
  • Thread-topic: [PATCH v3 4/6] xen/cpupool: Create different cpupools at boot time

Hi Julien,

> On 22 Mar 2022, at 09:35, Bertrand Marquis <bertrand.marquis@xxxxxxx> wrote:
> 
> Hi Julien,
> 
>> On 21 Mar 2022, at 18:44, Julien Grall <julien@xxxxxxx> wrote:
>> 
>> Hi Bertrand,
>> 
>> On 21/03/2022 17:19, Bertrand Marquis wrote:
>>>> On 21 Mar 2022, at 17:36, Julien Grall <julien@xxxxxxx> wrote:
>>>>> So I don’t know why on x86 we must have cpu0 in cpupool0, maybe x86 
>>>>> maintainer have more knowledge about that and
>>>>> I can put a comment here.
>>>> 
>>>> On Arm, we are not yet supporting all the CPU features that x86 supports 
>>>> (e.g. CPU hotplug, suspend/resume...). So I a am bit concerned that the 
>>>> restriction is just not there yet (or possibly hidden).
>>>> 
>>>> Therefore, before lifting the restriction on Arm (and other arch), I would 
>>>> like us to understand why it is necessary on x86.
>>>> 
>>>> We may not have the answer quickly, so is it going to be a problem to keep 
>>>> the restriction on Arm?
>>> I am ok to keep the limitation to have dom0 always running on cpu0.
>>> Only limitation I can see is that on a big little system, dom0 needs to 
>>> stay on the type of core of the first booted core.
>> 
>> Where does this limitation come from?
> 
> If dom0 must run on core0 and core0 is Little then you cannot build a system 
> where dom0 is running on big cores.
> If the limitation is not there, you can build such a configuration without 
> any dependency to the boot core type.

This might not be completely clear so let me rephrase:
In the current system:
- dom0 must run on cpupool-0
- cpupool-0 must contain the boot core
- consequence: dom0 must run on the boot core

If boot core is little, you cannot build as system where dom0 runs only on the 
big cores.
Removing the second limitation (which is not required on arm) is making it 
possible.

Regards
Bertrand


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.