From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=66.187.233.73; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 11CAD2063D750 for ; Wed, 23 May 2018 13:21:25 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 572A5805A531; Wed, 23 May 2018 20:21:24 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-208.rdu2.redhat.com [10.10.120.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 88BC583B83; Wed, 23 May 2018 20:21:23 +0000 (UTC) From: Laszlo Ersek To: edk2-devel-01 Cc: Ard Biesheuvel , Jordan Justen Date: Wed, 23 May 2018 22:21:14 +0200 Message-Id: <20180523202121.8125-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 23 May 2018 20:21:24 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 23 May 2018 20:21:24 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'lersek@redhat.com' RCPT:'' Subject: [PATCH v2 0/7] OvmfPkg, ArmVirtPkg: add and use PCI(E) Capabilities Library X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 20:21:26 -0000 Repo: https://github.com/lersek/edk2.git Branch: pci_cap_v2 In v2, the new libs are initially introduced under OvmfPkg, rather than MdePkg. v1 was posted at . Cc: Ard Biesheuvel Cc: Jordan Justen Thanks, Laszlo Laszlo Ersek (7): OvmfPkg: introduce PciCapLib OvmfPkg: introduce PciCapPciSegmentLib OvmfPkg: introduce PciCapPciIoLib OvmfPkg: resolve PciCapLib, PciCapPciSegmentLib, PciCapPciIoLib ArmVirtPkg: resolve PciCapLib, PciCapPciSegmentLib, PciCapPciIoLib OvmfPkg/PciHotPlugInitDxe: convert to PciCapLib OvmfPkg/Virtio10Dxe: convert to PciCapLib ArmVirtPkg/ArmVirt.dsc.inc | 3 + OvmfPkg/Include/IndustryStandard/Virtio10.h | 7 +- OvmfPkg/Include/Library/PciCapLib.h | 429 +++++++++ OvmfPkg/Include/Library/PciCapPciIoLib.h | 58 ++ OvmfPkg/Include/Library/PciCapPciSegmentLib.h | 82 ++ OvmfPkg/Library/BasePciCapLib/BasePciCapLib.c | 1007 ++++++++++++++++++++ OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h | 60 ++ OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf | 38 + OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.c | 226 +++++ OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.h | 47 + OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf | 35 + OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.c | 243 +++++ OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.h | 44 + OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf | 36 + OvmfPkg/OvmfPkg.dec | 14 + OvmfPkg/OvmfPkgIa32.dsc | 3 + OvmfPkg/OvmfPkgIa32X64.dsc | 3 + OvmfPkg/OvmfPkgX64.dsc | 3 + OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.c | 267 ++---- OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf | 5 + OvmfPkg/Virtio10Dxe/Virtio10.c | 135 +-- OvmfPkg/Virtio10Dxe/Virtio10.inf | 2 + 22 files changed, 2485 insertions(+), 262 deletions(-) create mode 100644 OvmfPkg/Include/Library/PciCapLib.h create mode 100644 OvmfPkg/Include/Library/PciCapPciIoLib.h create mode 100644 OvmfPkg/Include/Library/PciCapPciSegmentLib.h create mode 100644 OvmfPkg/Library/BasePciCapLib/BasePciCapLib.c create mode 100644 OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h create mode 100644 OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf create mode 100644 OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.c create mode 100644 OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.h create mode 100644 OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf create mode 100644 OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.c create mode 100644 OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.h create mode 100644 OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf -- 2.14.1.3.gb7cf6e02401b