Skip to content

Stm option - #318

Open
miczyg1 wants to merge 5 commits into
dasharo-stable202602from
stm_option
Open

miczyg1 wants to merge 5 commits into
dasharo-stable202602from
stm_option

Conversation

@miczyg1

@miczyg1 miczyg1 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

miczyg1 added 2 commits July 1, 2026 12:14
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Pass the arguments in the communication buffer so that the SMI handler
does not need to access arbitrary memory allocated by the SMMSTORE
caller.

It helps to isolate and restrict the memory accessed by SMM when STM
is enabled.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
@miczyg1
miczyg1 requested a review from mkopec August 7, 2026 11:33
benjamindoron and others added 3 commits August 9, 2026 14:35
Squash down of multiple commits:

- UefiPayloadPkg: Implement support for initial bootloader CFR records
- UefiPayloadPkg: Update CFR structs, handlers to match coreboot
- UefiPayloadPkg/CfrSetupMenuDxe: Create an empty line after each form
- UefiPayloadPkg/CfrSetupMenuDxe: Fix parsing of VARCHAR options
- UefiPayloadPkg/CfrSetupMenuDxe: Clean up debug output
- UefiPayloadPkg:CbParseLib: Clean up debug output of CFR forms
- UefiPayloadPkg: CFR fixes and improvements (#28)
- UefiPayloadPkg/CbParseLib: Use CRC32 function compatible with coreboot
- UefiPayloadPkg: Add version number to root CFR struct
- UefiPayloadPkg: Add min/max/step values and hex flag for CFR number opts

Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reserving PCIe MMCONF on Intel systems causes issues with PCI aperture
and causes the PCI drivers to fail, e.g. SATA controller driver cannot
access its BARs, due to PCI memory aperture intersecting with reserved
memory.

Instead of marking the PCIe MMCONF as reserved memory, mark it as
runtime MMIO so that it is passed to OS as reserved in memory map, but
still visible as MMIO to EDK2 PCI driver. Now the EDK2 does not reject
resources, does not indicate intersecting memory ranges, and the PCIe
MMCONF is marked as reserved in the memory map passed to the OS.

TEST=Run "fwts mcfg" command and pass the tests.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants