From nobody Mon Nov 25 16:07:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1722443820; cv=pass; d=zohomail.com; s=zohoarc; b=R7ssykml8GaiL55DLaX+xrhgOt4S8ly8EBZ56nywthNNoAI0Qs9jEenL4C0I4a7EtIfMLRUhdLl7dn8gkXW6VzDJ1D7BLXs0E5xKRTsnD8pZFOz7Lq8aKmrBQ7e8vlOqOVFHg30NpYMTdk+Vqw7IGunPMqJ4Hti0PbJD5jKgrRI= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722443820; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=dLp/88EN95cYWxifMrQBqlXRYpvzetOqFDwk8kg/LxI=; b=InB+5c3XLejUmECT/zHxi3IatOSnTzPCUU8d0+d+6W9NiFL0dMZEz3Sy5MTngdlOiCulxYEkbnYB2SV+8CtyF4IvFBR2QOdoHl8T3GKA24TTTlfFjSrVKUCDasG4sbRVi610becPZHLOB9eBaD47DM63DHHiuVM3ZLLYdF69DUM= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1722443820061909.0339866559661; Wed, 31 Jul 2024 09:37:00 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.768990.1179901 (Exim 4.92) (envelope-from ) id 1sZCJj-0002Cf-88; Wed, 31 Jul 2024 16:36:47 +0000 Received: by outflank-mailman (output) from mailman id 768990.1179901; Wed, 31 Jul 2024 16:36:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sZCJj-0002CW-5Z; Wed, 31 Jul 2024 16:36:47 +0000 Received: by outflank-mailman (input) for mailman id 768990; Wed, 31 Jul 2024 16:36:46 +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 1sZCJi-0001qR-KW for xen-devel@lists.xenproject.org; Wed, 31 Jul 2024 16:36:46 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on20608.outbound.protection.outlook.com [2a01:111:f403:200a::608]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 1288490f-4f5b-11ef-bc01-fd08da9f4363; Wed, 31 Jul 2024 18:36:45 +0200 (CEST) Received: from CH0PR04CA0014.namprd04.prod.outlook.com (2603:10b6:610:76::19) by CH3PR12MB7692.namprd12.prod.outlook.com (2603:10b6:610:145::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Wed, 31 Jul 2024 16:36:40 +0000 Received: from CH2PEPF00000148.namprd02.prod.outlook.com (2603:10b6:610:76:cafe::a5) by CH0PR04CA0014.outlook.office365.com (2603:10b6:610:76::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.34 via Frontend Transport; Wed, 31 Jul 2024 16:36:40 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CH2PEPF00000148.mail.protection.outlook.com (10.167.244.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7828.19 via Frontend Transport; Wed, 31 Jul 2024 16:36:40 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 31 Jul 2024 11:36:40 -0500 Received: from xcbayankuma40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Wed, 31 Jul 2024 11:36:39 -0500 X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 1288490f-4f5b-11ef-bc01-fd08da9f4363 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YicorYbtaks/ukoBzVpqtPHninXMG6ZAUdCNh54vyzUdQHkcKI/iW7wvaUbJVm9yacJDfxlPDU9dKBcpgpr6RUxv0C9tdNnsvEETZbn6zl/bpdwEFscgTNgigbzTbzIAhCSRXMTjre8unRgZsGeC6au6abHZTwQRJgLPcurBfTT2f/kcpiETt++aQQ4HIwoh99ySxD4HucKv+Y3WZEKupy3YKzJf+o4Zm/hdkgk9ZGPfgBP6BOwdecG4TlW7OD32zkWWbCGaK9/+CSOHU9cn54a2ilxm91Lp1glr220GX6zJt3d7meNChHlGRyPYPrOdpF9RXhL+TsIq0Ls2Fsj3dQ== 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=dLp/88EN95cYWxifMrQBqlXRYpvzetOqFDwk8kg/LxI=; b=uIMfox6F4afM157fLYN7W12VtI+cqhbP0ipUDblz7JfcJdwCTeJFq/emUhyawb9bmSHHsIUap7tbNQF8/NRiJz3E6PBgbEHSO9nHBguVKv0F74xFwFRIRkBZCteZ+2lXtdFmYZSMn0uLxsDZgFL6FxgiCx7yDzRFDlobgBeoXb4qZcPKt0fWs23SLnzDvAtpzD2ed8M0rKfierqmz5bT3C1/56W2p46hNKnGb+tXB0MGKLzzZOTb8wifj9OcXuFTeqYRrYpXo6jZ9Huuy92DMqxf+L0j3nX6p0htPvLQBaEFiA+lGbgYSTePM1aT9lY+I96rdekKJ0nFLxDG/gDHFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) 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=dLp/88EN95cYWxifMrQBqlXRYpvzetOqFDwk8kg/LxI=; b=xtIFvuDpodWKp+DJdyEheKqJvbn+BE+vywiK9yX4wcLxJcwpU2ck5ab1e1vvyuIOzMQVWnJID6KHxtU3s1Xs16igUebgTCZnEne74sK9wx9XbpoFmgWEGeTAfqlmR/lhF/qElRG/KMlYv2wnZz+StMmX2RpcnbnoXKmJiyvzdWg= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C From: Ayan Kumar Halder To: , , , , , CC: Subject: [PATCH 1/2] docs: Introduce Fusa Requirement and define maintainers Date: Wed, 31 Jul 2024 17:36:13 +0100 Message-ID: <20240731163614.616162-2-ayan.kumar.halder@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240731163614.616162-1-ayan.kumar.halder@amd.com> References: <20240731163614.616162-1-ayan.kumar.halder@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: None (SATLEXMB03.amd.com: ayan.kumar.halder@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF00000148:EE_|CH3PR12MB7692:EE_ X-MS-Office365-Filtering-Correlation-Id: b2bceec7-1d19-4732-d76a-08dcb17ef499 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?5WIQpQT6fs6caSaOS7X3uOQNsfyggOBkOv82tFRu9rBdeEiNUiQU9AQjAXSd?= =?us-ascii?Q?YrPpRXKeCYmuvVyQGgaJ3dCSEl5pFclWq3r+x9RONuhjBpMVQnrtNMv+4lRL?= =?us-ascii?Q?iNbPl9zTAPpKBnmc7u4bWb161m04KSIjIB8slPQ9Ttd1Jv8ULBUlUzAZkP6O?= =?us-ascii?Q?Qs9VU+dRj9YiokH57V75yn9HZ95pPYjC4CbltNvi9P9LKNZLVJwEj1RnYCBi?= =?us-ascii?Q?oM5AQTyjSgRMeAtkqiDglY1hE9cUvgBwbQdaLeSracs46N7858MVfsPT3SEe?= =?us-ascii?Q?O/c+a4aSCJ0dmOR6UbrV0MTxkgoJ0n1v0BBeub8X6qT1weI1pxbwJ9gXOG63?= =?us-ascii?Q?bdbnrgotfbVgxRrN90V19sN0u/PxU7phZ/1CtlKG7Dt4pSwPp38/xWI4jaal?= =?us-ascii?Q?Lltgw1xHbRLNBLgqWFW4BRALiZszxjlwAZxmFJ0H9DRH3VRyZxi4N4OsozFb?= =?us-ascii?Q?RK4y473T3Ak97Mcy4S+0zCXLOKVbjJmMdl5i9RfLeZQF2UDZiEK+covHsSOe?= =?us-ascii?Q?jZ6XzoUkxBSPinw41RpGYTubYG2SBsqe/LyJnNJF09EoTdWYX6UJhPlmRo4S?= =?us-ascii?Q?MDsSok7IZ3PZgjrC9rTkEBeWIj/ZQcCrB1IrlJU+mRj0psuE1Xno/SshsYmH?= =?us-ascii?Q?VGcO1q4LN/h8VnDUtK7sOzTchj8tPB1x42ld31kKPeOkyYTsR1vHVI0iDhS9?= =?us-ascii?Q?+IuyPSaysNAv9kqmLQKUeL6vpWB19ds309TYcLr48Z9AuMHTGXYzAno369SF?= =?us-ascii?Q?kqNPu0Wh6M/lk9uXOAmtKl9dQ8uYYsXvW3q4qU6RmnXXPCb8NE7IOzbKeSFp?= =?us-ascii?Q?PsTmcERuXioSY9tAXRXxCHsfz35fr/GBxn2fsF1xV850nXmjAU20ymUm+hGT?= =?us-ascii?Q?huvUyQ7X3Cxt5orVIrnaYUPAyWpLWnCNi3EMdfR/iBGrd7sTxP15vN+sMhAs?= =?us-ascii?Q?WeTehfOH1qJWAwZ1h+Wjm4E0q5rugiPSts2d0gaowG6V280YlAPNoSUWdBYE?= =?us-ascii?Q?gHIdbD+TJvT8f6tMrtA9haQEnqY6i1vdcaJQUixKRMDIYs/A2qcSxOGPlRY6?= =?us-ascii?Q?rUL0FVW8F9NL1lL6z//JmGorZ9LMzkqTTwY/k6JjFSs49Ixtk1Narn7WKCJR?= =?us-ascii?Q?niH8uKaSLAFq4VrKHT9xXHeaWoIp6MfF6fAeeJ/Ilm7MTciifYjqsXkRQxKr?= =?us-ascii?Q?kqVmbEJITkGZxf9G9zeadZrYa53LLKUbjT17mXxB3Rh1p/OI4arEESP6MSdj?= =?us-ascii?Q?8P+JHw0USm40lQy7fvqcFmyh2PQGa0yoV+Z+OXoz/mH+17/bw8NSAujb6PqN?= =?us-ascii?Q?JR+9Gr+gDWoa557bsulAIG8o1sqBXNswrdjrK2jG1hskYP0OnogGz6QfgJ1t?= =?us-ascii?Q?RwUFcel6/5GyzwqfqzdijsB1zupggd+iD0SdaGH+pzYzMtOcMQ=3D=3D?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 16:36:40.6705 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b2bceec7-1d19-4732-d76a-08dcb17ef499 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF00000148.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7692 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1722443821138116600 Content-Type: text/plain; charset="utf-8" The FUSA folder is expected to contain requirements and other documents to enable safety certification of Xen hypervisor. Added a README to explain how the requirements are categorized, written and their supported status. Added maintainers for the same. Signed-off-by: Ayan Kumar Halder Acked-by: Bertrand Marquis --- MAINTAINERS | 9 +++++ docs/fusa/reqs/README.md | 75 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 docs/fusa/reqs/README.md diff --git a/MAINTAINERS b/MAINTAINERS index 7c524a8a93..0d328e065c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -314,6 +314,15 @@ F: xen/arch/x86/include/asm/x86_*/efi*.h F: xen/common/efi/ F: xen/include/efi/ =20 +FUSA +M: Stefano Stabellini +M: Bertrand Marquis +M: Michal Orzel +M: Ayan Kumar Halder +M: Artem Mygaiev +S: Supported +F: docs/fusa/ + GDBSX DEBUGGER M: Elena Ufimtseva S: Supported diff --git a/docs/fusa/reqs/README.md b/docs/fusa/reqs/README.md new file mode 100644 index 0000000000..69b8d3a5c8 --- /dev/null +++ b/docs/fusa/reqs/README.md @@ -0,0 +1,75 @@ +This folder contains a set of requirements describing Xen and its implemen= tation +in a form suitable for a safety certification process. +The status is experimental and it is maintained on a best effort basis. + +The requirements writing style is inspired from the ANSI/IEEE guide to Sof= tware +Requirements Standard 830-1984. + +The requirements are categorized as follows :- + +1. Market requirements - They define the high level functionalities of the +hypervisor without going into concepts specific to Xen. Those should allow= a +system architect to understand wether Xen is providing the functionalities= it +needs for its system. This is the top level of the requirements. + +2. Product requirements - They define the Xen specific concepts and interf= aces +provided by Xen without going into implementation details. One or several = of +those requirements are linked to each market requirement. An Architect can= use +them understand how Xen fulfils a market need and design how Xen should be= used +in his system. + +3. Design requirements - They describe what the software implementation is= doing +from a technical point of view. One or several design requirement together +define how product requirements are fulfilled technically and are linked to +them. An implementer can use them to know how to write or understand the X= en +code. + +The requirements are linked using OpenFastTrace +(https://github.com/itsallcode/openfasttrace/blob/main/doc/user_guide.md). +OpenFastTrace parses through the requirements and generates a traceability +report. + +The following is the skeleton for a requirement. + +Title /* Title of the requirement */ +----- + +`unique_tag` +/* + * Each requirement needs to have a unique tag associated. The format is + * req_type~name~revision. + * + * Thus, it consists of three components :- + * requirement type - This denotes the category of requirement. Thus, it s= hall + * be 'XenMkt', 'XenProd' or 'XenSwdgn' to denote market, product or design + * requirement. + * name - This denotes name of the requirement. In case of architecture sp= ecific + * requirements, this starts with the architecture type (ie x86_64, arm64). + * revision number - This gets incremented each time the requirement is mo= dified. + */ + +Description: +This shall describe the requirement in a definitive tone. In other words, +the requirement begins with 'Xen shall ...'. Further, the description is +expected to be unambiguous and consistent. + +Rationale: +This describes a rationale explaining the reason of the presence of the +requirement when this can help the reader. This field can be left blank. + +Comments: +This describes the use cases for the requirement when this can help the +reader. This field can be left blank as well. + +Covers: +This denotes the unique_tag of the parent. This field is non existent for = the +market requirement as it is the top level. + +Needs: +This denotes the requirement type of its children. This field is non exist= ent +for the design requirements as there are no subsequent requirements linked= to +them. + + +The requirements are expected to the technically correct and follow the ab= ove +guidelines. --=20 2.25.1 From nobody Mon Nov 25 16:07:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1722443831; cv=pass; d=zohomail.com; s=zohoarc; b=NEMtwdOSHZG36a/Xe/CecOP/hLyHpEa9Ewuh5dGa+uG2y0dbT+OV00WrF8B8Ejc4c5ohKT8lYWUBp1fWWfk18Tu7pWQw15PxNae7e7WTXOG8F00DI9D1B/lNH+xaxMHkdEF609UoTKy8bVWPJRT3aOpil0MnjEVd6eV2fDC8U/4= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722443831; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=kBXgRjh5xjfF1yHaJmzjGnCzrgVZE3+PjGkwDH+2Dl4=; b=TzJRm/nGb0fehv3VNz2/qsY+MNpfa+/6yzfpxQDPfh9RHNP1I8o10j62UbMrdfDu2Avgn61kYmS+Kt7Zje1w5AEZPBlZfn6/c8l6K+RVgnbZrgSlWZ1as1zsmdTC68NXDO6Uq6KFscWbLUh6cwwwCnQeoQsHjXYXW+YrbSWukTg= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1722443831632916.8823816117806; Wed, 31 Jul 2024 09:37:11 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.768991.1179911 (Exim 4.92) (envelope-from ) id 1sZCJo-0002ZN-Hv; Wed, 31 Jul 2024 16:36:52 +0000 Received: by outflank-mailman (output) from mailman id 768991.1179911; Wed, 31 Jul 2024 16:36:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sZCJo-0002ZF-Ek; Wed, 31 Jul 2024 16:36:52 +0000 Received: by outflank-mailman (input) for mailman id 768991; Wed, 31 Jul 2024 16:36:51 +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 1sZCJm-0001qR-V8 for xen-devel@lists.xenproject.org; Wed, 31 Jul 2024 16:36:51 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on20601.outbound.protection.outlook.com [2a01:111:f403:2415::601]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 150f12a4-4f5b-11ef-bc01-fd08da9f4363; Wed, 31 Jul 2024 18:36:49 +0200 (CEST) Received: from SA9P223CA0018.NAMP223.PROD.OUTLOOK.COM (2603:10b6:806:26::23) by SN7PR12MB8103.namprd12.prod.outlook.com (2603:10b6:806:355::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.21; Wed, 31 Jul 2024 16:36:45 +0000 Received: from SA2PEPF000015C7.namprd03.prod.outlook.com (2603:10b6:806:26:cafe::a2) by SA9P223CA0018.outlook.office365.com (2603:10b6:806:26::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.35 via Frontend Transport; Wed, 31 Jul 2024 16:36:45 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by SA2PEPF000015C7.mail.protection.outlook.com (10.167.241.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7828.19 via Frontend Transport; Wed, 31 Jul 2024 16:36:44 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 31 Jul 2024 11:36:43 -0500 Received: from xcbayankuma40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Wed, 31 Jul 2024 11:36:42 -0500 X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 150f12a4-4f5b-11ef-bc01-fd08da9f4363 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TqyquOu/LGLT1qOOi9KmBSKD8OP+zPLS9CMvXfX98yo2v6OTIpPqZT8oqYxEj/5cgi6ibGueO+O3NUvwanKvCuyB/+sBToRMMw6vzb2PAGyZfOMX31/hGfKy8hhys5d8jiHp30A2rKAxgPdLGsjPWJXypnWNWCwLkQPq3j/qxPMe7UF0cfnx5CnCPMGyFjNJQ5gTlB7M+9QW+C2fT0PLBVlZ1kx74FbywwOZkAJfS6VA8D/ZKD715469CFkR8JmBAixwxYODKrDGtGGkQYjnVI7hDuZMxgoQtDqCK6EajlKRVN8vByIbgPMz0uNMqJnSRa/dIjDLtHaJ2RmuFZxY/g== 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=kBXgRjh5xjfF1yHaJmzjGnCzrgVZE3+PjGkwDH+2Dl4=; b=w93eKxLsIdqjc5BtnXHRcHgo+qzWo2Co1HxuhuMPjZCTJoVXfRhVChwSZMMASOK8fb+wENiKNyqQTIS0yBaYvSRvs1DW6MeMjR0fJ+hCqqEdWsIjCoA6aYFDMC4cMoKrhIJUlny8k/Mb/4Vu1OO7HQ6LKGZHFu+KqS3qvCAYZ8SssQcZJ6QOJGMG9gQPF8RrCIJm+1JRqUL/RiafQvfYmbiBQTE9w9oFfZBr0J4+ENo/vC4SrpPwKKBetRN7NhIpScplF9Ix4o1jkVmlUTlwPcevKOgJVUCg6jmAiNJKe0lW+e9Rxw+rLJvfTxOMPveETDbnTqi8rq2R0pngV5Zrsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) 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=kBXgRjh5xjfF1yHaJmzjGnCzrgVZE3+PjGkwDH+2Dl4=; b=CTWTmMxfJAGDe3iFCSaV/68BF4oRh0KzFPc5rt3CWKCaktaVlvupnJa7ygjyUdf3w6jihN66FkaMuMSFY+TNXenHihBQfCBTXxrEhNWLbF0oEh62D16NWcbrtWmDCzZmeOCxPOyFaJJGj4ttf0KCZTukrEh3uFUhKKA+JKeAuZQ= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C From: Ayan Kumar Halder To: , , , , , CC: Subject: [PATCH 2/2] docs: fusa : reqs: Added a sample of requirements [DO_NOT_MERGE] Date: Wed, 31 Jul 2024 17:36:14 +0100 Message-ID: <20240731163614.616162-3-ayan.kumar.halder@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240731163614.616162-1-ayan.kumar.halder@amd.com> References: <20240731163614.616162-1-ayan.kumar.halder@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: None (SATLEXMB04.amd.com: ayan.kumar.halder@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA2PEPF000015C7:EE_|SN7PR12MB8103:EE_ X-MS-Office365-Filtering-Correlation-Id: ec1766cf-156e-4fde-e843-08dcb17ef6f7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?ODm7aVhC/tFpzc5B12fuWIQrAUmD3AmK+26dqo2sDfZm0nEG2nNQnBrejuKc?= =?us-ascii?Q?3zEgupH+zZ2ZkDpcyoJGFE3Is9RqIJjwz0ugA+xOiRT8aVMQPadJh2fhS4ZQ?= =?us-ascii?Q?xwwq8y5L1MtxeKpkhHbLiVxlugzIp+4C5Y5wQOewzQjV7GP7lJ9kUAXEf3At?= =?us-ascii?Q?IEV3pqvE/cxRY+HQN627n9B51Tt9K4xyt30Q5zwLWXLKZsnPBOUJOrc4RXs6?= =?us-ascii?Q?UBdG9+Nn9zZrvRwNviISPMxnXZdSvaeP+uv5ipm/VFhY6tM+uIke2N9SVW0X?= =?us-ascii?Q?6Mr1QGQz0YjXh9hvOKkRZORJnEFKwPpGrRojpsvVqusXvPpqUDgD4TrSMJAl?= =?us-ascii?Q?R5j+ydttRBqyxvvRgXqzi1IYIM7c0Olfzi/YAd8B9dkzZPtIwrP0QV+geSAf?= =?us-ascii?Q?WDl2h+34bDXVWy0D+raqsddev53UxZMScwIk3R993LjcpJQip8p1aRwl9HaA?= =?us-ascii?Q?FllqcamtGIr+us2drT9QMjT3CyXacVonSgnL7fvQe7jLCoEdimdXLxZGclms?= =?us-ascii?Q?tPNDCrN7v5mU78by5+HW4g+T+anYdN1hgo4aJs/MesK6ZLS25DNKRk5sKFF1?= =?us-ascii?Q?PEyu9g8O0MF+bVjIjXpD1h0gfsGTbk+jXtYYmyA4C6nO/54Uf+y926HurjG+?= =?us-ascii?Q?T47YZ9WX+VCrWMc8I5q4A0rOEBOiK44nnIsWVs3WanTX0DaJcefjUDUoqPMk?= =?us-ascii?Q?qBtF6t3iCApOF6qk0Uh/Gm7DE7NFMfB+YSM3zMlwtkR/WdPELVxaUzVIUTlJ?= =?us-ascii?Q?qcYKiPrUaz9+s56Nio/OPhfor28qtc+n3YUS3YBWUwRy6bjk1sJSg+XsQsVV?= =?us-ascii?Q?J+56ZNfY4/6TViLIEDKeF7zhdhi+a9rhf/fCsPhu/BZBCRM0Vju2UJ4Egv0I?= =?us-ascii?Q?6vqGTAeBxI+sPwxelyq3CXozoeDyoWtMf5Re+5xc/lAmsiYGLecPl4kTSOq2?= =?us-ascii?Q?xKFsJn5kLQj0Wj3JLiIdg1YYTx5zs8TLSY85oOcD4t46JgVAeQhe7sHP39F8?= =?us-ascii?Q?NMcpm74Cevm/NLIkXD+MvpdhaaNe+7ZcjXgCYUtX6CrAu5EKU7B9tzOjgVsd?= =?us-ascii?Q?fwH8nVZcYFkXIcvjsesTfwWcMK8lnx1K5KVDRlHv99UFEmQvhSzmScoFU4k8?= =?us-ascii?Q?d+2m4Xo84PBmwElH+sJCNnTWgWD02DRw+mt3Sw59a5XGShtOOjsczRuaVvWV?= =?us-ascii?Q?9uKEIJfEhJHVXIHGlcHna1J9kvZHxkuJq/S7ZOvBk5QMqkS5yiyXtwUhvh6H?= =?us-ascii?Q?hQgh5wShDZ11KiEQq5plflxiLTSlOA57jM1IK6rVFyTJfD60+RIyw47J/tjX?= =?us-ascii?Q?s73anBCLWQZLXhQIb+pyfWqnt7nLp3WcuhRn7C/G23b0oe5KBdWKRo7uUbq3?= =?us-ascii?Q?8SKH9MuR8FQJtDpE83tr2kYFszTF?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(376014)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 16:36:44.6267 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec1766cf-156e-4fde-e843-08dcb17ef6f7 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SA2PEPF000015C7.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8103 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1722443833124116600 Content-Type: text/plain; charset="utf-8" Added a sample of market, product and design requirements. This is to help explain how we are writing the requirements and understand the context of the first patch. We will be sending these requirements for review in the subsequent patches. Please do not merge this patch. Signed-off-by: Ayan Kumar Halder --- .../reqs/design_reqs/arm64/emulated_uart.rst | 240 ++++++++++++++++++ .../reqs/design_reqs/arm64/generic_timer.rst | 146 +++++++++++ docs/fusa/reqs/design_reqs/xen_version.rst | 207 +++++++++++++++ docs/fusa/reqs/market_reqs/reqs.rst | 77 ++++++ docs/fusa/reqs/product_reqs/reqs.rst | 64 +++++ 5 files changed, 734 insertions(+) create mode 100644 docs/fusa/reqs/design_reqs/arm64/emulated_uart.rst create mode 100644 docs/fusa/reqs/design_reqs/arm64/generic_timer.rst create mode 100644 docs/fusa/reqs/design_reqs/xen_version.rst create mode 100644 docs/fusa/reqs/market_reqs/reqs.rst create mode 100644 docs/fusa/reqs/product_reqs/reqs.rst diff --git a/docs/fusa/reqs/design_reqs/arm64/emulated_uart.rst b/docs/fusa= /reqs/design_reqs/arm64/emulated_uart.rst new file mode 100644 index 0000000000..483db92fa8 --- /dev/null +++ b/docs/fusa/reqs/design_reqs/arm64/emulated_uart.rst @@ -0,0 +1,240 @@ +UART +=3D=3D=3D=3D + +The following are the requirements related to SBSA UART [1] emulated and +exposed by Xen to Arm64 domains. + +Probe the UART device tree node +------------------------------- + +`XenSwdgn~arm64_uart_probe_dt_node~1` + +Description: +Xen shall generate a device tree node for the SBSA UART (in accordance to = Arm +SBSA UART device tree binding [2]) to allow domains to probe it. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Transmit data in software polling mode +-------------------------------------- + +`XenSwdgn~arm64_uart_transmit_data_poll_mode~1` + +Description: +Domain shall transmit data in polling mode (i.e. without involving interru= pts). + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Transmit data in interrupt driven mode +-------------------------------------- + +`XenSwdgn~arm64_uart_transmit_data_irq_mode~1` + +Description: +Domain shall transmit data in interrupt driven mode. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Receive data in software polling mode +------------------------------------- + +`XenSwdgn~arm64_uart_receive_data_polling_mode~1` + +Description: +Domain shall receive data in polling mode (i.e. without involving interrup= ts). + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Receive data in interrupt driven mode +------------------------------------- + +`XenSwdgn~arm64_uart_receive_data_interrupt_driven_mode~1` + +Description: +Domain shall receive data in interrupt driven mode. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Access UART data register +------------------------- + +`XenSwdgn~arm64_uart_access_data_register~1` + +Description: +Domain shall access (read/write) UART data register. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Access UART receive status register +----------------------------------- + +`XenSwdgn~arm64_uart_access_receive_status_register~1` + +Description: +Domain shall access (read/write) UART receive status register. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Access UART flag register +------------------------- + +`XenSwdgn~arm64_uart_access_flag_register~1` + +Description: +Domain shall access (read only) UART flag register. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Access UART mask set/clear register +----------------------------------- + +`XenSwdgn~arm64_uart_access_mask_register~1` + +Description: +Domain shall access (read/write) UART mask set/clear register. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Access UART raw interrupt status register +----------------------------------------- + +`XenSwdgn~arm64_uart_access_raw_interrupt_status_register~1` + +Description: +Domain shall access (read only) UART raw interrupt status register. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Access UART masked interrupt status register +-------------------------------------------- + +`XenSwdgn~arm64_uart_access_mask_irq_status_register~1` + +Description: +Domain shall access (read only) UART masked interrupt status register. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Access UART interrupt clear register +------------------------------------ + +`XenSwdgn~arm64_uart_access_irq_clear_register~1` + +Description: +Domain shall access (write only) UART interrupt clear register. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Receive UART TX interrupt +------------------------- + +`XenSwdgn~arm64_uart_receive_tx_irq~1` + +Description: +Domain shall receive UART TX interrupt + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Receive UART RX interrupt reception +----------------------------------- + +`XenSwdgn~arm64_uart_receive_rx_irq~1` + +Description: +Domain shall receive UART RX interrupt + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +Initial State +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Access UART in an initial (reset) state +--------------------------------------- + +`XenSwdgn~arm64_uart_access_reset_state~1` + +Description: +Domain shall be given the access to the UART in a state, where all registe= rs +hold the reset value according to the specification [3] (only for registers +implemented as part of SBSA UART). + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_uart~1` + +| [1] Arm Base System Architecture, chapter B +| [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/t= ree/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt +| [3] PrimeCell UART (PL011) diff --git a/docs/fusa/reqs/design_reqs/arm64/generic_timer.rst b/docs/fusa= /reqs/design_reqs/arm64/generic_timer.rst new file mode 100644 index 0000000000..00228448a3 --- /dev/null +++ b/docs/fusa/reqs/design_reqs/arm64/generic_timer.rst @@ -0,0 +1,146 @@ +Generic Timer +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +The following are the requirements related to ARM Generic Timer [1] interf= ace +exposed by Xen to Arm64 domains. + +Probe the Generic Timer device tree node from a domain +------------------------------------------------------ + +`XenSwdgn~arm64_probe_generic_timer_dt~1` + +Description: +Xen shall generate a device tree node for the Generic Timer (in accordance= to +ARM architected timer device tree binding [2]) to allow domains to probe i= t. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` + +Read system counter frequency +----------------------------- + +`XenSwdgn~arm64_read_system_counter_freq~1` + +Description: +Domain shall read the frequency of the system counter (either via CNTFRQ_E= L0 +register or "clock-frequency" device tree property if present). + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` + +Access CNTKCTL_EL1 system register from a domain +------------------------------------------------ + +`XenSwdgn~arm64_access_cntkctl_el1_system_register~1` + +Description: +Domain shall access the counter-timer kernel control register to allow +controlling the access to the timer from userspace (EL0). + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` + +Access virtual timer from a domain +---------------------------------- + +`XenSwdgn~arm64_access_virtual_timer~1` + +Description: +Domain shall access and make use of the virtual timer by accessing the fol= lowing +system registers: +CNTVCT_EL0, +CNTV_CTL_EL0, +CNTV_CVAL_EL0, +CNTV_TVAL_EL0. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` + +Access physical timer from a domain +----------------------------------- + +`XenSwdgn~arm64_access_physical_timer~1` + +Description: +Domain shall access and make use of the physical timer by accessing the +following system registers: +CNTPCT_EL0, +CNTP_CTL_EL0, +CNTP_CVAL_EL0, +CNTP_TVAL_EL0. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` + +Trigger the virtual timer interrupt from a domain +------------------------------------------------- + +`XenSwdgn~arm64_trigger_virtual_timer_interrupt~1` + +Description: +Domain shall program the virtual timer to generate the interrupt when the +asserted condition is met. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` + +Trigger the physical timer interrupt from a domain +-------------------------------------------------- + +`XenSwdgn~arm64_trigger_physical_timer_interrupt~1` + +Description: +Domain shall program the physical timer to generate the interrupt when the +asserted condition is met. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` + +Assumption of Use on the Firmware +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D + +Expose system timer frequency +----------------------------- + +`XenSwdgn~arm64_program_cntfrq_el0_or_dt_prop_system_timer_freq~1` + +Description: +Underlying firmware shall program CNTFRQ_EL0 with the system timer frequen= cy. +As an alternative, "clock-frequency" dt property (in the host device tree)= can +also be used to specify the system timer frequency. This helps in case of = buggy +firmware when CNTFRQ_EL0 is programmed incorrectly or not programmed at al= l. + +Rationale: + +Comments: + +Covers: + - `XenProd~emulated_timer~1` diff --git a/docs/fusa/reqs/design_reqs/xen_version.rst b/docs/fusa/reqs/de= sign_reqs/xen_version.rst new file mode 100644 index 0000000000..c5c58bb2df --- /dev/null +++ b/docs/fusa/reqs/design_reqs/xen_version.rst @@ -0,0 +1,207 @@ +Hypercall xen_version +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +The following are the requirements related to __HYPERVISOR_xen_version hyp= ercall +[1] exposed by Xen to Arm64 and AMD64 PVH domains. + +Access hypercall __HYPERVISOR_xen_version for getting xen version +----------------------------------------------------------------- + +`XenSwdgn~access_hyp_xen_version_read_ver~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_version +as a command. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Validate the xen version returned by the XENVER_version command +--------------------------------------------------------------- + +`XenSwdgn~validate_version_hyp_xen_version~1` + +Description: +The xen version returned should correspond to 4.18. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Access hypercall __HYPERVISOR_xen_version for getting xen extraversion +---------------------------------------------------------------------- + +`XenSwdgn~access_hyp_xen_version_get_extraversion~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_extraversion a= s a +command. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Access hypercall __HYPERVISOR_xen_version for getting compile information +------------------------------------------------------------------------- + +`XenSwdgn~access_hyp_xen_version_get_compile_info~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_compile_info a= s a +command. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Access hypercall __HYPERVISOR_xen_version for getting capabilities +------------------------------------------------------------------ + +`XenSwdgn~access_hyp_xen_version_get_capabilities~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_capabilities a= s a +command. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Validate the capabilities returned by XENVER_capabilities command +----------------------------------------------------------------- + +`XenSwdgn~validate_cap_return_xenver_capabilities~1` + +Description: +For Arm64, the capabilities returned should be xen-*-aarch64 string. +For AMD64 PVH, the capabilities returned should be hvm-*-x86_64 string. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Access hypercall __HYPERVISOR_xen_version for getting changeset +--------------------------------------------------------------- + +`XenSwdgn~access_hyp_xen_version_get_changeset~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_changeset +as a command. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Access hypercall __HYPERVISOR_xen_version for getting features +-------------------------------------------------------------- + +`XenSwdgn~access_hyp_xen_version_get_features~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_get_features a= s a +command. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Check supported features returned by the XENVER_get_features command when = the submap index passed is 0 +--------------------------------------------------------------------------= ---------------------------- + +`XenSwdgn~check_supported_features_xenver_get_features~1` + +Description: +For Arm64, the bit position corresponding to the supported features should= be 1. +Examples of Arm64 supported features: + + * XENFEAT_ARM_SMCCC_supported + +For AMD64 PVH, the bit positions corresponding to the supported features s= hould +be 1. +Examples of AMD64 PVH supported features: + + * XENFEAT_memory_op_vnode_supported + * XENFEAT_vcpu_time_phys_area + * XENFEAT_runstate_phys_area + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Access hypercall __HYPERVISOR_xen_version for getting guest handle +------------------------------------------------------------------ + +`XenSwdgn~access_hyp_xen_version_get_guest_handle~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_guest_handle a= s a +command. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Access hypercall __HYPERVISOR_xen_version for getting xen pagesize +------------------------------------------------------------------ + +`XenSwdgn~access_hyp_xen_version_get_xen_pagesize~1` + +Description: +Domain shall access __HYPERVISOR_xen_version passing XENVER_pagesize +as a command and NULL as the guest handle. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +Validate the page size returned by XENVER_pagesize command +---------------------------------------------------------- + +`XenSwdgn~validate_page_size_xenver_pagesize_cmd~1` + +Description: +The returned page size should be 4KB. + +Rationale: + +Comments: + +Covers: + - `XenProd~version_hypercall~1` + +| [1] https://xenbits.xenproject.org/gitweb/?p=3Dxen.git;a=3Dblob;f=3Dxen/= include/public/version.h;hb=3DHEAD diff --git a/docs/fusa/reqs/market_reqs/reqs.rst b/docs/fusa/reqs/market_re= qs/reqs.rst new file mode 100644 index 0000000000..a3f84cd503 --- /dev/null +++ b/docs/fusa/reqs/market_reqs/reqs.rst @@ -0,0 +1,77 @@ +Functional Requirements +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Run Arm64 VMs +------------- + +`XenMkt~run_arm64_vms~1` + +Description: +Xen shall run Arm64 VMs. + +Rationale: + +Comments: + +Needs: + - XenProd + +Run AMD-x86 VMs +--------------- + +`XenMkt~run_x86_vms~1` + +Description: +Xen shall run AMD-x86 VMs. + +Rationale: + +Comments: + +Needs: + - XenProd + +Support non paravirtualised VMs +------------------------------- + +`XenMkt~non_pv_vms_support~1` + +Description: +Xen shall support running guests which are not virtualisation aware. + +Rationale: + +Comments: + +Needs: + - XenProd + +Provide console to the VMs +-------------------------- + +`XenMkt~provide_console_vms~1` + +Description: +Xen shall provide a console to a VM. + +Rationale: + +Comments: + +Needs: + - XenProd + +Provide timer to the VMs +------------------------ + +`XenMkt~provide_timer_vms~1` + +Description: +Xen shall provide a timer to a VM. + +Rationale: + +Comments: + +Needs: + - XenProd diff --git a/docs/fusa/reqs/product_reqs/reqs.rst b/docs/fusa/reqs/product_= reqs/reqs.rst new file mode 100644 index 0000000000..9954b7532a --- /dev/null +++ b/docs/fusa/reqs/product_reqs/reqs.rst @@ -0,0 +1,64 @@ +Domain Creation And Runtime +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D + +Emulated UART +------------- + +`XenProd~emulated_uart~1` + +Description: +Xen shall emulate Arm SBSA UART on behalf of the domains. + +Rationale: + +Comments: +The domains can use it to write/read to/from the console. + +Covers: + - `XenMkt~run_arm64_vms~1` + - `XenMkt~non_pv_vms_support~1` + - `XenMkt~provide_console_vms~1` + +Needs: + - XenSwdgn + +Emulated Timer +-------------- + +`XenProd~emulated_timer~1` + +Description: +Xen shall emulate Arm Generic Timer timer on behalf of domains. + +Rationale: + +Comments: +The domains can use it for e.g. scheduling. + +Covers: + - `XenMkt~run_arm64_vms~1` + - `XenMkt~non_pv_vms_support~1` + - `XenMkt~provide_timer_vms~1` + +Needs: + - XenSwdgn + +Version Hypercall +----------------- + +`XenProd~version_hypercall~1` + +Description: +Xen shall provide an interface to expose Xen version, type and compile +information. + +Rationale: + +Comments: + +Covers: + - `XenMkt~run_arm64_vms~1` + - `XenMkt~run_x86_vms~1` + +Needs: + - XenSwdgn --=20 2.25.1