Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 19FE4E7716B for ; Wed, 4 Dec 2024 15:23:32 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.848635.1263472 (Exim 4.92) (envelope-from ) id 1tIrDX-0005re-LC; Wed, 04 Dec 2024 15:23:07 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 848635.1263472; Wed, 04 Dec 2024 15:23:07 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tIrDX-0005rX-IH; Wed, 04 Dec 2024 15:23:07 +0000 Received: by outflank-mailman (input) for mailman id 848635; Wed, 04 Dec 2024 15:23:06 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tIrDW-0005rR-Cr for xen-devel@lists.xenproject.org; Wed, 04 Dec 2024 15:23:06 +0000 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on20614.outbound.protection.outlook.com [2a01:111:f403:240a::614]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id a7499f94-b253-11ef-a0d4-8be0dac302b0; Wed, 04 Dec 2024 16:23:04 +0100 (CET) Received: from PH8PR12MB7326.namprd12.prod.outlook.com (2603:10b6:510:216::7) by CYYPR12MB8937.namprd12.prod.outlook.com (2603:10b6:930:cb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.20; Wed, 4 Dec 2024 15:22:59 +0000 Received: from PH8PR12MB7326.namprd12.prod.outlook.com ([fe80::6d76:9c33:d230:8264]) by PH8PR12MB7326.namprd12.prod.outlook.com ([fe80::6d76:9c33:d230:8264%6]) with mapi id 15.20.8230.010; Wed, 4 Dec 2024 15:22:59 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: a7499f94-b253-11ef-a0d4-8be0dac302b0 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NlQCXePat+yJaJfC6Wbh70X3v5SSdgoG4N61Z9Tf3GmLNOfvAw2BlkPd5TUbE7IYGwhulIY323xO/47hUq3Y75vrBqNnwSQ7HAPjpEjpFH5XFcwmyt5HbMB/elky58HBCqWLWbMlKtv/+OlqMSZ9E6BsS/C7yVVY+ZdSknkmcWBi8wynz5RKP6JzJow7P3kzhKzyp6zuk9BFPxdmfoeEIGZACWmF6aO8pd4WAy6OYqxFHxAkId8+WMVBo8b3eOw7DUPPRv+D64rQpscvK+c87v80gohyxKVapYMyjk/9+SWiINgJDHzgfgOTrgmPOzehB/+Q3BMIo57o/XdzOUvg9Q== 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=uDvX3WI++Ebn5mIbPO9jEB/bjvBn2cBlAmji3v+1rzA=; b=DDgVD/GEgP8xtTZ/O+DOhTd2ZBZM/eDxWOSvg1ZuhqbyWYC5fwfxycVvvDMzCLaXBWSckWzjfj8Y7FiHPjA8BBk4HnMH47ycbcJWCOqO9n1lUDL+zaHVrNwkJo717NG6xSfs+gwP3WkctDLstx6S3j3KCA1IEztTNl6yTOF0KkyQy6ueDASXR1R6hhIfG/w8HCy0/m4qx9iiWxRb4pr+dZSGjChTvs0EmmaErA8Hp0MvArVaZghkZ38fPzeVU995GTyz0OPPkaLuRw3VMJqc+5vGTq0pzH0o4Co378IbRscfJ1XuIQOhWUX4jM7A1+VfaOkajl+BsWrSEFdcM7FzYQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uDvX3WI++Ebn5mIbPO9jEB/bjvBn2cBlAmji3v+1rzA=; b=KwXl1jLjFb/HyAprur8bITVWtBjyIKeG6Qe5CJxrFROf/DVu48ZbfBN6OKzsQ3DbkMGWileI1A3S6ZzjV78jQefuej1FWPzoTnzzcbTrpPP7gD6KGjWMvgaHc+J8lsN83kb54SZvEW/7h08t3NEDShGUoxLHCIaDvZNKGz+4AnM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Message-ID: <9fa5a82f-d1cf-403b-9488-64494324e438@amd.com> Date: Wed, 4 Dec 2024 15:22:53 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] docs: fusa: Add dom0less domain configuration requirements Content-Language: en-GB To: Bertrand Marquis , Julien Grall Cc: Ayan Kumar Halder , "xen-devel@lists.xenproject.org" , Michal Orzel , Stefano Stabellini , Artem Mygaiev , Munakata Hisao References: <20241018155144.3433395-1-ayan.kumar.halder@amd.com> <4dbf2c4d-f7bd-4032-b52f-29c24e3ec055@xen.org> <22282f26-5c66-444b-b63a-d5442e6fcdad@amd.com> <04a358de-ed76-46b4-bc09-f3f343e09186@xen.org> <1E89C10B-2307-4076-A018-0E1722DD22EC@arm.com> From: Ayan Kumar Halder In-Reply-To: <1E89C10B-2307-4076-A018-0E1722DD22EC@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0051.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::20) To PH8PR12MB7326.namprd12.prod.outlook.com (2603:10b6:510:216::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH8PR12MB7326:EE_|CYYPR12MB8937:EE_ X-MS-Office365-Filtering-Correlation-Id: 2dda5ba0-0141-4847-eb7b-08dd14778920 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?MlMvT3NML01jVGNGYmt5MUNDQlRZd01zL05HSUZ4c0dBa05kSDZjY0c4UDkz?= =?utf-8?B?UkRmMmlWR0tHakprWk8ya2hoTnhaTTlnZGxrZmx5WEgzQ2RmUm5mYWF2YkZO?= =?utf-8?B?U2tTYk1MU2xJeHFTSTFFVGM4YkZ5Tk5pUjhNS1hEdXVnU3BJN205Mk5XUW1S?= =?utf-8?B?L21abEk3WlZCSWNoVUg5STJ4UGFKcVc2Rm1oQU9ZdzUzREtEaklOQjF6Smk2?= =?utf-8?B?N2JkRHpleFpVOFZGSWZzOWY0eXRrMXVCTGlaSkh4ZG9PcVJoWHBpcS9HTWNU?= =?utf-8?B?WWlTK21YSkVPRU42NXBUTkR6aCttUDM4REZsT2NGZjF3cXZKb3B4QzBJcVY3?= =?utf-8?B?TnpFSStrbGRNMTVvbkt5d082VXk2N0l4QVd1RjRpeTdGMlJ4ZXlOZTNscFV4?= =?utf-8?B?eXo3dk5yeHo0N2IrdXdkTFBCVDBSeVlReGtXS0VLQmNUTE1ONzdHN28xbjdz?= =?utf-8?B?OVd3VFVSM3RUMzd1QkFzSXNaSnVtTUtKZFEvblpiYVhTVmUwWGtydHpYUHVm?= =?utf-8?B?ek5NQUxvREpsTHdRcUtzZ3BORW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8?B?OU1ySGRKL3NTNHZMdStiUEcxUWFCUWNpelc1UndlWkpDY242Vi9yb2dITmt6?= =?utf-8?B?Tlo5WkFQa21yZEdqSXFVMTQzUThuUGxrMjdvRXk0YWZYTmc1WXhXQUh4WWFs?= =?utf-8?B?dWFzMlNKMzE2V2lpbTk1bmEzRmJ4UHIvN0RheG9jSEFva0dzUGhCVUtESHRL?= =?utf-8?B?SmJPeW00c1RPbDNwQmsyVWQ0Nm9QTXpGai9lOWNLZkpaM21NbnBMUytFekQy?= =?utf-8?B?UzB2WlBzeUhhdWlOUFEySkhra1Q4THpJWno4N0ZNVkhyQnVlSVBic2FRbUZw?= =?utf-8?B?b2JtQUZYQ3VMaW15NjltaGJHQzZpNWdMeTFiS2xTbnhFTngzZmdlUlRKZ2My?= =?utf-8?B?cjdmcHdlY1loclZpdjRtZz09?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH8PR12MB7326.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bXJmNGd1OVVRQnJDUk1LWDZuQ2tUZHNCRUVhMjNkbXZWaUV1OTNkNDE5cW84?= =?utf-8?B?K2dEWDRHa0NIamJtamY1YWF5T2h3akNqcUJ1ZTNIeWpOTHR0MWtiUGI0SEpP?= =?utf-8?B?NGN4cnozN2c3dnRNTDZ0UENXVXZSdzFkT0xpQXZ6WVh4V3FybVFubjFGUW1i?= =?utf-8?B?dWg1MEhMeGVXRGJtekVqdmc2ZVBhV2J3K2p0SlJjOHpBWHlhcTVqOWx1WEZ2?= =?utf-8?B?NW1tdmRPWnJBeUFHMWZLSTFNZ3JUdEtnOEN1d2RtSFBmQWUrbzJzS1VSTWwz?= =?utf-8?B?ekFwU3dHa1FpbEF1TGxPRmh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?Q?ahIn0IbRFvRNCzFmwnQVrIWEx?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2dda5ba0-0141-4847-eb7b-08dd14778920 X-MS-Exchange-CrossTenant-AuthSource: PH8PR12MB7326.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2024 15:22:59.4404 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: j4Q9ZpkkMdBM2DfmP8k8FjnqNQnzLnXW3shhhy7i51bJIZtxAWZIGdTCs8NX4ZCULufYxCIHjGaPsBVV/D/Uaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR12MB8937 On 19/11/2024 09:04, Bertrand Marquis wrote: > Hi Ayan and Julien, Hi, > >> On 16 Nov 2024, at 10:57, Julien Grall wrote: >> >> Hi Ayan, >> >> On 15/11/2024 18:53, Ayan Kumar Halder wrote: >>>>> +Assign vCPUs from CPU pool >>>>> +-------------------------- >>>>> + >>>>> +`XenSwdgn~arm64_assign_vcpus_cpu_pool~1` >>>>> + >>>>> +Description: >>>>> +Xen shall assign vCPUs to a domain from a CPU pool. >>>> Same remark about the wording. You create a domain with N vCPUs and *assign* a CPU pool to a domain. >>> Ok, so all the previous 3 requirements can be merged into >>> Xen shall create a domain with N vCPUs and assign a CPU pool to a domain. >>> Or >>> Xen shall create a domain with N vCPUs. >> I think this one is better because it is not mandatory for the user to select a CPU pool and you will have it ... >> >>> (which of the two looks better to you if we keep the next requirement ?) >> ... by the next one. >> >>> Comments: >>> Here N is determined by the device tree configuration provided by the user. >>>> You also assign pCPU to a CPU pool. >>>> >>>> But I am not sure about if this requirement is actually necessary given ... >>>> >>>>> + >>>>> +Rationale: >>>>> + >>>>> +Comments: >>>>> + >>>>> +Covers: >>>>> + - `XenProd~static_domains_configuration~1` >>>>> + >>>>> +Specify CPU pool scheduler >>>>> +-------------------------- >>>>> + >>>>> +`XenSwdgn~arm64_specify_cpu_pool_scheduler~1` >>>>> + >>>>> +Description: >>>>> +Xen shall assign a CPU pool scheduler to a domain. >>>> ... you have th is one. >>> So, we can keep it as it is. >>>>> + >>>>> +Rationale: >>>>> + >>>>> +Comments: >>>>> + >>>>> +Covers: >>>>> + - `XenProd~static_domains_configuration~1` >>>>> + >>>>> +Assign virtual UART >>>>> +------------------- >>>>> + >>>>> +`XenSwdgn~arm64_assign_virtual_uart~1` >>>>> + >>>>> +Description: >>>>> +Xen shall assign a virtual UART to a domain. >>>> Are we talking about the virtual PL011 or the fake emulation of the real UART we do? >>> virtual PL011. >> Is it possible to specify it in the market requirements? >> >> [...] >> >>>>> + >>>>> +Static VM definition >>>>> +-------------------- >>>>> + >>>>> +`XenMkt~static_vm_definition~1` >>>>> + >>>>> +Description: >>>>> +Xen shall support specifying resources for a domain. >>>> Compare to the other requirements, this is quite a vague. Should we list the resources? >>> The list of resources depends on what the user has provided in the device tree configuration. >>> But the requirement is correct as it is. Xen allows direct assignment of devices to domains (ie passthrough). >>> How do you want to write it ? >> This is probably a better question for Bertrand. I don't know how market requirements are usually described. I was making a comparison with the other where you explicitely listed the expected resources (e.g. CPU, Memory, device). > I definitely agree with Julien here, this requirement is not clear as "resources" is not specified or defined. > I would highly suggest to be more specific by listing what we mean by resources and maybe even split this requirement in several to make testing and linking easier. As per our discussion , the market requirement should be Xen shall support assigning peripherals to various domains. Comment: /* we need to define peripheral */ Peripheral implies an iomem (input output memory) and/or interrupts. (This aligns with our definition of market requirement where we specify the capabilities of Xen at a high level.) And the product requirements should be 1. Xen shall support assigning iomem to a domain. 2. Xen shall support forwarding interrupts to a domain. (Here, we try to describe the interface between Xen and domain. So, domains unterstand how Xen will interact with them.) The design requirements will be 1. Xen shall create a mapping for iomem in stage 2 page tables. 2. Xen shall route the interrupts to the domains. 3. Xen shall add iommu master (if present) for the iomem, to the domain's device tree. 4. Xen shall add the iomem to its iommu master. 5. Xen shall allow assignment of iomem without iommu protection. The design requirements are still a bit high level ie it does not describe the details (at register level or granular level) of how Xen creates a mapping (for eg). The advantage is that the requirements will be linked to the top level functions. It will allow the underneath functions to change without requiring us to modify the requirements. Besides, it will help us to provide some justification for the missing coverage at the lower level (ie we can say that we don't really care if Xen chooses to  perform a manual translation vs hardware translation. ) - Ayan > > Cheers > Bertrand > >> Cheers, >> >> -- >> Julien Grall