Re: [RFC PATCH v10 27/28] docs: Include runfd kernel-doc in the userspace API manual

From: Jarkko Sakkinen

Date: Sun Dec 06 2026 - 00:06:55 EST


On Sun, Dec 06, 2026 at 06:53:17AM +0200, Jarkko Sakkinen wrote:
> On Sat, Dec 05, 2026 at 05:26:32AM +0200, Jarkko Sakkinen wrote:
> > Add a page that pulls in existing kernel-doc and link it from the
> > userspace API index.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
>
> Documentation has been extensively refined:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/plain/Documentation/userspace-api/runfd.rst?h=runfd
>
> It contains a lot of datasheet type of tabular information and lists for
> checking up things, and is actually a useful guide now to navigate all
> of this.
>
> The kdoc inclusions from other subsystems than runfd have been removed
> as a result. Also associated kdocs have been rewritten in the style
> and conventions of the respective subsystems.
>
> The supplemental documentation I added fully supplements it (and more),
> and kdoc-inclusions are only used for runfd API.
>
> I made these changes because documentation was not in par with the
> implementation anymore, and any interleaving between subsystem
> changes should be wiped away as spotted.
>
> The documentation contains detailed information of all phases of the
> container life-cycle and various constraints affecting them.
> There's also code examples.

I chose datasheet/spec style format because it is a checkup list for the
patch set. Something is probably wrong if there is a mismatch between
the written assumptions and implementation, and this parity must be
reached and retained.

Anything written to rst applies only to the version at the Git branch,
at most (as I need to actually check that), and future versions of the
patch set (as a precondition).

Br, Jarkko