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 8233E211982F7 for ; Tue, 4 Dec 2018 01:12:39 -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 A6ABF15BE; Tue, 4 Dec 2018 01:12:38 -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 609693F5AF; Tue, 4 Dec 2018 01:12:37 -0800 (PST) From: Vijayenthiran Subramaniam To: edk2-devel@lists.01.org, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Date: Tue, 4 Dec 2018 14:42:21 +0530 Message-Id: <1543914749-8252-1-git-send-email-vijayenthiran.subramaniam@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v1 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: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 X-List-Received-Date: Tue, 04 Dec 2018 09:12:39 -0000 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