Add support for 3 TDX subfeatures

Bug #2034908 reported by Khaled El Mously
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-gcp (Ubuntu)
Khaled El Mously
Khaled El Mously

Bug Description

Support is requested for 3 TDX-specific features:

 - Unaccepted memory, aka "lazy memory accept"
 - TDX "Get Quote" - is needed for attestation
 - Marking the TSC as reliable

More information at:

Intel has provided code review for the first 2 and has additionally tested the GetQuote feature.
GCP has tested all three features and confirmed basic functionality and sanity. More testing will follow when the changes are available in -proposed and before feature release.

Regression potential:
Most of the code changes are to the following files:


Most of it is new code which is inside #ifdef CONFIG_UNACCEPTED_MEMORY

There is 1 tree-wide change "mm, treewide: redefine MAX_ORDER sanely" that affects many files and looks scary, but should be safe as it is basically a refactor.

Generally speaking, the code changes here affect early memory initialization on x86 so can impact anything in that area, but realistically should only affect TDX instances (especially ones with >4GB as that is when the unaccepted-memory feature is activated).

no longer affects: kernel-sru-workflow
summary: - Support 3 TDX subfeatures
+ Add support 3 TDX subfeatures
summary: - Add support 3 TDX subfeatures
+ Add support for 3 TDX subfeatures
description: updated
Changed in linux-gcp (Ubuntu):
assignee: nobody → Khaled El Mously (kmously)
Changed in linux-gcp (Ubuntu Lunar):
assignee: nobody → Khaled El Mously (kmously)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.