public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v5 0/3] UefiPayloadPkg: Runtime MMCONF
@ 2020-08-18  8:24 Marcello Sylvester Bauer
  2020-08-18  8:24 ` [PATCH v5 1/3] UefiPayloadPkg: Store the size of the MMCONF window Marcello Sylvester Bauer
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Marcello Sylvester Bauer @ 2020-08-18  8:24 UTC (permalink / raw)
  To: devel

Support arbitrary platforms with different or even no MMCONF space.
Fixes crash on platforms not exposing 256 buses.

Tested on:
* AMD Stoney Ridge

Branch: https://github.com/9elements/edk2-1/tree/UefiPayloadPkg-MMCONF
PR: https://github.com/tianocore/edk2/pull/885

v5:
* MdePkg
  - support variable size MMCONF in all PciExpressLibs
  - use (UINTX)-1 as return values for invalid Pci addresses

v4:
* MdePkg: undo default PcdPciExpressBaseSize off by one

v3:
* split patch 2 by package
* MdePkg/PciExpress:
  - PciExpressXX add return value specification
  - Undo remove of ASSERT()
  - PcdPciExpressBaseSize() correct function header
  - correct return value types

v2:
* rebased with regards to commit 3900a63e3a1b9ba9a4105bedead7b986188cec2c
* add MdePkg Maintainer

Marcello Sylvester Bauer (2):
  MdePkg: PciExpressLib support variable size MMCONF
  UefiPayloadPkg: Support variable size MMCONF space

Patrick Rudolph (1):
  UefiPayloadPkg: Store the size of the MMCONF window

 MdePkg/MdePkg.dec                                                  |   4 +
 UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc                           |   1 +
 MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf             |   6 +-
 MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf |   1 +
 MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf               |   1 +
 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf                       |   1 +
 MdePkg/Include/Library/PciExpressLib.h                             |   5 +-
 UefiPayloadPkg/Include/Guid/AcpiBoardInfoGuid.h                    |   1 +
 MdePkg/Library/BasePciExpressLib/PciExpressLib.c                   | 216 ++++++++++++++---
 MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c             | 247 ++++++++++++++++----
 MdePkg/Library/SmmPciExpressLib/PciExpressLib.c                    | 218 ++++++++++++++---
 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c                         |   4 +-
 UefiPayloadPkg/BlSupportPei/BlSupportPei.c                         |   3 +
 13 files changed, 593 insertions(+), 115 deletions(-)

-- 
2.28.0


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

end of thread, other threads:[~2020-09-29 12:00 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-18  8:24 [PATCH v5 0/3] UefiPayloadPkg: Runtime MMCONF Marcello Sylvester Bauer
2020-08-18  8:24 ` [PATCH v5 1/3] UefiPayloadPkg: Store the size of the MMCONF window Marcello Sylvester Bauer
2020-08-18  8:24 ` [PATCH v5 2/3] MdePkg: PciExpressLib support variable size MMCONF Marcello Sylvester Bauer
2020-08-20 10:55   ` Liming Gao
2020-08-18  8:24 ` [PATCH v5 3/3] UefiPayloadPkg: Support variable size MMCONF space Marcello Sylvester Bauer
2020-09-08 22:35   ` [edk2-devel] " Guo Dong
2020-09-16  8:56 ` more development process failure [was: UefiPayloadPkg: Runtime MMCONF] Laszlo Ersek
2020-09-16 17:30   ` [edk2-devel] " Guo Dong
2020-09-16 18:14     ` Laszlo Ersek
2020-09-16 21:51       ` Guo Dong
2020-09-17  5:59         ` Laszlo Ersek
2020-09-17  1:49       ` 回复: " gaoliming
2020-09-17  2:31         ` Yao, Jiewen
2020-09-17  6:31           ` Laszlo Ersek
2020-09-17  7:31             ` Yao, Jiewen
2020-09-17 10:26               ` Laszlo Ersek
2020-09-18  4:39             ` Ni, Ray
2020-09-18  7:37               ` Andrew Fish
2020-09-26  0:34                 ` Guo Dong
2020-09-27  1:44                   ` 回复: " gaoliming
2020-09-27 17:29                     ` Guo Dong
2020-09-28 17:55                   ` Laszlo Ersek
2020-09-29  4:13                     ` Guo Dong
2020-09-29 11:59                       ` Laszlo Ersek
2020-09-17  5:56         ` 回复: " Laszlo Ersek
2020-09-21  9:57   ` Marcello Sylvester Bauer
2020-09-22  6:45     ` Laszlo Ersek

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