x86/intel-txt: disable TPR DMA protection once DMA remapping is enabled - #33
Open
accek-itl wants to merge 3 commits into
Open
x86/intel-txt: disable TPR DMA protection once DMA remapping is enabled#33accek-itl wants to merge 3 commits into
accek-itl wants to merge 3 commits into
Conversation
SergiiDmytruk
self-requested a review
July 23, 2026 14:32
SergiiDmytruk
force-pushed
the
tb-staging
branch
from
July 23, 2026 22:41
0d3f70e to
e1fffe3
Compare
SergiiDmytruk
force-pushed
the
tb-staging
branch
from
August 2, 2026 10:53
e1fffe3 to
f73cbcb
Compare
Signed-off-by: Szymon Acedański <accek@invisiblethingslab.com>
Type and field names come from upstream ACPICA (actbl1.h). Signed-off-by: Szymon Acedański <accek@invisiblethingslab.com>
The equivalent of disable_pmr(), but for TPR-based DMA protection. We use SINIT-validated copy of the DTPR ACPI table to locate the relevant registers. Specification: Intel TXT DMA Protection Ranges architecture specification (document #633933) https://uefi.org/sites/default/files/resources/633933_Intel_TXT_DMA_Protection_Ranges_rev_0p73.pdf Tested on ASUS NUC16 (Panther Lake, SINIT ACM 1.21.20): without this patch a DRTM boot has no working NVMe/USB/NIC; with it, devices probe at the same time as on a non-DRTM boot. Fixes: 8ed1f73 ("xen/arch/x86: add TPR (TXT Protected Range) DMA protection support") Signed-off-by: Szymon Acedański <accek@invisiblethingslab.com>
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.
The equivalent of disable_pmr(), but for TPR-based DMA protection.
We use SINIT-validated copy of the DTPR ACPI table to locate
the relevant registers.
Specification:
Intel TXT DMA Protection Ranges architecture specification (document #633933)
https://uefi.org/sites/default/files/resources/633933_Intel_TXT_DMA_Protection_Ranges_rev_0p73.pdf
Tested on ASUS NUC16 (Panther Lake, SINIT ACM 1.21.20): without this
patch a DRTM boot has no working NVMe/USB/NIC; with it, devices probe
at the same time as on a non-DRTM boot.