Re: [PATCH v2 16/21] x86/virt/seamldr: Handle TDX Module update failures
From: Xu Yilun
Date: Thu Jan 15 2026 - 00:55:11 EST
> static void print_update_failure_message(void)
> @@ -331,7 +323,7 @@ static int do_seamldr_install_module(void *params)
> touch_nmi_watchdog();
> rcu_momentary_eqs();
> }
> - } while (curstate != TDP_DONE);
> + } while (curstate != TDP_DONE && !atomic_read(&tdp_data.failed));
Ah, yes. That's idea of immediate error out I'm thinking of, your
implementation is better.
>
> return ret;
> }
>