RE: [PATCH v2 20/31] x86/virt/tdx: Add a helper to loop on TDX_INTERRUPTED_RESUMABLE

Tian, Kevin
2026-04-24T06:57:36Z

> From: Xu Yilun <yilun.xu@linux.intel.com>
> Sent: Wednesday, April 22, 2026 2:05 PM
>
> On Thu, Apr 09, 2026 at 07:21:48AM +0000, Tian, Kevin wrote:
> > > From: Xu Yilun <yilun.xu@linux.intel.com>
> > > Sent: Saturday, March 28, 2026 12:01 AM
> > >
> > > +static u64 __maybe_unused __seamcall_ir_resched(sc_func_t sc_func,
> u64
> > > fn,
> > > + struct tdx_module_args *args)
> > > +{
> >
> > 'ir' sounds redundant with the trailing 'resched'?
>
> Mm.. I want to 'ir' to reflect the loop-retry is dedicated for
> INTERRUPTED_RESUMABLE in TDX context. When you say not big deal, I
> assume I can keep the naming?
>

that's ok