public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Migrate BaseCachingPciExpressLib
@ 2022-01-29 16:03 Abner Chang
  2022-01-29 16:03 ` [PATCH v2 1/2] OvmfPkg/BaseCachingPciExpressLib: " Abner Chang
  2022-01-29 16:03 ` [PATCH v2 2/2] OvmfPkg/BaseCachingPciExpressLib: Update BaseCachingPciExpressLib.inf Abner Chang
  0 siblings, 2 replies; 6+ messages in thread
From: Abner Chang @ 2022-01-29 16:03 UTC (permalink / raw)
  To: devel
  Cc: abner.chang, Daniel Schaefer, Sunil V L, Ard Biesheuvel,
	Jiewen Yao, Jordan Justen, Gerd Hoffmann, Leif Lindholm,
	Sami Mujawar

Move BaseCachingPciExpressLib library from ArmVirtPkg to under OvmfPkg.
RISC-V Virt platform can leverage the same library to access PCI Express
registers through PCI Express base address set in PcdPciExpressBaseAddress
and cached in a global variable.

In V2: One patch for movement and ArmVirtPkg DSC file changes.
       The patch [2/2] updates BaseCachingPciExpressLib.inf. Remove the
       dependency with ArmVirtPkg.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>

Abner Chang (2):
  OvmfPkg/BaseCachingPciExpressLib: Migrate BaseCachingPciExpressLib
  OvmfPkg/BaseCachingPciExpressLib: Update BaseCachingPciExpressLib.inf

 ArmVirtPkg/ArmVirt.dsc.inc                                  | 2 +-
 ArmVirtPkg/ArmVirtKvmTool.dsc                               | 6 +++---
 .../BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf   | 4 ++--
 .../Library/BaseCachingPciExpressLib/PciExpressLib.c        | 0
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename {ArmVirtPkg => OvmfPkg}/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf (89%)
 rename {ArmVirtPkg => OvmfPkg}/Library/BaseCachingPciExpressLib/PciExpressLib.c (100%)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-30  3:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-29 16:03 [PATCH v2 0/2] Migrate BaseCachingPciExpressLib Abner Chang
2022-01-29 16:03 ` [PATCH v2 1/2] OvmfPkg/BaseCachingPciExpressLib: " Abner Chang
2022-01-29 18:42   ` [edk2-devel] " Ard Biesheuvel
2022-01-29 16:03 ` [PATCH v2 2/2] OvmfPkg/BaseCachingPciExpressLib: Update BaseCachingPciExpressLib.inf Abner Chang
2022-01-29 17:16   ` [edk2-devel] " Ard Biesheuvel
2022-01-30  3:38     ` Abner Chang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox