Re: [PATCH v3 08/26] x86/virt/seamldr: Retrieve P-SEAMLDR information

From: Tony Lindgren

Date: Mon Jan 26 2026 - 05:16:04 EST


On Fri, Jan 23, 2026 at 06:55:16AM -0800, Chao Gao wrote:
> P-SEAMLDR returns its information e.g., version and supported features, in
> response to the SEAMLDR.INFO SEAMCALL.
>
> This information is useful for userspace. For example, the admin can decide
> which TDX module versions are compatible with the P-SEAMLDR according to
> the P-SEAMLDR version.
>
> Add and export seamldr_get_info() which retrieves P-SEAMLDR information by
> invoking SEAMLDR.INFO SEAMCALL in preparation for exposing P-SEAMLDR
> version and other necessary information to userspace.

Reviewed-by: Tony Lindgren <tony.lindgren@xxxxxxxxxxxxxxx>