[RFC] Support for Arm CCA VMs on Linux

Suzuki K Poulose suzuki.poulose at arm.com
Wed Jan 10 05:44:45 PST 2024


On 10/01/2024 11:41, Suzuki K Poulose wrote:
> Hi Itaru,
> 
> On 10/01/2024 05:40, Itaru Kitayama wrote:
>> On Mon, Oct 02, 2023 at 01:43:11PM +0100, Suzuki K Poulose wrote:
>>> Hi,
>>>
>>>

...

>>
>> Suzuki,
>> Any update to the Arm CCA series (v3?) since last October?
> 
> Yes, we now have a version that supports the final RMM-v1.0
> specification (RMM-v1.0-EAC5). We also have the UEFI EDK2 firmware
> support for Guests in Realm world.
> 
> We are planning to post the changes for review in the v6.8-rc cycle. We
> are trying to integrate the guest_mem support (available in v6.8-rc1) as
> well as reusing some of the arm64 kvm generic interface for configuring
> the Realm parameters (e.g., PMU, SVE_VL etc).
> 
> Here is a version that is missing the items mentioned above, based
> on v6.7-rc4, if anyone would like to try.
> 
> Also, the easiest way to get the components built and model kick started
> is using the shrinkwrap [6] tool, using the cca-3world configuration.
> The tool pulls all the required software components, builds (including
> the buildroot for rootfs) and can run a model using these built
> components.

Also, please see 'arm/run-realm-tests.sh' in the kvm-unit-tests-cca 
repository for sample command lines to invoke kvmtool to create Realm
VMs.


> 
> 
> 
> [0] Linux Repo:
>        Where: git at git.gitlab.arm.com:linux-arm/linux-cca.git
>        KVM Support branch: cca-host/rmm-v1.0-eac5
>        Linux Guest branch: cca-guest/rmm-v1.0-eac5
>        Full stack branch:  cca-full/rmm-v1.0-eac5
> 
> [1] kvmtool Repo:
>        Where: git at git.gitlab.arm.com:linux-arm/kvmtool-cca.git
>        Branch: cca/rmm-v1.0-eac5
> 
> [2] kvm-unit-tests Repo:
>        Where: git at git.gitlab.arm.com:linux-arm/kvm-unit-tests-cca.git
>        Branch: cca/rmm-v1.0-eac5
> 
> [3] UEFI Guest firmware:
>        edk2:     https://git.gitlab.arm.com/linux-arm/edk2-cca.git
>        revision: 2802_arm_cca_rmm-v1.0-eac5
> 
>        edk2-platforms: 
> https://git.gitlab.arm.com/linux-arm/edk2-platforms-cca.git
>        revision:       2802_arm_cca_rmm-v1.0-eac5
> 
> 
> [4] RMM Repo:
>        Where: https://git.trustedfirmware.org/TF-RMM/tf-rmm.git
>        tag : tf-rmm-v0.4.0
> 
> [5] TF-A repo:
>        Where: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
>        Tag: v2.10
> 
> 
> [6] https://shrinkwrap.docs.arm.com/en/latest/
>      config: cca-3world.yaml
> 

Suzuki




More information about the linux-arm-kernel mailing list