Re: [PATCH v5 05/22] x86/virt/seamldr: Retrieve P-SEAMLDR information
From: Xiaoyao Li
Date: Wed Mar 18 2026 - 03:55:31 EST
On 3/15/2026 9:58 PM, Chao Gao wrote:
P-SEAMLDR returns its information such as version number, 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.
Retrieve P-SEAMLDR information in preparation for exposing P-SEAMLDR
This patch only implements the function but nowhere calls it. Please adjust the wording and the PATCH subject.
...
+
+/*
+ * This is called the "SEAMLDR_INFO" data structure and is defined
I'm curious why you changed "This called" to "This is called" in this v5. In v4[1] you just used what Dave provided to v3[2]
[1] https://lore.kernel.org/kvm/20260212143606.534586-6-chao.gao@xxxxxxxxx/
[2] https://lore.kernel.org/all/b2e2fd5e-8aff-4eda-a648-9ae9f8234d25@xxxxxxxxx/