Add support for 3 TDX subfeatures

Bug #2034908 reported by Khaled El Mously
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-gcp (Ubuntu)
New
Undecided
Khaled El Mously
Lunar
Won't Fix
Undecided
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: https://canonical.lightning.force.com/lightning/r/Case/5008e00000FTWGcAAP/view

Testing:
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:

arch/x86/coco/tdx
drivers/virt/coco/tdx-guest/tdx-guest.c
mm/memblock.c
mm/memory_hotplug.c
mm/page_alloc.c
mm/vmstat.c

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)
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 23.04 (Lunar Lobster) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux-gcp (Ubuntu Lunar):
status: New → Won't Fix
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.