Re: [PATCH v10 04/25] x86/virt/tdx: Move TDX_FEATURES0 bits to asm/tdx.h
From: Kiryl Shutsemau
Date: Wed May 27 2026 - 06:56:45 EST
On Wed, May 20, 2026 at 06:38:07AM -0700, Chao Gao wrote:
> Future changes will add support for new TDX features exposed as
> TDX_FEATURES0 bits. The presence of these features will need to be checked
> outside of arch/x86/virt. So the feature query helpers, and the
> TDX_FEATURES0 defines they reference, will need to live in the widely
> accessible asm/tdx.h header. Move the existing TDX_FEATURES0 to asm/tdx.h
> so that they can all be kept together.
>
> Opportunistically switch to BIT_ULL() since TDX_FEATURES0 is 64-bit.
>
> No functional change intended.
I don't have a problem with the patch, but it seems to be colliding with
DPAMT patchset that also moves the define around.
Rick, I assume this patchset going upstream first, right?
--
Kiryl Shutsemau / Kirill A. Shutemov