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

Re: [PATCH v2] docs: fusa: Add dom0less domain configuration requirements


  • To: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Wed, 18 Dec 2024 14:09:21 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=kKNc5NkdTPQqWW7vUw2NbgVJoYbq4pEsTWQNDHUwrZM=; b=MWAmbIEXBncIqnk8bGJxC9OXBu2hSnfqptN9yBX2+nFaB6rXp+W4j78hpkL907ZZ6S9zEwyyas3FBmGYYpuFrYpMjtuQ7Pgs9DHff6qgjEsQVw81NtrCOUx67wzT4nBUpfJXC5VX/NSW7aU2vOu1Oby3Mcg5lg1/E94FVHdcYBz5naIaxyTAIxADb0VN3WgQ3o7VuU2cf48YVEM1R1CoVymgswy0dwk8BSXuBTbJ+bz2T+jP5ShKW12M0pIEcd6h+NH77vVui6onkl280XNm4fOBpvz58i9RNUa6j/II0+ZQ4FMMAronzv1V4+ANmzLGgqRkKbN4PmLoYFlw192Ffw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ny1MiLY3iPyHXqux/cQt8iRztfrdWXrOp6g12iQ7nGqR0/QkjxO34ufyJHNAZM/jAVhQfEcyYTcSNRMIXe4HOzelJ57aDYKXu5D+t7BluhdsQwt3Vsuh0HzCdAr58jiPaxZtWNS/0BXEQUq0N+TFGRFnyVcZFByB5zdexDSGvFanyQzAioXZmBbMbljWldem/Ph4ft6qCKwsFlsoPoLa+QB9TyANK2chY9eRWTQudy10hOZufyR6XYW2xp6gX+Re8EhbuUHEz/WVMcyJEYbYQn71iHlauZYEGGQS1SMlaAnVcPa1aAeN1BKpYPg5xFzIWigQpIRBW44+6YBsM4782g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Artem Mygaiev <artem_mygaiev@xxxxxxxx>
  • Delivery-date: Wed, 18 Dec 2024 14:09:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Bertrand/Michal,

On 18/12/2024 14:00, Bertrand Marquis wrote:
Hi Michal,

On 18 Dec 2024, at 14:56, Michal Orzel <michal.orzel@xxxxxxx> wrote:



On 18/12/2024 14:08, Bertrand Marquis wrote:

Hi Ayan,

On 18 Dec 2024, at 12:34, Ayan Kumar Halder <ayankuma@xxxxxxx> wrote:


On 18/12/2024 08:27, Bertrand Marquis wrote:
Hi Ayan,
Hi Bertrand,
On 12 Dec 2024, at 20:03, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx> wrote:

From: Michal Orzel <michal.orzel@xxxxxxx>

Add requirements for dom0less domain creation.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
---
[...]

+SPIs
+----
+
+`XenSwdgn~spis~1`
+
+Description:
+Xen shall allocate a specified number of shared peripheral interrupts for a
+domain.
This is very ambiguous. What do you mean here ?
Xen shall provide a way to specify the number of shared peripheral interrupts 
for a domain via the device tree .
I am lost in how you achieve such a thing in the configuration.
All you can do is assigned an interrupt to a domain, but the sharing part I do 
not see what Xen has to do with it.
This req is about Arm's SPIs (Shared Peripheral Interrupts) and the max number 
you can allocate to a domU.
You can see more here:
https://xenbits.xenproject.org/gitweb/?p=xen.git;a=blob;f=docs/misc/arm/device-tree/booting.txt;hb=HEAD#l172
Oh right, no idea how i came to shared interrupts instead of Arm SPIs.

Then this is Arm specific and we need to have a bit more context/clear up here 
(as comment or introduction).
And also this should have arm64 somewhere.

ok, I can add Arm specific bits in the comments. Also, will put arm64 in the tag.

Thinking again, this should be a product requirement as it explains the interface to Xen (in this case a dt property), Is this correct understanding ?

Also, to your other comment :-

I start to wonder if we should create interface requirements from the guest PoV:

A domain shall have a configurable number of vCPUs (1 to XX).

This should be a product requirement as well. Correct ?

- Ayan




 


Rackspace

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