Re: [PATCH v3 12/26] x86/virt/seamldr: Verify availability of slots for TDX Module updates
From: Tony Lindgren
Date: Mon Jan 26 2026 - 05:20:31 EST
On Fri, Jan 23, 2026 at 06:55:20AM -0800, Chao Gao wrote:
> The CPU keeps track of TCB versions for each TDX Module that has been
> loaded. Since this tracking database has finite capacity, there's a maximum
> number of module updates that can be performed. After each successful
> update, the number reduces by one. Once it reaches zero, further updates
> will fail until next reboot.
>
> Before updating the TDX Module, ensure that the limit on TDX Module updates
> has not been exceeded to prevent update failures in a later phase where TDs
> have to be killed.
Reviewed-by: Tony Lindgren <tony.lindgren@xxxxxxxxxxxxxxx>