Re: [PATCH v4 02/16] x86/tdx: Add helpers to check return status codes

From: Edgecombe, Rick P
Date: Mon Nov 24 2025 - 14:31:21 EST


On Mon, 2025-11-24 at 16:56 +0800, Binbin Wu wrote:
> > +static inline u64 TDX_STATUS(u64 err)
> > +{
> > + return err & TDX_STATUS_MASK;
> > +}
>
> Should be tagged with __always_inline since it's used in noinstr range.

Nice, catch. Yes both should be done.