From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 1BD7772612 for ; Fri, 4 Jul 2025 04:58:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751605112; cv=none; b=B4hOvVLmwpw2eCuDYAQsoJuIgA579sOdw5iHj5YwEWp0HXoE/Q0Pl3TiN+RI9N69ZmaOUcy32u8JT4MiPOlcD8y7Hi2TYc7xClKEJdMZMiOxMShBMtBWElWp0neAFnGuU9QT1fXTJmQRSfR8HDSk49UEk4VAMtWrpo/Uzmt7gCU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751605112; c=relaxed/simple; bh=SR78OUN999y80a2xAo+6NpCQXfueXEeGFkK75F8f5CU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dNBIC93IgAqLtdvMEFkj6FkFutVVjxz5A67H3bp4nNZ5aqWYAREk3C39ia8NXbJ553A2gE6yJPl08La5YhSsQf+cPg5DQPrdvEfxKj0JZEHhdlmFmg90iJ2sIz2XBIbG+aQb0zprSOZ8yIu2iO1cPlpgMZ9valBts4URbv2GuCA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fnEWtObe; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fnEWtObe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1751605109; 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=RWA9x7qhxNW2l1p6ltGUfCp8OmCZaJaVxhg1nTkJ0sU=; b=fnEWtObehH10RwroaE+OuBGkZulvKz70hNdLpaMCc60qCerd1fGUrXmuVeVUCl+nm5DEc2 4PLZCJhbAeznXWoAKfm+cY82ikzbaxfj0wcXpp+PLybOa4vaobCzRr8MkRrAD0+Fafx6kX cuyadECvL9xC5iI9HfJ3mlQler8OqB4= Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-616-eX2uy8-LMfWNufShYIwquw-1; Fri, 04 Jul 2025 00:58:25 -0400 X-MC-Unique: eX2uy8-LMfWNufShYIwquw-1 X-Mimecast-MFC-AGG-ID: eX2uy8-LMfWNufShYIwquw_1751605104 Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-7425efba1a3so675607b3a.0 for ; Thu, 03 Jul 2025 21:58:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751605104; x=1752209904; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RWA9x7qhxNW2l1p6ltGUfCp8OmCZaJaVxhg1nTkJ0sU=; b=TV2K/7PNAzOhwX3yDVALyQUWOMayyud4byJs0lqpGccK6B737AHucdprtYZec7MO4G 51t5OwV4GcXIQv23TNu/KGXIrNU6C8mHA9NO67YrS+MWGbQCltIz+FWmaKJSQ84W6R2N ajEQ3QyOpii8B5k0E4E8RusenNcpd1sdHkll9VC+wwN2sIr/QLv3EFucTnu5QQ/40JiH kEnuT6reCE2ZF/WPwAqphyrUWaknsEKe4yqO/cRYq6o2rK+De/avUixsNbYnj6TE2ISR SzNpg+v5e+aIYJKPWPcGx0xcYa24rD969yzeXzdny7EGJLvbAwCOFk0gQp++ELvohR9T uxRQ== X-Forwarded-Encrypted: i=1; AJvYcCVjyjMAiENbfdn/JgFPBU1/tTtds1Ux3RlaIS3EUvWi+exBRFVETAEuBraB79o06jY5bchyu7jDhmUu@lists.linux.dev X-Gm-Message-State: AOJu0YyRsS414cuhA2N2kwSIvSro78kKMjWANGJDKjtXjoLgT2kKg2DZ rpcO626OmvZDg2xrjac4Ul07U4xM1SxqOCISEBBfixfNWWOWjpwjlxwT4CB4iWLdU9bnmkQFu3g ylVf8KcJP5ZDkhhfjOAIrqm/yaQBGikqJi2L2HNrkvEwklZIxwB8NKra8rjsMfCU= X-Gm-Gg: ASbGncsXQQ9Qm/ylXoVcWRHiDdHKtIclB0gCIezgtdmMqf1QquQvsNo12rGUfFmStS6 1XgVUvnsbd+B1tc6cHDjPu/DdAk3abfQtMAnruidVrNPIAAAgmCH6ogN9H7WQ7vo7ta6b4SPZfT czw/347C9DbClYecsWdGpyqExeGemwEKQYCMB849+f5ESSwx9MjzJELESwBouOTMnmHgM3FUTtm ioCAi/fu9eOzamad6HZnahj8W9l+q0BjUHM+J4foFcYPbfa7zoQvDzRkLVNSRQU+5eDJjYcbT4l ipHgaGikECb6x7gFewr5LuWd55i7XJAIEo+vAMz6SYM0DQnVxijJR5UEO91UCQ== X-Received: by 2002:a05:6a00:18a1:b0:749:1e60:bdd with SMTP id d2e1a72fcca58-74ce5f38772mr2112075b3a.2.1751605104448; Thu, 03 Jul 2025 21:58:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHF5wv+DE6Xrth2Z9dMtx7SbYzBfl2e7NF0on99f9M31vN5qmwp6uCO7D9ntAdPIgA97WcR6g== X-Received: by 2002:a05:6a00:18a1:b0:749:1e60:bdd with SMTP id d2e1a72fcca58-74ce5f38772mr2112052b3a.2.1751605103850; Thu, 03 Jul 2025 21:58:23 -0700 (PDT) Received: from [192.168.68.51] (n175-34-62-5.mrk21.qld.optusnet.com.au. [175.34.62.5]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-74ce35cc32fsm1076594b3a.52.2025.07.03.21.58.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Jul 2025 21:58:22 -0700 (PDT) Message-ID: <0ef9c9bf-70df-47fb-976b-acf6bff4ca3a@redhat.com> Date: Fri, 4 Jul 2025 14:58:13 +1000 Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 00/43] arm64: Support for Arm CCA in KVM To: "Emi Kisanuki (Fujitsu)" , 'Steven Price' , "'kvm@vger.kernel.org'" , "'kvmarm@lists.linux.dev'" Cc: 'Catalin Marinas' , 'Marc Zyngier' , 'Will Deacon' , 'James Morse' , 'Oliver Upton' , 'Suzuki K Poulose' , 'Zenghui Yu' , "'linux-arm-kernel@lists.infradead.org'" , "'linux-kernel@vger.kernel.org'" , 'Joey Gouly' , 'Alexandru Elisei' , 'Christoffer Dall' , 'Fuad Tabba' , "'linux-coco@lists.linux.dev'" , 'Ganapatrao Kulkarni' , 'Shanker Donthineni' , 'Alper Gun' , "'Aneesh Kumar K . V'" References: <20250611104844.245235-1-steven.price@arm.com> From: Gavin Shan In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 5hOhOf2uDPVqUYItMgsjZvF4M06pcT8w9bLvJJhzW-8_1751605104 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/25/25 11:51 AM, Emi Kisanuki (Fujitsu) wrote: > We tested this patch in our internal simulator which is a hardware simulator for Fujitsu's next generation CPU known as Monaka. and it produced the expected results. > > I have verified the following > 1. Launching the realm VM using Internal simulator -> Successfully launched by disabling MPAM support in the ID register. > 2. Running kvm-unit-tests (with lkvm) -> All tests passed except for PMU (as expected, since PMU is not supported by the Internal simulator).[1] > > Tested-by: Emi Kisanuki [1] https://gitlab.arm.com/linux-arm/kvm-unit-tests-cca cca/latest > The series looks good to me in my test where the host runs in the environment emulated by QEMU. With below components, the VM can be started, destroyed and simple workloads can be running in the REALM guest. Tested-by: Gavin Shan host.tf-rmm https://git.codelinaro.org/linaro/dcap/rmm.git (cca/v8) host.edk2 git@github.com:tianocore/edk2.git (edk2-stable202411) host.tf-a https://git.codelinaro.org/linaro/dcap/tf-a/trusted-firmware-a.git (cca/v4) host.qemu https://git.qemu.org/git/qemu.git (stable-9.2) host.linux https://git.gitlab.arm.com/linux-arm/linux-cca.git (cca-host/v9) guest.qemu https://git.codelinaro.org/linaro/dcap/qemu.git (cca/latest) guest.kvmtool https://gitlab.arm.com/linux-arm/kvmtool-cca (cca/latest) guest.linux upstream (v6.16.rc2) Thanks, Gavin