Re: [PATCH v3 1/9] x86/virt/tdx: Add SEAMCALL wrappers for IOMMU setup/clear

From: Baolu Lu

Date: Sun Nov 22 2026 - 23:04:17 EST


On 11/18/2026 7:02 PM, Binbin Wu wrote:
On 11/12/2026 12:30 PM, Lu Baolu wrote:
[...]

+
+/* No cache flush is needed; hardware keeps caches coherent across KeyIDs. */
Nit:
It's a bit confusing without the all the background.
Once Rick's patch [1] removes tdx_clflush_page() and its comment, a reader may wonder
why this wrapper explains the cache flush but the others don't.

Is it better to drop the comment and explain it in the change log?

[1]https://lore.kernel.org/all/20261015191710.3632302-2- rick.p.edgecombe@xxxxxxxxx/

Agreed and updated.

Thanks,
baolu