Re: [PATCH v5 4/5] x86/tdx: tdx_mcall_get_report0: Return -EBUSY on TDCALL_OPERAND_BUSY error
From: Dave Hansen
Date: Thu May 01 2025 - 13:36:31 EST
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@xxxxxxxxxxxxxxx>