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 F3715C27C6E for ; Fri, 14 Jun 2024 13:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=C+lWjjfYcLN5Z/zKjW6DYBE+A1UxbSDa15K3JJ3ocAE=; b=zMxAzZOxGHJv5zw9IQod4AjVcg dWJB8vi0yiMtibhr48LPdNc53Ou0rBoqFlQ5dS1f+APc71TX4DQ5sTDhnGkl4qRvxc/keeAhDJcX/ VyUdYb65L/2He3X+11brgvIMKNExnuOlr6k6OIIAiLc9QETf5NKZStwRhTxzCguw1xqI5bdh1jfT4 MjU1/roBuFz+8psqNQOq7Kb6vYrCKt0Xk3c6tGjtQ56Opqm+M8SAvVuoPRfJljmyPNGzkMtBu9DsC xFRrkNXocfNwmAKEUcxVuvosf3n4p/rO1pCF9WgW4hgtRtdVNpotGWkQI8VJNvAyW/32vzZl8FUqL y0vCchnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI7LN-00000002vSM-0Jhk; Fri, 14 Jun 2024 13:51:53 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI7LJ-00000002vRs-3WKC for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 13:51:51 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 9F3D3CE2AF2; Fri, 14 Jun 2024 13:51:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE47DC2BD10; Fri, 14 Jun 2024 13:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718373106; bh=IwA+nRpW3jBSAzmNE65SNenXWpawXrOy17dsMyzMFzs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Py5qaGQT2Qdyws4LOn1wqQPEZyN7pTTtC/irde5GED1n020PSRGCR7otLCPlfA8Yj WkoMOyTZ3rCF2AcZrNppcskTwlHOtnoxx53r7arw/iAnT9xhX9uLPrzEwPpzZEwKLD zAk68eknRRZ9n/JcVNl5CMRCzYTVOwHuqrNZkQQ2mQgs2BY0CvOm2F1NVEv7TERsWP URuHA8XbGUEmpHXgRbj5PViOqqL+Ez08+ArjA5j/nmwzZAnj2R5TkY2liWNkaBl0WP cuzvLr7sgwXBlRQ5SsBZ4celz97PM/gW7KaLLCA1kF8rEEGUDmfG0ocWgwcKXXDnnj FndaD24rWK8iA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sI7LE-003vmz-RI; Fri, 14 Jun 2024 14:51:44 +0100 Date: Fri, 14 Jun 2024 14:51:44 +0100 Message-ID: <86msnnk4y7.wl-maz@kernel.org> From: Marc Zyngier To: Sebastian Ene Cc: catalin.marinas@arm.com, james.morse@arm.com, jean-philippe@linaro.org, oliver.upton@linux.dev, qperret@google.com, qwandor@google.com, sudeep.holla@arm.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 v3 0/4] KVM: arm64: pKVM host proxy FF-A fixes In-Reply-To: <20240613132035.1070360-1-sebastianene@google.com> References: <20240613132035.1070360-1-sebastianene@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: sebastianene@google.com, catalin.marinas@arm.com, james.morse@arm.com, jean-philippe@linaro.org, oliver.upton@linux.dev, qperret@google.com, qwandor@google.com, sudeep.holla@arm.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 X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_065150_261872_6BA08A73 X-CRM114-Status: GOOD ( 28.21 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 13 Jun 2024 14:20:31 +0100, Sebastian Ene wrote: > > Hello, > > > This series contains some small fixes for the host pKVM proxy code. I included > some of the patches that I already sent on the list as part of this series > to make it easier to keep track of them. > > I verified the functionality with OPTEE as a TEE-OS. > > Changelog: > > v2 -> v3: > > * small fixes on the commit messages > * applied the Review-by tags from Sudeep. Thank you Sudeep ! > > v1 -> v2: > > * applied the feedback received from Will on the FFA_VERSION patch: > The spec requires that no other calls to be issued prior to the FFA > version negotiation and the current change reflects this. After the > version negotiation phase is complete with Trustzone we will just > return the hypervisor version. > > * corrected some mistakes on the FFA_PARTITION_INFO_GET patch: > - don't trim the number of bytes copied from the hypervisor buffer > - introduce FFA_1_0_PARTITON_INFO_SZ definition > - simplify the logic when the input flag is specified > > * collected the Ack from Will and embbeded it in the commit - Thanks Will ! > > > v2: > https://lore.kernel.org/all/20240515172258.1680881-1-sebastianene@google.com/ > > v1: > > * previously posted FFA_PARTITION_INFO_GET patch here: > https://lore.kernel.org/kvmarm/20240411133249.2134696-1-sebastianene@google.com/ > -> minor changes from the previous version, look for the current > ffa_version in the host_buffer structure > > * previously posted "Fix the identification range for the FF-A smcs" here: > https://lore.kernel.org/kvmarm/20240322124303.309423-1-sebastianene@google.com/ > > Thank you, > Sebastian > > Sebastian Ene (4): > KVM: arm64: Trap FFA_VERSION host call in pKVM > KVM: arm64: Add support for FFA_PARTITION_INFO_GET > KVM: arm64: Update the identification range for the FF-A smcs > KVM: arm64: Use FF-A 1.1 with pKVM > > arch/arm64/kvm/hyp/include/nvhe/ffa.h | 2 +- > arch/arm64/kvm/hyp/nvhe/ffa.c | 180 +++++++++++++++++++++----- > include/linux/arm_ffa.h | 3 + > 3 files changed, 152 insertions(+), 33 deletions(-) Although these are labelled as fixes, I don't think they warrant being taken into 6.10. So assuming Oliver will take them into 6.11: Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.