Re: [PATCH v1 1/8] x86/virt/tdx: Stop treating tdx_global_metadata.h as auto-generated

Dave Hansen <[email protected]>
Newsgroups dev.linux.lists.linux-coco,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/5/26 05:06, Chao Gao wrote:
...
> One thing I'd like to confirm: is the concern that the JSON could be wrong
> about what modules actually implement, or just that there's no commitment
> to keep the JSON stable? or both?

Actually, the JSON from what I understand is _quite_ closely tied to the
implementation. It is always "right".

The problem is that the JSON is *too* closely tied. There is no separate
implementation and ABI. The published "ABI" really is just an artifact
of the implementation. It changes as the implementation changes, and
that's not something the kernel can use in practice.

Really "ABI" to TDX means something very different from what it means to
the kernel.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.