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=thomas.abraham@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 62CB7210C0F5A for ; Mon, 23 Jul 2018 08:48:57 -0700 (PDT) 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 1FA4780D; Mon, 23 Jul 2018 08:48:57 -0700 (PDT) Received: from usa.arm.com (a74716-lin.blr.arm.com [10.162.4.145]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8C5753F237; Mon, 23 Jul 2018 08:48:55 -0700 (PDT) From: Thomas Abraham To: edk2-devel@lists.01.org Date: Mon, 23 Jul 2018 21:18:41 +0530 Message-Id: <1532360922-9556-4-git-send-email-thomas.abraham@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532360922-9556-1-git-send-email-thomas.abraham@arm.com> References: <1532360922-9556-1-git-send-email-thomas.abraham@arm.com> Subject: [PATCH edk2-platforms 3/4] Platform/ARM/Sgi: Add ACPI description of virtio block device X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2018 15:48:57 -0000 From: Daniil Egranov SGI platforms include an instance of the virtio block device. So add a representation for it in the ACPI tables. Change-Id: I66cd70cd9ad0c7659e0e27335e99fd4544cecf12 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Daniil Egranov --- Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl b/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl index c5b662d..3e1068d 100644 --- a/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl +++ b/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl @@ -96,4 +96,16 @@ DefinitionBlock("DsdtTable.aml", "DSDT", 1, "ARMLTD", "SGI575", EFI_ACPI_ARM_OEM }) } } // Scope(_SB) + + // VIRTIO DISK + Device (VR00) { + Name (_HID, "LNRO0005") + Name (_UID, 0) + Name (_CCA, 1) // mark the device coherent + + Name (_CRS, ResourceTemplate() { + Memory32Fixed (ReadWrite, 0x1c130000, 0x10000) + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { 202 } + }) + } } -- 2.7.4