Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp712280rdb; Thu, 18 Jan 2024 17:27:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFbIAJ9XcQad5o8yqJ1qPfABQuFlvZX4T4z/e5koAakiwtkp7F9CTAG/ylOlisxq+BLHteN X-Received: by 2002:a05:620a:46a7:b0:783:82c3:5ec with SMTP id bq39-20020a05620a46a700b0078382c305ecmr695057qkb.4.1705627647686; Thu, 18 Jan 2024 17:27:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705627647; cv=pass; d=google.com; s=arc-20160816; b=v4KuU0+dZkYPetjHA6l1RmtpmAMRZEXKfq1YX5tMSPkZ7U/F+NqbZT1iifzpsHg+Gu /9S0RoL4Arb0DWj3n+8DXz/V1dDHcWXywSmo6GeldkG7oizkbH0s3n3TKoodpxLkuiFA VctsIVwh9x6HcevhMU/OQDs6U+QWaOYVthPAWUiz55eWpL6B4uRq+EgEeUkn3TJngNHQ 9wQN2QLGMZn21m2Vg+QdqQJbVbX6CsDPLwhcWVc0WVy9dWPbS6lvLtxNXk00qPsyD0+p V3GRtE1dhfunLCIAmkNSGMvlpwWUP5+qhNX6JUvK2WOv/xMRBFCXI2POkfNMNE24z0s5 d0+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature:date; bh=MEAAKdKI2s28mLXSjhbge/t2jcWXL1sSrlOeBNigut8=; fh=pXs9U7bBOOkE2uhMXb7njg5c0cEZSt/BG+iE3WlHyUA=; b=JXjh54fYAaK7lJ6CsL0CbuqOz0UcmbXV0uO/sqa92VeaDEh+Mna0Ib5O1wF7dN8KQD b3kzcxxh2R5b/P26spuIihbyE2k0Zb4TUb3R/mRsspUMLk0wN7NM2kFXUqF58b+I24NR 6ePcE12zG39tTkSApCqieNNRkXuzr6+5IefnXssdw7dmrCQHRO6320K0p7ptNAc8jdRi C6OwlSQbgCuVXIu5BTnPyDBv8DmZ8wbgc3psbWy38JDEHGvuZ+u9Tsq157/AAaBpF25G GpD8bSD23XNkV+wslBjgsWG0md4cNLATXgssmAlae2nInQVXaeX9kV0olVfwLcwcABy1 lCvw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=aNjOWHXC; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-30682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v13-20020a05620a090d00b0077f4e80e131si14973429qkv.692.2024.01.18.17.27.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 17:27:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=aNjOWHXC; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-30682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2ABA21C225EE for ; Fri, 19 Jan 2024 01:27:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B57231367; Fri, 19 Jan 2024 01:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="aNjOWHXC" Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8755ECF for ; Fri, 19 Jan 2024 01:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705627638; cv=none; b=UrDw0xeZ7Mq8GmLqd55Hmqai+LHHKvK+nXmce4Az378KMSY26LWBxf6TZ3WLRup/ahx1tfIJaYjOdt+2XEg/qOAPFi6njgK0khVcppDmKM5AFHVMzfPkRAHvODn8yzYZnB2tZCU9HustRkviY5bcqLhNnNcqTVfbNn4UG9beVvg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705627638; c=relaxed/simple; bh=oIs2VoyVo5eys3aTQpEMmJF1mdTuSPVW1ZHPdC2hqxg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o+p45JiE+M7R3bAKso+Nh5dpTKuQEUwwd2hKWAShD0vFTPXwS1zgO2x3QaZJKoD0gMrfwHuptPqQmK+A1VaVGgOJGV9/Y5cvy7qJEx2TyPtSrcbsaDviijQY9hTpF18YIOvm03sGJrFT8KlOBxGc8ey5CJnaST/d0X+VsHvZ4kM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=aNjOWHXC; arc=none smtp.client-ip=95.215.58.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Fri, 19 Jan 2024 10:26:59 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1705627634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MEAAKdKI2s28mLXSjhbge/t2jcWXL1sSrlOeBNigut8=; b=aNjOWHXCrX/lkwKeCe64ksjMWHQnYhafV7LjxiqaEbtC7Rtq2OswV7y4MAuWj8a0yQmjgh LIHNxMfvUdAjeJ9hG0aTTuYW8VB0blGusdNjdMZYbXrerP2ioa++WAdfAkv3UDD8GsJBKI b0XaHXSc78GqGkDtCfcwHTBTwGgeDlI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Itaru Kitayama To: Suzuki K Poulose Cc: linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.linux.dev, catalin.marinas@arm.com, will@kernel.org, maz@kernel.org, steven.price@arm.com, alexandru.elisei@arm.com, joey.gouly@arm.com, james.morse@arm.com, Jonathan.Cameron@huawei.com, dgilbert@redhat.com, jpb@kernel.org, oliver.upton@linux.dev, zhi.wang.linux@gmail.com, yuzenghui@huawei.com, salil.mehta@huawei.com, Andrew Jones , Chao Peng , Christoffer Dall , Fuad Tabba , Jean-Philippe Brucker , Mark Rutland , Paolo Bonzini , Quentin Perret , Sean Christopherson , Thomas Huth , Ryan Roberts , Sami Mujawar Subject: Re: [RFC] Support for Arm CCA VMs on Linux Message-ID: References: <20230127112248.136810-1-suzuki.poulose@arm.com> <20231002124311.204614-1-suzuki.poulose@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Migadu-Flow: FLOW_OUT On Wed, Jan 10, 2024 at 01:44:45PM +0000, Suzuki K Poulose wrote: > 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. Thank you, Suzuki. I have just run the script above, again in the framework of shrinkwrap on the RevC FVP and the jobs ran fine. I need to go look at the lots of logs. Itaru. > > > > > > > > > > [0] Linux Repo: > > ????? Where: git@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@git.gitlab.arm.com:linux-arm/kvmtool-cca.git > > ????? Branch: cca/rmm-v1.0-eac5 > > > > [2] kvm-unit-tests Repo: > > ????? Where: git@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 >