Hi all, Here are the meeting notes from the second Confidential Compute meeting yesterday. You can find Soby's presentation here <https://lists.corecollective.dev/archives/list/cca-wg@lists.corecollective.dev/message/GN23NTIPYDTNXL3ZLWNYVHQKJAHWEAUF/attachment/4/Arm-TF-RMM-Large-Granule-Design.pdf> . Best regards, Nathalie --- CoreCollective Community Manager Android & WoA working groups (subbing in for Julianus this week) *Attendees* Andreas Färber, SUSE Carlos López, SUSE Dan Handley, Arm Grant Likely, CoreCollective Hajira Zaman, Google Harsha Vardhan V, Qualcomm Lizzie Ni, Arm Nathalie CKC, CoreCollective Soby Mathew, Arm Suzuki Poulose, Arm Venkata Rao Kakani, Qualcomm Quick recap The meeting focused on enabling large granule support in TF-RMM to support hosts with large page sizes, which is a requirement for several vendors including infrastructure vendors. Soby presented the design considerations and challenges, outlining various combinations of guest and host page sizes that need to be supported, including the implications for Stage 1 and Stage 2 page tables in RMM. The discussion covered specific design choices for handling large page sizes, with options to either expand all slot buffers or implement selective expansion, along with necessary changes to data structures, SMMU driver enhancements, and testing requirements. Participants discussed the potential for accelerated development through collaboration, with Red Hat expressing interest in contributing, and the possibility of focusing initially on 64KB page sizes rather than 16KB. The group agreed to continue detailed design discussions in the trusted firmware forums, including tech forum meetings, mailing lists, and Discord channels, with opportunities for code review and testing contributions from other participants. Next steps Dan - (DONE) Include links to the tf.org mailing list, Discord channel, and other relevant links in the meeting minutes. Here they are: - TF-RMM landing page is here: https://www.trustedfirmware.org/projects/tf-rmm - You can subscribe to the mailing list here: https://lists.trustedfirmware.org/mailman3/lists/tf-rmm.lists.trustedfirmwar... - Here's an invite to the TF discord server (channel #tf-rmm): https://discord.com/invite/5PpXhvda5p Lizzie - Contact NVIDIA offline regarding their interest in sharing the attestation topic for a future CoreCollective agenda. Soby - Continue detailed design and collaboration for large granule support in the trusted firmware forums (tech forum meeting, mailing list, and Discord channel). Venkata - Ping Dan/Soby offline if any information is required to test and implement large granule support scenarios on internal platforms. Summary Large Granule TF-RMM Support Discussion The meeting focused on enabling large granule support in TF-RMM to support hosts with large page sizes, which is a requirement for several vendors including infrastructure vendors. Dan sought to understand interest from participants and potential contribution opportunities, noting that Red Hat expressed interest in contributing to the activity in the earlier meeting. Large Page Support Design Preview Soby presented a design preview for large page support in RMM, discussing the challenges and proposed solutions for supporting both 4KB and 64KB page sizes across different components. The presentation covered three main use cases for Stage 1 page tables (low VA, high VA, and EL0 app) and outlined two design choices for implementing large page support, with choice 5 (selective expansion of slot buffers) being preferred due to its lower memory footprint. Soby identified several required changes across RMM components including SMMU driver enhancements, data structure modifications, and software walk helpers, noting that these streams of work could potentially be done in parallel with appropriate interface agreements to avoid blocking. Development Acceleration and Design Collaboration Dan and Soby discussed accelerating development by supporting only 64Kb page sizes instead of 16, though this would reduce testing scenarios but not significantly impact development. They addressed performance concerns about an unproven design, agreeing that real hardware testing would be needed soon. The team decided to continue detailed design collaboration in the trusted firmware forums, including tech meetings, mailing lists, and Discord channels, while tracking progress in the main CCA development forum. Soby emphasized the importance of code and design reviews, as well as feedback on testing across different platforms. Development Progress and Testing Plans The team discussed development progress and testing plans, with Venkata from Qualcomm confirming support for implementing test scenarios on internal platforms while awaiting formal hardware for validation. Soby mentioned the existing Discord channel for TF-RMM discussions, and Hajira (Google) requested links to be included in meeting minutes. The group also noted potential agenda items for future meetings, including NVIDIA's possible discussion on attestation and ongoing discussions about the registration framework.