[CHERRY-PICK] UefiTestingPkg: Correctly handle cached DMA audit ACPI tables - #941
Merged
Aaron (apop5) merged 1 commit intoSep 15, 2026
Conversation
…oft#938) ## Description Correctly handle cached DMA audit ACPI tables. Fixes microsoft#937 Tests call GetDmarAcpiTable(), but the Intel VT-d and IVRS implementation caches the ACPI table and returns EFI_ALREADY_STARTED on the second call without a reboot. GetAcpiTable() will no longer return already started and will always refresh the pointer with the data. On the caller side, the caching of the global variable is handled so we don't call GetAcpiTable() redundantly. - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Tested on Intel platform and all tests now pass. ## Integration Instructions N/A (cherry picked from commit a8b711b)
Eeshan Londhe (eeshanl)
requested a review
from Michael Kubacki (makubacki)
September 15, 2026 19:55
Aaron (apop5)
approved these changes
Sep 15, 2026
Contributor
⏩ QEMU Validation SkippedValidation was skipped (reason: wrong_target_branch). This comment was automatically generated by the Mu QEMU PR Validation workflow. |
Michael Kubacki (makubacki)
approved these changes
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Cherry-pick a8b711b (#938) into
release/202608. Related issue: #937.Correctly handle cached DMA audit ACPI tables. Fixes #937
Tests call GetDmarAcpiTable(), but the Intel VT-d and IVRS
implementation caches the ACPI table and returns EFI_ALREADY_STARTED on
the second call without a reboot.
GetAcpiTable() will no longer return already started and will always
refresh the pointer with the data. On the caller side, the caching of
the global variable is handled so we don't call GetAcpiTable()
redundantly.
How This Was Tested
Tested on intel platform and all tests now pass.
Integration Instructions
N/A