# Linux kernel to remove unneeded Intel TDX cache flushing code

> **Key takeaway:** Intel TDX hardware handles KeyID transitions without software cache flushing, allowing Linux to remove unnecessary code.

**Published:** 2026-10-18T13:53:24+00:00 
**Source:** Phoronix Benchmarks &amp; Drivers 
**Category:** kernel-os 
**Canonical URL:** https://fosswire.org/news/linux-kernel-to-remove-unneeded-intel-tdx-cache-flushing-cod.html 

## Summary
Intel Trust Domain Extensions (TDX) için Linux kernel'de bekleyen yama serisi, memory KeyID geçişlerinde yapılan gereksiz cache flush işlemlerini kaldırıyor. Intel mühendisi Rick Edgecombe'in açıklamasına göre TDX donanımı bu geçişleri kendisi yönetebiliyor; erken dönemdeki varsayım yanlışmış ve Intel dokümantasyonu da yakında güncellenecek. Kod tabanı sadeleşiyor ancak performans etkisi belirtilmemiş.

## What the TDX cache flush removal changes
- **MKTME KeyID transitions**: Memory pages encrypted with different AES keys via Multi-Key Total Memory Encryption no longer need software-initiated cache flushes when reassigned between Trust Domains
- **Hardware capability**: All finalized TDX silicon from Sapphire Rapids onward handles cache coherency across KeyID changes without VMM assistance
- **Code simplification**: Linux kernel removes VMM-side flush helpers that were architecturally specified but operationally unnecessary
- **Documentation lag**: Intel's architecture manual still specified the flush protocol; correction pending in next documentation revision