diff options
| author | Qihang Gao <gaoqihang@loongson.cn> | 2026-09-10 12:06:33 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-15 15:53:43 +0300 |
| commit | 5a9c0361e3417d05fe0853a281fff17ec1eb1878 (patch) | |
| tree | 5d6680d7e9a49bf082cbaa50acff1392dc708ae0 /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py | |
| parent | 81d3038813d32f94322226a21bf6f3d291a7d194 (diff) | |
| download | edk2-5a9c0361e3417d05fe0853a281fff17ec1eb1878.tar.xz | |
OvmfPkg/LoongArchVirt: Reduce FPDT boot record exhaustion
The platform may generate a large number of DriverBinding Supported
performance records during BDS device connection. On systems with many
controllers and child handles, repeated ConnectController() processing
can quickly consume the FPDT boot record buffer and trigger:
> DxeCorePerformanceLib: No enough space to save boot records
Increase PcdExtFpdtBootRecordPadSize to provide additional runtime
buffer space for boot performance records generated during DXE/BDS. The
additional space is allocated from system memory for the FPDT boot
record buffer and does not increase flash storage usage.
This increases the extra FPDT boot record pad size from 0x30000 (192
KiB) to 0x100000 (1 MiB).
This change reduces the chance of losing FPDT boot performance records
on platforms with many drivers, controllers, child handles, or repeated
BDS connect operations.
Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
Reported-by: Xiaojie Du <duxiaojie@loongson.cn>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions
