Hi, all!
Here are today's notes from the first meeting. Please let us know if you
spot any errors or important omissions.
Please find slides for presentations attached.
Thanks, & regards,
Julianus Larson
--
CoreCollective Community Manager
Confidential Compute working group
Attended:
Alex Bennée
Youssef Eltoukhy
Andreas Färber
Vincent Guittot
Dan Handley
Paul Howard
Tatsuya Kitamura
Julianus Larson
Grant Likely
Carlos López
Lizzie Ni
Takayuki Okamoto
Lorenzo Pieralisi
Joyce Qi
Chris Schnabel
Shefali Srivastava
Bharath Subramanian
Ryo Tabei
Guangwei Zhou
ARM3-1-Aspen [2]
Kohei Enju
Shefali Kamal
+44 118 *** **80
Next steps
-
[Dan Handley] Share Slides: Post presentation slides on the channel.
-
[Alex Bennée] Investigate CXL: Check CXL 2.1 requirements for device
assignment support, including security state.
-
[The group] Evaluate Funding: Assess company risk associated with QEMU
funding gaps identified by Alex.
-
[Julianus Larson] Collect Feedback: Gather information on QEMU funding
gap interest and risks from members.
-
[ARM3-1-Aspen [2]] Contact Carlos: Reach out to Carlos López regarding
reassessment of Coconut SVSM for ARM CCA implementation.
Details
-
CCA Status Updates (1.0 and 2.0): Dan Handley provided updates on the
CCA status, noting that the Realm guest firmware patches for 1.0 status
have been reworked and split into smaller, more digestible pull requests
for upstream maintainers. Regarding 2.0 status, the only update is that
foundation DA patches have been rebased on a newer version of the spec (1.1
alpha 17) to include new 2.0 baseline support . The plan for the rest of
the current quarter is to integrate the 2.0 baseline support, especially on
the Linux side, to initiate the upstreaming process.
-
Roadmap and Future Focus Areas: The broad theme for the roadmap is to
establish the 2.0 baseline support during the current quarter, focusing on
the Linux side to complete upstreaming work. In Q3, the emphasis will shift
to updating the firmware to catch up with the kernel, as many dependencies
need to be addressed; much of the current functionality is stubbed out or
simplified and requires full implementation. The target is for
kernel-side work to be complete and upstreamed in Q4, which would allow for
integrating features like DA foundation and planes support in early next
year.
-
QEMU Current State for Realms: Alex Bennée presented the current state
of QEMU (sometimes spelled as "Cremeu" in the transcript) with respect to
Realms, noting that system emulation for basic, software-only realms is
available and defended in CI. The support for starting a realm using the
VMM is present for the 1.0 RMM specification, and there is support for
starting realms using KVM tool, which is based on ARM's code. System
emulation support for device assignments, including the needed changes for
SMMEU and KVM tool launching, is also available, though it is currently in
a "hacked up state" and not publicly available.
-
Planned QEMU System Emulation Enhancements: The first planned
enhancement is to properly integrate libSPDM into QEMU to handle
communication between the PCI device and the guest, which requires
extending libSPDM to access the tbit status for proper emulation and DMA
access tagging. Other planned work includes adding support for multiple
devices, refining the SMMU emulation to handle secure PCI data flows, and
resolving discrepancies between SMMU emulation and RMM expectations.
They also plan to add support for QEMU into Shrink Wrap, ARM’s preferred
tool for building firmware bundles, to simplify the process for target
platforms.
-
CCA Shrink Wrap Repository and Configurations: Dan Handley commented
that ARM has created a new CCA Shrink Wrap repository to house multiple CCA
configurations, addressing the need for combinations beyond the latest
version. ARM3-1-Aspen clarified that this separate repository will serve
as a single reference point for stable branches of individual components,
such as DA, planes, and base KVM streams, to make it easier for people to
pick up tested configurations. They agreed that support for QEMU should
definitely be added to this new configuration repository.
-
QEMU Unfunded Platform Development Focus: Development is not currently
planned for the Vert platform, which is currently broken with the latest
RMM changes despite being the principal platform for virtualization and
development. The focus will instead be on fixing issues and making
improvements for the SBSA ref platform, which is designed for firmware
testing in QEMU and functions more like a real machine with a defined
platform. Work needed for the SBSA ref platform includes fixing
regressions between TFA and RMM behavior and adapting SMMU drivers.
-
QEMU as a VMM Status and Unfunded Work: QEMU's role as a VMM currently
supports RMM 1.0 (publicly available) and RMM 2.0 without device
assignment, with patches for the latter in the process of going upstream.
Adding support for device assignment in RMM 2.0 for the VMM is currently
unfunded, and they plan to proceed with it on a best-effort basis depending
on other customer requests. Additional unfunded areas that the working
group could consider supporting include boot sync (for securely passing
attestation data), live migration, and planes support.
-
Discussion on Funding Gaps and Escalation: Grant Likely explained that
the core collective working group should identify gaps, such as the
unfunded QEMU work, and recognize the need for financial solutions beyond
engineering. They proposed that the participants assess if their company
has risks associated with these gaps and if they care about resolving them.
Julianus Larson was assigned as the point person to collect this
information for follow-up conversations on setting up engineering projects
and bringing in funding.
-
Overview of Three Paravirt Solution Approaches: Dan Handley outlined
three in-realm paravirt solutions: Open HCL (Microsoft-sponsored,
heavyweight, targeting Azure), PZ light (lightweight solution solving the
VTPM requirement without the baggage of Open HCL), and Coconut SVSM (richer
paravirt that is currently tied to AMD architecture). The Open HCL
solution is being enabled in a KVM environment for testing the ARM CCA
enablement pieces, and upstreaming to Open HCL is expected soon.
-
PZ Light as an Evolution of Firmware TPM Solution: ARM3-1-Aspen
described PZ light as leveraging the existing firmware TPM (FTPM) solution
used on bare metal systems, where a standalone ML module in the secure
world hosts an FTPM. The PZ light approach uses a higher-privileged
Plane Zero for secure services, including VTPM and variable services,
leveraging an existing Rust-based SPMC and adding paravirt code for plane
management in EL1R. This approach requires an enlightened Linux or UEFI
to be running in Plane One to handle management tasks like I/O, and the
Plane Zero only services requests from the OS rather than managing
scheduling.
-
Re-evaluation of Coconut SVSM for ARM CCA: ARM3-1-Aspen explained that
Coconut SVSM was initially deemed not a good investment of time because it
was closely tied to the AMD SVSM protocol and in heavy development. They
suggested that it may be time to re-evaluate the status of Coconut SVSM and
gauge interest from the group for possible collaboration. Carlos López
confirmed that the project is governed by a technical steering committee
with members from AMD, Intel, Microsoft, and Red Hat and that there is
active TDX code to support it.
-
KVM Planes Architecture and CCA Differences: The KVM planes architecture
provides a useful framework on the host side for managing different memory
permissions, which could benefit CCA planes implementation. ARM3-1-Aspen
noted a fundamental difference, as the CCA approach keeps plane switching
within the realm world without KVM awareness, unlike the AMD architecture.
Carlos López encouraged feedback from the ARM side on the next version of
KVM planes patches to ensure the solution can converge.
-
Logistics and Scheduling Updates: Julianus Larson announced that the
next meeting in two weeks is cancelled due to bank holidays in the UK and a
US holiday, meaning they will not meet again for four weeks. Future
meetings will use Zoom. Julianus Larson also confirmed that a private group
has been created for sharing confidential information like roadmaps, and
they requested that this information not be shared publicly outside of
participants' organizations.