All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dan Williams (nvidia)" <djbw@kernel.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>,
	 Dan Williams <djbw@kernel.org>,
	 Paolo Bonzini <pbonzini@redhat.com>,
	 "Edgecombe, Rick P" <rick.p.edgecombe@intel.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	 "michael.roth@amd.com" <michael.roth@amd.com>,
	 "Xu, Yilun" <yilun.xu@intel.com>,
	 "Weiny, Ira" <ira.weiny@intel.com>
Subject: Re: PUCK follow up: Trusted IO call details
Date: Thu, 30 Apr 2026 18:29:08 -0700	[thread overview]
Message-ID: <69f401e46ee72_2fadd10073@djbw-dev.notmuch> (raw)
In-Reply-To: <96b0938a2ec7a83c7d2010c6a363e8417749cc27.camel@HansenPartnership.com>

James Bottomley wrote:
> On Thu, 2026-04-16 at 19:37 -0700, Dan Williams wrote:
> > Paolo Bonzini wrote:
> > > On Wed, Apr 15, 2026 at 8:59 PM Edgecombe, Rick P
> > > <rick.p.edgecombe@intel.com> wrote:
> > > > 
> > > > The call I mentioned is officially called: "TAC Subcommittee:
> > > > Linux Kernel Special Interest Group (Linux Kernel-SIG)". This
> > > > seems to be the info:
> > > > https://confidentialcomputing.io/about/committees/#Linux-Kernel-SIG
> > > > 
> > > > Paolo, unfortunately I did remember correctly that it is not an
> > > > EU friendly time.
> > > 
> > > This one is friendly (9AM PST = 6PM CEST). The unfriendly one is
> > > the IOMMUFD one (5AM :)).
> > 
> > There are couple topics at present that would be suitable to raise at
> > the EU-US friendly time. Specifically whether all of the per-arch
> > implementations of "transport large attestation evidence blobs over
> > shared memory from host-to-guest" would be better served with a
> > shared generic transport (simple virtio-pipe / something equivalent
> > for vmbus to publish).
> 
> Sorry to be a bit late to the party, but why invent a new thing
> (virtio-pipe), why not use the existing virtio-vsock (and hyperv-vsock,
> so no new vmbus device is needed)?  If you're thinking it's because you
> need a simple cat into host and out of guest, then you can do that with
> the ncat --vsock utility:

I missed replying to this while I was on break. The problem with
virtio-vsock is that it is built to terminate in guest userspace not in
the kernel. I want to see the same flow for bare metal retrieval of
device attestation blobs as guests, which points to not having a
userspace indirection dependency for the PCI core.

I have also heard concerns of the complexity / availability of vsock
early in the boot flow (firmware?). For that concern a "simple" pipe
protocol, like drivers/virt/coco/tdx_guest implements, pulls the blob
over instead. Except, now we have simple drivers/virt/coco/arm-cca-guest
transport, and simple drivers/virt/coco/sev-guest transport all
duplicating blob retrieval over shared memory with payload size quirks
and bugs.

The problem is about to get worse with TEE I/O because all of these
archs have defined extension blob retrieval interfaces for the new PCI
material. That duplication is not in Linux's long term interest, so a
common "blob transport over shared memory" implementation is the
proposal. virtio has already done the work to handle arbitrary data
transfers, no need to reinvent that wheel. The only hangup is that we
would still need a vmbus filter to feed the same mechanism.

  reply	other threads:[~2026-05-01  1:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15 18:59 PUCK follow up: Trusted IO call details Edgecombe, Rick P
2026-04-16  8:54 ` Xu Yilun
2026-04-16 12:59 ` Paolo Bonzini
2026-04-16 17:31   ` Edgecombe, Rick P
2026-04-17  2:37   ` Dan Williams
2026-04-17 19:51     ` James Bottomley
2026-05-01  1:29       ` Dan Williams (nvidia) [this message]
2026-05-01  3:18         ` James Bottomley

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=69f401e46ee72_2fadd10073@djbw-dev.notmuch \
    --to=djbw@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=ira.weiny@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=michael.roth@amd.com \
    --cc=pbonzini@redhat.com \
    --cc=rick.p.edgecombe@intel.com \
    --cc=yilun.xu@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.