Re: [RFC PATCH v5 10/45] x86/tdx: Move all TDX error defines into <asm/shared/tdx_errno.h>
From: Dave Hansen
Date: Thu Jan 29 2026 - 13:14:46 EST
On 1/28/26 17:14, Sean Christopherson wrote:
...
> "asm/shared" is used for sharing TDX code between the early compressed
> code and the normal kernel code. While the compressed code for the guest
> doesn't use these error code header definitions today, it does make the
> types of calls that return the values they define. So place the defines in
> "shared" location so that it can, but leave such cleanups for future
> changes.
This is beating around the bush a bit. Should this read:
Place the new header is in "asm/shared". It doesn't need to be
there, but Google's kernel fork has early compressed use of
these things and mainline will too soon.
or what? Can we be more direct, please?