From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (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 D7C0AECE for ; Fri, 19 Jan 2024 01:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705627639; cv=none; b=LD/xS29TRTLDFDPa/6bIpnwvk6KfFlqWBEzfKX8Hs2GeqvKV974WVtfxYZEsEWhVG609U2UPyJN7+BEgE9DwTH7OYfKJYZ/NvKbvuNSRLkx2wipx/HzUWSOjbEg+T6jbKIvCpNV3sTZH0oM+Yi+LHc+yvxfKNOkPpswZszn9eDc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705627639; c=relaxed/simple; bh=oIs2VoyVo5eys3aTQpEMmJF1mdTuSPVW1ZHPdC2hqxg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g21+1TsWiEGHQCVb+oA3hVDCnQvCQX18z1/qmGsi6PBErscc01j30gU1Ie8Iqg4CD89KdII+AUIw3GZps1TRjXyRABYDx1NeIV7f7ATPwFkCLgnM0jJoc5+LwJhjbRJu/GHryQ4IBTrf264Ou3G3AxBEoZzlIiC7Q9DuEYy5kjo= 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.183 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="aNjOWHXC" 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-coco@lists.linux.dev 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 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5293FC47422 for ; Fri, 19 Jan 2024 01:28:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YMh6N3hH9JjlH29E7l3mEkPCDviVAK2lMYSKnjRO18U=; b=yCA9VmknskfBaB ACQc/d5ZH6k581vMoiNGbaAFEetzOR6xYHhmg7jICqTJMzPtcMCgLVms7i6llzVWLk5Ud142draTU SqWU/tfUcFsln1mb9l8DMp4Jp1nbutkU+e5w+LS3pXSdFQM1Q9ppH5myM//pAcZiL3TkSnQLPOUcH 4DtbDP5Yo4OssYEysncZG2c46mvHdOZXOshvmUq5l6b6b0NNSc8kW4deVx7e6x77GJ3ii6QMrm5Qp NRQuG/FDOdCx5busNS/8Rv6r7ud/QRnzkIsARefQo+SBAEJ/HFrDYXiEDyaHpiNCgsa+3VPRGn718 d96yRO7mOIXad+0pMW5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQdfL-004Dnv-1W; Fri, 19 Jan 2024 01:27:27 +0000 Received: from out-178.mta1.migadu.com ([95.215.58.178]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQdfG-004DnV-36 for linux-arm-kernel@lists.infradead.org; Fri, 19 Jan 2024 01:27:25 +0000 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240118_172723_443334_60C624B2 X-CRM114-Status: GOOD ( 24.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: > > =A0=A0=A0=A0=A0 Where: git@git.gitlab.arm.com:linux-arm/linux-cca.git > > =A0=A0=A0=A0=A0 KVM Support branch: cca-host/rmm-v1.0-eac5 > > =A0=A0=A0=A0=A0 Linux Guest branch: cca-guest/rmm-v1.0-eac5 > > =A0=A0=A0=A0=A0 Full stack branch:=A0 cca-full/rmm-v1.0-eac5 > > = > > [1] kvmtool Repo: > > =A0=A0=A0=A0=A0 Where: git@git.gitlab.arm.com:linux-arm/kvmtool-cca.git > > =A0=A0=A0=A0=A0 Branch: cca/rmm-v1.0-eac5 > > = > > [2] kvm-unit-tests Repo: > > =A0=A0=A0=A0=A0 Where: git@git.gitlab.arm.com:linux-arm/kvm-unit-tests= -cca.git > > =A0=A0=A0=A0=A0 Branch: cca/rmm-v1.0-eac5 > > = > > [3] UEFI Guest firmware: > > =A0=A0=A0=A0=A0 edk2:=A0=A0=A0=A0 https://git.gitlab.arm.com/linux-arm= /edk2-cca.git > > =A0=A0=A0=A0=A0 revision: 2802_arm_cca_rmm-v1.0-eac5 > > = > > =A0=A0=A0=A0=A0 edk2-platforms: > > https://git.gitlab.arm.com/linux-arm/edk2-platforms-cca.git > > =A0=A0=A0=A0=A0 revision:=A0=A0=A0=A0=A0=A0 2802_arm_cca_rmm-v1.0-eac5 > > = > > = > > [4] RMM Repo: > > =A0=A0=A0=A0=A0 Where: https://git.trustedfirmware.org/TF-RMM/tf-rmm.g= it > > =A0=A0=A0=A0=A0 tag : tf-rmm-v0.4.0 > > = > > [5] TF-A repo: > > =A0=A0=A0=A0=A0 Where: https://git.trustedfirmware.org/TF-A/trusted-fi= rmware-a.git > > =A0=A0=A0=A0=A0 Tag: v2.10 > > = > > = > > [6] https://shrinkwrap.docs.arm.com/en/latest/ > > =A0=A0=A0 config: cca-3world.yaml > > = > = > Suzuki > = _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel