[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:35:08 +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=6ceL6lMBl7nXAqR7gjXPoo6OJ6pxgPRimxEs7KYgeZQ=; b=HqCqVBRvFxn176ea7yIouAX1zUgohQDv3Hg2NOzx8lSt5+7MXBBiU4CIGph25eCNgkwRMv29n4L3ZlEzxoxm84JBleqzvUWCPnHaqI2EQfD+q2Y2E/2PZkuq47Mprt0Xc6hU4uHU1+KbNyGRMdBbmFGsunzzjGuIGReHgij/xuuqks7EafVLmnlickVPDi+0B0colcGiOdY74N837i2jHO0tJURbRxNofF+YjyLRLECOX3cnT4NDluHYY3VUAJxCbsWvDuAT8i0815JmAUan/ivsiO0xfei0Hkc8rV2M//48eNUKNT5reng/FPyS7qLic3+9cwSkDfXbTlBZGZIeSQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+I6Xet8Zn3W9tJ2tQ71mBVcrPv2pvwyg+z6YX+ZdO8z5bzJhBfY4woLhdS1FrV+BOYMFiG6pTdyGDX5Xu6/DFb1AiPdDJOoRt25OkaHiZFCq+WfA6qPNiyUUNEN3iuFmCxQ9bZHDg8Y5xs4wRLi4NLwS7OoJgYxJUXMD/pxB5egY8uIMTfEoc4keWTaSSvLm/a9OnXzEX0KcFYQZJIP3Ecn50nU+xkjvUA2z5R4LOUyA6WKoeuy9/K2Oj3n2ZrwgLh7WCULKVbLN5XLLVBgChFTxVP+26EUnK9Vw7C/IPEMe/kSPtbPjkHffEO2gsGWk0xjquF/+o0taoEkx1BBcg==
  • 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:35:29 +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+AgAAHFICAAPi1AA==
  • Thread-topic: [PATCH v3 4/6] xen/cpupool: Create different cpupools at boot time

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.

Cheers
Bertrand

> 
> Cheers,
> 
> -- 
> Julien Grall


 


Rackspace

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