Re: [PATCH v5 4/5] x86/tdx: tdx_mcall_get_report0: Return -EBUSY on TDCALL_OPERAND_BUSY error

Dave Hansen
2025-05-01T17:36:22Z

On 4/24/25 13:12, Cedric Xing wrote:
> Return `-EBUSY` from tdx_mcall_get_report0() when `TDG.MR.REPORT` returns
> `TDCALL_OPERAND_BUSY`. This enables the caller to retry obtaining a
> TDREPORT later if another VCPU is extending an RTMR concurrently.
I would appreciate if someone can go back and look at centralizing the
TDX error code => errno conversions. But that doesn't need to happen now.

Acked-by: Dave Hansen <dave.hansen@linux.intel.com>