linux-coco.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Dan Middleton <dan.middleton@linux.intel.com>,
	linux-coco@lists.linux.dev
Subject: Re: RFC: CCC Linux Kernel SIG
Date: Thu, 09 Nov 2023 13:38:57 -0500	[thread overview]
Message-ID: <a6155b6a3a211fa690ef9caa9c2e219dbcfec340.camel@HansenPartnership.com> (raw)
In-Reply-To: <4dcca77e-e6d0-4cd1-9813-6a7ad24ba0e8@linux.intel.com>

On Tue, 2023-11-07 at 19:24 -0600, Dan Middleton wrote:
> One of the technical limitations to the adoption rate for
> Confidential Computing is the speed at which we as a community can
> add features to the Linux kernel. Each vendor has similar needs of
> the kernel but has historically presented significantly different
> ABIs. To  contain complexity and manage maintainability, the Linux
> kernel community tries to prevent proliferation of unnecessarily
> vendor specific ABIs. Often the opportunity for commonality is
> unclear until multiple vendors have proposed separate interfaces [0].

The kernel community would see this as a feature not a bug.  It's very
difficult to appreciate the technical ramifications until you see the
actual code so even though it seems like more work in the beginning it
produces better and faster outcomes in the end.

To give the counter point to your example: each CC implementation had
its own ioctl set.  The proposal unifies it through a configfs
interface, but it's still not clear that the unification covers all the
use cases.  This, though, can be worked through after the acceptance of
the configfs pull request.  Adding ioctls is fairly simple, so there
wasn't really much wasted work before agreement was reached on a
preliminary design for configfs which can now be worked on by everyone.

[...]
> The Linux kernel community has not been a regular part of 
> discussions and the CCC has not been a regular participant on the
> Linux Kernel Mail List (LKML)[1].

Isn't this the current key problem with an obvious solution: the
interested members of the CCC can simply join the lists.  You could
make them do a formalised readout back to the CCC for people who don't
want to be at the kernel list sharp end and establish an action plan
from there if things are perceived to be going wrong.

> The pipeline of activity is expected (but not required) to look like
> this:
> 1. Identify feature need on mailing list or informal forum.
> 2. Exchange community proposals in the SIG.
> 3. Achieve informal consensus in the SIG.
> 
>      a. Author patches and take them to the appropriate community,
> e.g., LKML.

This really isn't the correct workflow for the Kernel.  The kernel
likes to see sketches in code when arguing about ABI and design.

The process really already works like your 1,2,3 with the exception
that 1. begins on the kernel or KVM list.  Trying to achieve consensus
in some other industrial forum and then present the patches to the list
as the unified consensus hasn't really worked out well in the past
(NVMe still has the scars to prove this).

[...]
> In addition to video meetings, the community will use an existing 
> Discord channel for ongoing communication

Just on a personal note: I've had no end of trouble with Discord,
primarily around the verification requirements for my email address
preventing me from getting an account from the single gatekeeper, so it
would be last on my list of useful systems for open conversations.

James


  parent reply	other threads:[~2023-11-09 18:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-08  1:24 RFC: CCC Linux Kernel SIG Dan Middleton
2023-11-09 17:22 ` Carlos Bilbao
2023-11-09 21:05   ` Dan Middleton
2023-11-09 21:17     ` Dionna Amalie Glaze
2023-11-09 21:22     ` James Bottomley
2023-11-09 18:38 ` James Bottomley [this message]
2023-11-09 22:27   ` Dan Middleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a6155b6a3a211fa690ef9caa9c2e219dbcfec340.camel@HansenPartnership.com \
    --to=james.bottomley@hansenpartnership.com \
    --cc=dan.middleton@linux.intel.com \
    --cc=linux-coco@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).