Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp484440lqp; Wed, 12 Jun 2024 07:30:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjtu4GdI2xURToXBLMkF/CW2S8NvkGq5G0qvhNEGBXA84x6pR8QSuoauy9cb/BMKTbW2YVk2iNRrARAZze1Ne1WujfEgNbDRKVJinZVQ== X-Google-Smtp-Source: AGHT+IGVOWGxNunLG2O8VQHpA/7Q1igf55a3N/NJb/783hqgegtCHXI0MrHjfji9KB/ih6Uo1jNf X-Received: by 2002:a1f:62c4:0:b0:4d8:7a5e:392f with SMTP id 71dfb90a1353d-4ed07bc4a08mr1835507e0c.12.1718202647213; Wed, 12 Jun 2024 07:30:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718202647; cv=pass; d=google.com; s=arc-20160816; b=W4ZnSXYjx4xrl95DUmFsq3wvWxs2cpgANfkB/sa1Y2ohdOML6RibgowwTNG4v/s9cr h8al39hRoXOSyKncgdPlB73BWF+zPMyQ67bmMu8jobgPUdfs24wCRX+JTRNmwhkzYtub 7AFqKm9sX6nYLt4umy3em1ydiqNppm59mZ6Drq3ylzG0TILiy/6gH+KuNl97x2WbKY46 MdAraYghqJw98+hzzuiYOSANvSO0YBMEr0qXkGosoOMJKtcbpzhfFAKZB6ayeaCFj+w3 824w6hoVzeDWBI1gQDZmKUTsyo3G/x+96JS5sqqln7wtaEQrnF6CQ5ZSE3Wm28VU1LtV hlAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=LV3THBchGf1nyX4WaDCE6tNBFycyZa9nRIZ8SRGdEWM=; fh=mNLtlBUAQwbm8Ky0f3Fsz0NyaF6cE13XumtBJ4ed7iQ=; b=rVkybYna+37pWlMykSDpQb9XMT4u8ot63jfNaOZmM6xnENJAfRmvHSuaphrwFkw3/r r9dPUkAQd4mUJLTiuZGto2sSniD2OW1od57ZefkcBtzeGpG2WIqxlCinJ/SU3YW1pHPa lQMQTcRrYBrLz6SD8Ch8ZXJY9ccZnDOyPs6tJaY1N69uUJw8Wk4HPKns4dzRifxlrY9c ZMlUWiQJvuH1gLL1bZf0pev1T++BAhYkenCO0J4YkWlii2xM59bioyBnDuNJ6kodgWZN CBz6oJXlnitM7QSbskWWbMj1j5AJXqf0ESLj9da05rhsV98k6XQPEcTInw7wJArjrMFE BjfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-211670-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 71dfb90a1353d-4eb4ac5a85esi2905925e0c.28.2024.06.12.07.30.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:30:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211670-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; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-211670-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 E75711C2170C for ; Wed, 12 Jun 2024 14:30:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3064316F0CA; Wed, 12 Jun 2024 14:30:39 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD1AF7E8 for ; Wed, 12 Jun 2024 14:30:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718202638; cv=none; b=anNfhgzthHLsojbS0E+OARJEWum5VbLv9KOZ1mBbONFZJ5rRqZmKbHn07vyTmB1NZBtN0mWkRamRFYKon5cMoc3WdN8zvinl33KUw9hRrv7HdTyBO+PYcFGqDAbvbjjhswHF36rsOjw2QLrO/zxteJMBntQ2iO4Cm6QGNGjrl28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718202638; c=relaxed/simple; bh=LV3THBchGf1nyX4WaDCE6tNBFycyZa9nRIZ8SRGdEWM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q5yZZrUrUm2/zwd122Cz2bmNf/tRSbce5WkW0RxroDG3ZN9XQovb6bxZEf2S1T7lDz7684IxK4POe8u5OV3tPaWE5WL8HoZI1qkbkY8oL9BEnmW16qMPQqarOL63JfGmZBgS+kwZB/jC/mTOsQ5jccSQNZVfIO8mKHUYhQZjpL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C17621042; Wed, 12 Jun 2024 07:30:59 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CFB943F64C; Wed, 12 Jun 2024 07:30:31 -0700 (PDT) Date: Wed, 12 Jun 2024 15:30:29 +0100 From: Sudeep Holla To: Sebastian Ene Cc: catalin.marinas@arm.com, james.morse@arm.com, jean-philippe@linaro.org, Sudeep Holla , maz@kernel.org, oliver.upton@linux.dev, qperret@google.com, qwandor@google.com, suzuki.poulose@arm.com, tabba@google.com, will@kernel.org, yuzenghui@huawei.com, lpieralisi@kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v2 2/4] KVM: arm64: Add support for FFA_PARTITION_INFO_GET Message-ID: References: <20240515172258.1680881-1-sebastianene@google.com> <20240515172258.1680881-3-sebastianene@google.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=us-ascii Content-Disposition: inline In-Reply-To: <20240515172258.1680881-3-sebastianene@google.com> On Wed, May 15, 2024 at 05:22:56PM +0000, Sebastian Ene wrote: > Handle the FFA_PARTITION_INFO_GET host call inside the pKVM hypervisor > and copy the response message back to the host buffers. > > Save the returned FF-A version as we will need it later to interpret the > response from the TEE. > I don't understand the context of the above statement and this patch. Did you mean use the saved version to take apt action/decision within FFA_PARTITION_INFO_GET handler. Or is it just missed cleanup ? The change itself looks good. Reviewed-by: Sudeep Holla -- Regards, Sudeep