Linux kernel to drop unneeded Intel TDX cache flushing code
Key Takeaway
Intel TDX hardware handles KeyID memory transitions without software cache flushing, allowing Linux to remove the now-unnecessary code.
Summary
Intel Trust Domain Extensions (TDX) için Linux kernel'de bekleyen yama serisi, yazılım tarafından tetiklenen cache flush işlemlerini kaldırıyor. TDX'nin ilk günlerinde bellek KeyID'leri arası geçişlerde donanıma yardımcı olmak için eklenen bu flush kodu, Intel Xeon işlemcilerin aslında bu işlemi kendi başlarına halledebildiği anlaşıldığında gereksiz hale geldi. Intel mühendisi Rick Edgecombe'in gönderdiği yamalar, TDX mimarisinin de düzeltilmesiyle birlikte kernel kodunu basitleştiriyor.
What the TDX cache flush removal changes
- MKTME KeyID transitions: Memory transitions between KeyIDs (used by Multi-Key Total Memory Encryption for per-VM AES keys) were assumed to need software cache flushing
- Hardware capability: All finalized TDX-capable Xeon processors since Emerald Rapids handle these transitions in hardware without software assistance
- Documentation lag: Intel architecture specified VMM-assisted flushing, but this was never removed even after hardware proved capable; docs will be updated in next revision
- Code simplification: Kernel removes the software-driven flush paths that were helping the TDX module perform unnecessary operations
- Performance impact: Patch messages do not quantify any expected performance improvement from eliminating the flushes
Original reference: www.phoronix.com →