From nobody Sat Nov 15 05:15:32 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.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=1755678896; cv=pass; d=zohomail.com; s=zohoarc; b=AKrgYvd+JO1JbtL9hzOjvj6e7ItmtI8D2k+2Gqaox86wepMamYnVG0AbANmExZJWxe+nlQfxhy5LTnYKGzdF7hWPkJrfxmVPaVdnjpJvMTaxRU61FgYa0GkG9J+4So7l2Qth4NbAHyHFCYKKnwhser4HbNsHh4Cgc4gsvHOu9xk= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1755678896; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=jESfvBAOraAJt2LRceG2C04RN42EGPtAsUdh+TC2PJY=; b=CB+8kyqW0YaxrNVmtRTVYqpeTekhQraCsu73JUspHCvo8MxukQlIgQPNN6pFaHGqLVmHeH65GcWbbB8jDRib8pnA5rXzEpNqYyQGqFzjKrSgl+FrSfWujRkdMd4cIaVQZ1eeiJyfzMsz0nuBbyb97u1OxIAVYfNr2TLSIK3zb0g= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 175567889676434.6016451111185; Wed, 20 Aug 2025 01:34:56 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uoeBq-0001A0-6D; Wed, 20 Aug 2025 04:29:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uoeAY-0007Ah-A3; Wed, 20 Aug 2025 04:27:42 -0400 Received: from mail-mw2nam12on2060b.outbound.protection.outlook.com ([2a01:111:f403:200a::60b] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uoeAV-00018g-0E; Wed, 20 Aug 2025 04:27:41 -0400 Received: from MW4PR03CA0111.namprd03.prod.outlook.com (2603:10b6:303:b7::26) by MN2PR12MB4093.namprd12.prod.outlook.com (2603:10b6:208:198::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9052.14; Wed, 20 Aug 2025 08:27:30 +0000 Received: from CO1PEPF000075EE.namprd03.prod.outlook.com (2603:10b6:303:b7:cafe::b8) by MW4PR03CA0111.outlook.office365.com (2603:10b6:303:b7::26) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9052.14 via Frontend Transport; Wed, 20 Aug 2025 08:27:30 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1PEPF000075EE.mail.protection.outlook.com (10.167.249.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9052.8 via Frontend Transport; Wed, 20 Aug 2025 08:27:30 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) 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, 20 Aug 2025 03:27:29 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 20 Aug 2025 03:27:29 -0500 Received: from XFR-LUMICHEL-L2.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, 20 Aug 2025 03:27:27 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tVQ7IlgIFSMVNyST5UvvnReqU/0XWtvJDwynOVNFneXTFd9TsDISic0xrb1RnD+RI7Y/McYQH9CPhb56DiEtWPCi8TL4jqMA4gqU5loeRfHAHjHqIRzZiBGewr2tm38hEZd2dh7ZKpSuKjSmP6CnSJePqtLN3DgWUqmfvr/ymSAUbdU1ZUtq+rUKiPsXd/jEeQYbbo+gb77F2Kp+RrCEM/bWKshXoo4MOKWdGZVPmIFR7AdTWxvbHZFIXtOiXI7mG36xoBiN0fhDkZnxPj+y3nJz9+N+Lf0ABQNtopWed26oDmHZMRCWFX7iyZ4D8PqBU/Jb15wz5BFUsQG3x40hCQ== 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=jESfvBAOraAJt2LRceG2C04RN42EGPtAsUdh+TC2PJY=; b=QaYHqhxQAEscmpplR92wWlQbjDhaytm6NZzR1Wv+7ZTmSPgu7wv44j8U552NS/dQAS3CQc6Q1BGEU3pduOOMfxvysTd8r/yqwYEqK1IWeafGPOVmDWjAPfsaHpxtJYZzvasMiB4/zyrav60xv5zOVlX/xCGF+EwL7KF27T1OnDSYSlUaA+EnlG/Y32Uxtdc/f1oGKJLP5zdhVs4/P6bQi/oxASpAvEQwPKR1XT/r6iTIAofe02KKoTIXnE2vpJk+jyxXHCYnxceh4pLXAOMcqFQckEgsY2m/b4f07qY7JqhwojsfD2o+lDK862sSfgClwPhR00IhXM4kOzKkw3OH6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=nongnu.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=jESfvBAOraAJt2LRceG2C04RN42EGPtAsUdh+TC2PJY=; b=WtCVIwAcDZGw7W8jXe8E6f99nP7xMuYgSZzSacl7cYJe5MHR5O4FA5rH2qC9Qzo4YFnxK9fQtEA0IQAGiYcBVh249qWr2CwES9dd5b+ZwuRC1nE2eDv5psGZwH1FsVDO5oQdD3qxjdf+2Y1J4ivU0BlpmyHkAEIg4tcoMJbLz1Y= 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 gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.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: Luc Michel To: , CC: Luc Michel , Peter Maydell , Francisco Iglesias , "Edgar E . Iglesias" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Alistair Francis , "Frederic Konrad" , Sai Pavan Boddu Subject: [PATCH v2 41/47] hw/arm/xlnx-versal-virt: rename the machine to amd-versal-virt Date: Wed, 20 Aug 2025 10:25:40 +0200 Message-ID: <20250820082549.69724-42-luc.michel@amd.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250820082549.69724-1-luc.michel@amd.com> References: <20250820082549.69724-1-luc.michel@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000075EE:EE_|MN2PR12MB4093:EE_ X-MS-Office365-Filtering-Correlation-Id: 98e94577-30ee-4635-d19e-08dddfc36768 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|376014|82310400026|13003099007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?oVSpUNOxEzGFJY4CUfae74cexqEG/7sfrNnqzKlOvUCS8nBvpcpmkUl8McvQ?= =?us-ascii?Q?6wfKBFxuKoxfzAOshAygSBlG4koosMzjGQq5Of+5t53GwRASkcx4G8nTpgAK?= =?us-ascii?Q?PVT3shqOWuZAmPbyInsmNmaGckObKMs0OmOTDIWEmG8g4DTG9i0ihC7NP4KZ?= =?us-ascii?Q?DXYDzCOXP3VWlEyyzG28sGRCFGHyE4BsPtVv+mALD2PBZ7+c0A361AUerWyA?= =?us-ascii?Q?PyKRrVaSPW4+byuMwQsNE6iyeZfVYYbxMP8nJYNtDf/9YClCpncvJNWr+VvL?= =?us-ascii?Q?dXaZeIOK3yho6/52QHMS/IUYCDtfuMt0ykhozxHyF1t6GJE8xoCF7Mp0+zjl?= =?us-ascii?Q?14Rn/1gKsWN7y1SE3PjKauGbK0XFgSI+in4VUsVsH8D4JLxnod3xSmaYNDUq?= =?us-ascii?Q?Ah+iudwwLDDFL+cNjgAeaw9n3IZhvrG1n/PviXmT5OxdLI/AblbJgMQL3VN+?= =?us-ascii?Q?9GsGwii7HUo3tN9Ui8wBOJDyxK+/67tJkfn+WkYaCjZt7l9+/XKLsLwMCgO/?= =?us-ascii?Q?aU0jPNmEAN6BBKDMUuq0FVnD/z9MMXVdxyFPJFAEsoq+midQmiHe7WE/fqkF?= =?us-ascii?Q?W1QOX7sNobzZ5+L5afMSgtwYbftvLWkCzu3OGKCrddjsVx8ROPYgos09tbSn?= =?us-ascii?Q?O2pP7PWeDhOf6BpfiQIbDd2cwkdogAQ/rchnz92dtyOWnaIJrF8ET/ONJ9OE?= =?us-ascii?Q?V2ZPOK7DCyyoVxTqnMoYIj9lWEQaQFOpEWCESpVMEVAEimFo/CJr87NT4z1Y?= =?us-ascii?Q?PNP6Zk+bvpJ335hjcsgenS+/Y1n0Y0t8rTaWF4WNgoKalSRJQbk6zdjEjEMP?= =?us-ascii?Q?CS8JHxgTD9fj0X98J8E2kGHj1CBRsyjj/uBQEbIpcszmiEO6PU7ZcbZKakcZ?= =?us-ascii?Q?E0Nz9vWVc5OaQSEpPw3u6dAzSG16NUoNUSvDNftXeBwfP+3LfrCQwNadjb+w?= =?us-ascii?Q?EPKO/JAAOEck9P8nhhomO/IYDI3zvLq5Yoy18a0CNQNw7OH686iMa97cQFxQ?= =?us-ascii?Q?L4Suuuo+Li69jET3ELhECm8GNKngZix9RfEACVrd7LDaQEaBuiHk+g64NAxB?= =?us-ascii?Q?UB+QHo8UT3NYt7JendQn96+yZNeWZPfjG4xnXbXRiem04yWO1r1vrbtAhw0G?= =?us-ascii?Q?cOj4LvRGLUk4RnvRTJHh7y1EUB4V6/xMwg8p55vcnnR3VNNrMYOuBuQ6x+y7?= =?us-ascii?Q?l+GEPRNE/Huy6x+lZ7FxHU7mMm6gyBNrCyeCckB6HrKGlGHZkqq26QwdJY0Z?= =?us-ascii?Q?n3A5VN8bxRjoNTmOWLcAG1Q6DVLZ63WBGGB5bxAs7U6E+yLMbmechxlZ1Ckf?= =?us-ascii?Q?jDKiWpxciq1t+Srev8xtQ3ExdIbmZQW9E1wA9vgHsAMwYUuVxIEgWPt7Ernv?= =?us-ascii?Q?XOE+6zObhMwC/UY1Umewi2FRIxHmV/0U3qVDLrfKC0qAeMscBRe2HZSi3mWW?= =?us-ascii?Q?VNX8KrCSDVb0y5sBT+eDo21wxmPRhYe6veZ0EZjF25XDCbFNZ1B/OrfL+jqr?= =?us-ascii?Q?J5J0JGA5IzSN7P5pWZDWUyInOhdidUSC8V7Jdj7zju+8SmvPgw7bNexoAg?= =?us-ascii?Q?=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)(13003099007); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Aug 2025 08:27:30.1672 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 98e94577-30ee-4635-d19e-08dddfc36768 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: CO1PEPF000075EE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4093 Received-SPF: permerror client-ip=2a01:111:f403:200a::60b; envelope-from=Luc.Michel@amd.com; helo=NAM12-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, WEIRD_QUOTING=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1755678899054124100 Content-Type: text/plain; charset="utf-8" To align with current branding and ensure coherency with the upcoming versal2 machine, rename the xlnx-versal-virt machine to amd-versal-virt. Keep an alias of the old name to the new one for command-line backward compatibility. Signed-off-by: Luc Michel Reviewed-by: Francisco Iglesias Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- docs/system/arm/xlnx-versal-virt.rst | 26 +++++++++++++++----------- hw/arm/xlnx-versal-virt.c | 11 +++++++---- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/docs/system/arm/xlnx-versal-virt.rst b/docs/system/arm/xlnx-ve= rsal-virt.rst index c5f35f28e4f..2c63fbf519f 100644 --- a/docs/system/arm/xlnx-versal-virt.rst +++ b/docs/system/arm/xlnx-versal-virt.rst @@ -1,21 +1,25 @@ -Xilinx Versal Virt (``xlnx-versal-virt``) -=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=3D=3D=3D=3D=3D=3D=3D=3D +AMD Versal Virt (``amd-versal-virt``) +=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=3D=3D=3D=3D =20 -Xilinx Versal is a family of heterogeneous multi-core SoCs +AMD Versal is a family of heterogeneous multi-core SoCs (System on Chip) that combine traditional hardened CPUs and I/O peripherals in a Processing System (PS) with runtime programmable FPGA logic (PL) and an Artificial Intelligence Engine (AIE). =20 +QEMU implements the Versal Series variant of Versal SoCs, with the +``amd-versal-virt`` machine. The alias ``xlnx-versal-virt`` is kept for +backward compatibility. + More details here: -https://www.xilinx.com/products/silicon-devices/acap/versal.html +https://www.amd.com/en/products/adaptive-socs-and-fpgas/versal.html =20 The family of Versal SoCs share a single architecture but come in different parts with different speed grades, amounts of PL and other differences. =20 -The Xilinx Versal Virt board in QEMU is a model of a virtual board +The AMD Versal Virt board in QEMU is a model of a virtual board (does not exist in reality) with a virtual Versal SoC without I/O limitations. Currently, we support the following cores and devices: =20 Implemented CPU cores: =20 @@ -72,11 +76,11 @@ A few examples: =20 Direct Linux boot of a generic ARM64 upstream Linux kernel: =20 .. code-block:: bash =20 - $ qemu-system-aarch64 -M xlnx-versal-virt -m 2G \ + $ qemu-system-aarch64 -M amd-versal-virt -m 2G \ -serial mon:stdio -display none \ -kernel arch/arm64/boot/Image \ -nic user -nic user \ -device virtio-rng-device,bus=3Dvirtio-mmio-bus.0 \ -drive if=3Dnone,index=3D0,file=3Dhd0.qcow2,id=3Dhd0,snapshot \ @@ -85,11 +89,11 @@ Direct Linux boot of a generic ARM64 upstream Linux ker= nel: =20 Direct Linux boot of PetaLinux 2019.2: =20 .. code-block:: bash =20 - $ qemu-system-aarch64 -M xlnx-versal-virt -m 2G \ + $ qemu-system-aarch64 -M amd-versal-virt -m 2G \ -serial mon:stdio -display none \ -kernel petalinux-v2019.2/Image \ -append "rdinit=3D/sbin/init console=3DttyAMA0,115200n8 earlycon=3Dp= l011,mmio,0xFF000000,115200n8" \ -net nic,model=3Dcadence_gem,netdev=3Dnet0 -netdev user,id=3Dnet0 \ -device virtio-rng-device,bus=3Dvirtio-mmio-bus.0,rng=3Drng0 \ @@ -98,11 +102,11 @@ Direct Linux boot of PetaLinux 2019.2: Boot PetaLinux 2019.2 via ARM Trusted Firmware (2018.3 because the 2019.2 version of ATF tries to configure the CCI which we don't model) and U-boot: =20 .. code-block:: bash =20 - $ qemu-system-aarch64 -M xlnx-versal-virt -m 2G \ + $ qemu-system-aarch64 -M amd-versal-virt -m 2G \ -serial stdio -display none \ -device loader,file=3Dpetalinux-v2018.3/bl31.elf,cpu-num=3D0 \ -device loader,file=3Dpetalinux-v2019.2/u-boot.elf \ -device loader,addr=3D0x20000000,file=3Dpetalinux-v2019.2/Image \ -nic user -nic user \ @@ -123,11 +127,11 @@ Run the following at the U-Boot prompt: =20 Boot Linux as DOM0 on Xen via U-Boot: =20 .. code-block:: bash =20 - $ qemu-system-aarch64 -M xlnx-versal-virt -m 4G \ + $ qemu-system-aarch64 -M amd-versal-virt -m 4G \ -serial stdio -display none \ -device loader,file=3Dpetalinux-v2019.2/u-boot.elf,cpu-num=3D0 \ -device loader,addr=3D0x30000000,file=3Dlinux/2018-04-24/xen \ -device loader,addr=3D0x40000000,file=3Dpetalinux-v2019.2/Image \ -nic user -nic user \ @@ -151,11 +155,11 @@ Run the following at the U-Boot prompt: =20 Boot Linux as Dom0 on Xen via ARM Trusted Firmware and U-Boot: =20 .. code-block:: bash =20 - $ qemu-system-aarch64 -M xlnx-versal-virt -m 4G \ + $ qemu-system-aarch64 -M amd-versal-virt -m 4G \ -serial stdio -display none \ -device loader,file=3Dpetalinux-v2018.3/bl31.elf,cpu-num=3D0 \ -device loader,file=3Dpetalinux-v2019.2/u-boot.elf \ -device loader,addr=3D0x30000000,file=3Dlinux/2018-04-24/xen \ -device loader,addr=3D0x40000000,file=3Dpetalinux-v2019.2/Image \ @@ -225,11 +229,11 @@ To use a different index value, N, from default of 1,= add: =20 Thus, a file backend should be used with caution, and 'format=3Dluks' is highly recommended (albeit with usage complexity). =20 Better yet, do not use actual product data when running guest image - on this Xilinx Versal Virt board. + on this AMD Versal Virt board. =20 Using CANFDs for Versal Virt """""""""""""""""""""""""""" Versal CANFD controller is developed based on SocketCAN and QEMU CAN bus implementation. Bus connection and socketCAN connection for each CAN module diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index 0f114ade652..4495b20ee1c 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -1,7 +1,7 @@ /* - * Xilinx Versal Virtual board. + * AMD/Xilinx Versal Virtual board. * * Copyright (c) 2018 Xilinx Inc. * Copyright (c) 2025 Advanced Micro Devices, Inc. * Written by Edgar E. Iglesias * @@ -24,11 +24,11 @@ #include "hw/arm/boot.h" #include "target/arm/multiprocessing.h" #include "qom/object.h" #include "target/arm/cpu.h" =20 -#define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt") +#define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("amd-versal-virt") OBJECT_DECLARE_SIMPLE_TYPE(VersalVirt, XLNX_VERSAL_VIRT_MACHINE) =20 #define XLNX_VERSAL_NUM_OSPI_FLASH 4 =20 struct VersalVirt { @@ -53,10 +53,11 @@ struct VersalVirt { }; =20 static void fdt_create(VersalVirt *s) { MachineClass *mc =3D MACHINE_GET_CLASS(s); + const char versal_compat[] =3D "amd-versal-virt\0xlnx-versal-virt"; =20 s->fdt =3D create_device_tree(&s->fdt_size); if (!s->fdt) { error_report("create_device_tree() failed"); exit(1); @@ -70,11 +71,12 @@ static void fdt_create(VersalVirt *s) qemu_fdt_add_subnode(s->fdt, "/chosen"); qemu_fdt_add_subnode(s->fdt, "/aliases"); =20 /* Header */ qemu_fdt_setprop_string(s->fdt, "/", "model", mc->desc); - qemu_fdt_setprop_string(s->fdt, "/", "compatible", "xlnx-versal-virt"); + qemu_fdt_setprop(s->fdt, "/", "compatible", versal_compat, + sizeof(versal_compat)); } =20 static void fdt_add_clk_node(VersalVirt *s, const char *name, unsigned int freq_hz, uint32_t phandle) { @@ -346,11 +348,12 @@ static void versal_virt_machine_finalize(Object *obj) static void versal_virt_machine_class_init(ObjectClass *oc, const void *da= ta) { MachineClass *mc =3D MACHINE_CLASS(oc); int num_cpu =3D versal_get_num_cpu(VERSAL_VER_VERSAL); =20 - mc->desc =3D "Xilinx Versal Virtual development board"; + mc->desc =3D "AMD Versal Virtual development board"; + mc->alias =3D "xlnx-versal-virt"; mc->init =3D versal_virt_init; mc->min_cpus =3D num_cpu; mc->max_cpus =3D num_cpu; mc->default_cpus =3D num_cpu; mc->no_cdrom =3D true; --=20 2.50.1