Re: [PATCH v4 03/10] x86/virt/tdx: Convert the features metadata reader
From: Xu Yilun
Date: Wed Oct 14 2026 - 03:47:07 EST
> +static const struct field_mapping features_mappings[] __initconst = {
> + FIELD_MAP(TDX_FIELD_TDX_FEATURES0, features, tdx_features0),
> +};
> +
[...]
> +/* Class "TDX Module Info" */
> +#define TDX_FIELD_TDX_FEATURES0 0x0A00000300000008ULL
mm.. the SPEC defines the class as "TDX Module Info" but Linux defines
it "features". mm.. it's OK, we shouldn't churn the code that use the
features class.
Reviewed-by: Xu Yilun <yilun.xu@xxxxxxxxxxxxxxx>