From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=vijayenthiran.subramaniam@arm.com; receiver=edk2-devel@lists.01.org Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id 9A284211A43DB for ; Fri, 14 Dec 2018 08:59:11 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 02DE3EBD; Fri, 14 Dec 2018 08:59:11 -0800 (PST) Received: from usa.arm.com (a074939-lin.blr.arm.com [10.162.0.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7576E3F59C; Fri, 14 Dec 2018 08:59:09 -0800 (PST) From: Vijayenthiran Subramaniam To: edk2-devel@lists.01.org, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Date: Fri, 14 Dec 2018 22:28:11 +0530 Message-Id: <1544806699-25401-1-git-send-email-vijayenthiran.subramaniam@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v2 edk2-platforms 0/8] Platform/ARM/Sgi: Add support for virtio network device X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 X-List-Received-Date: Fri, 14 Dec 2018 16:59:11 -0000 Changes since v1: - Rebased the series against latest edk2-platforms This patch series adds support for virtio network controller found in ARM SGI plaform's fast models. The first patch in this series restructure the virtio device registration code to allow registration of additional virtio devices. The second patch adds support for the virtio network device. The rest of the patches update the ACPI tables to add an entry for the virtio network device and corresponding PCDs for virtio block and network device. Daniil Egranov (4): Platform/ARM/SgiPkg: Restructure virtio device registration Platform/ARM/SgiPkg: Add support for virtio net device Sgi575: AcpiTables: Use PCDs for virtio disk Sgi575: AcpiTables: Add entry for virtio network device Vijayenthiran Subramaniam (4): SgiClark.Ares: AcpiTables: Use PCDs for virtio disk SgiClark.Ares: AcpiTables: Add entry for virtio network device SgiClark.Helios: AcpiTables: Use PCDs for virtio disk SgiClark.Helios: AcpiTables: Add entry for virtio network device Platform/ARM/SgiPkg/SgiPlatform.dec | 14 ++- Platform/ARM/SgiPkg/SgiPlatform.dsc | 21 +++- Platform/ARM/SgiPkg/SgiPlatform.fdf | 4 + Platform/ARM/SgiPkg/AcpiTables/Sgi575AcpiTables.inf | 7 ++ Platform/ARM/SgiPkg/AcpiTables/SgiClarkAresAcpiTables.inf | 7 ++ Platform/ARM/SgiPkg/AcpiTables/SgiClarkHeliosAcpiTables.inf | 7 ++ Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf | 11 +- Platform/ARM/SgiPkg/Include/Guid/SgiVirtioDevicesFormSet.h | 24 ++++ Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c | 14 +-- Platform/ARM/SgiPkg/Drivers/PlatformDxe/{VirtioBlockIo.c => VirtioDevices.c} | 117 +++++++++++++++----- Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl | 28 ++++- Platform/ARM/SgiPkg/AcpiTables/SgiClarkAres/Dsdt.asl | 29 ++++- Platform/ARM/SgiPkg/AcpiTables/SgiClarkHelios/Dsdt.asl | 28 ++++- 13 files changed, 260 insertions(+), 51 deletions(-) create mode 100644 Platform/ARM/SgiPkg/Include/Guid/SgiVirtioDevicesFormSet.h rename Platform/ARM/SgiPkg/Drivers/PlatformDxe/{VirtioBlockIo.c => VirtioDevices.c} (25%) -- 2.7.4