From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5D0B94C96; Fri, 14 Jun 2024 13:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718373107; cv=none; b=fOzl3vTAV8ouo0F/55uiebvTI40rDw2aYKa04M1s8a5xPujCgrXoacPYUbvCkzd9MTGpfvAOGxkwN9GqYyAJM5RF9Rzns0CmAyiDUjyHiAy3VrWmUALFALFB38wx4nNa47AovNv9MpGWQSUa0mooAvURmiJA8CaXlfJeU9v2cIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718373107; c=relaxed/simple; bh=IwA+nRpW3jBSAzmNE65SNenXWpawXrOy17dsMyzMFzs=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=TwTjb8b2H3w1ZUeB7hT0Xcur/WQceY0i5SkKht/rAz2SyRfi/J3Kv5/N2n5jWsbEulkMPRRlDxSuJxf5pInRijZoxyYJutOqngyA/cncThVxBABRQF99r5lSM0tN29PjaqVy2ApLHZZ3aAm6sycBP4512RmyHQtf1fYXu/e0U3g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Py5qaGQT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Py5qaGQT" 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) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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.