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 850FDC87FCA for ; Tue, 29 Jul 2025 16:41:17 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From: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=qcxvNQM6vg2mqo1lXls22vnZnYNg+C8s24HejiNGeOc=; b=ECDp3vPOk804TR8bhBzIoof/JU luXFRlOgHr8Uf3T37pGe5t6QqIgNf5W6xrYhGUj3xfzBDkx1C1xPc5j3dmbIryTRCQeUZ0cJPhfPm b0mgaCn6fZG5GhJncNUHLsrygvOQZmXv3eWQc8W/SAW6Y1y7hQG1aSBF2JHye6XeEtdnO0U9w9Igu 7I+FUQjCclJ9jk51SLohpf5e4/0Mdbrwbc5fSkJpkIjh4EMtOtX076W4JYlcb79lDKHIRo2mxeBrP n53RKHxsgImHYq2Nv8F3n9BWz+M5HnfFsqipdpog/mp7QEFmIDG3rBKDf2c5pGz1p0qgVgcSQpqCn D7n7Vh+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ugnO4-0000000HI82-0klk; Tue, 29 Jul 2025 16:41:12 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1ugmZv-0000000HBKC-26do for linux-arm-kernel@lists.infradead.org; Tue, 29 Jul 2025 15:49:24 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D8A4C5C5743; Tue, 29 Jul 2025 15:49:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B592C4CEF7; Tue, 29 Jul 2025 15:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753804162; bh=zGmD3167+YxqSnrktPvUpd/I+LwF4Gpt9JasfT/czbI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UeboxoC0XEFnibrKKHSRwegzcAX9Gg+RhiCj6Haa0TJjlD1BVMkwgmXfrJBtEBnxP zDTnwzuZwLG67Fj/v5t8/XGCpeIf06lg2vk99rSoWwwpeX8S+r8HDkZZ3Rh4m/2s4w vnr5MfuqN1p3Mim9m8fWyeSoioEDjSFx8rIe9TRitumdSkzjdSrxjys1arowqP8Pzg igl4jAsxDXNrViv5axls2jFY+F2z9YU7DEsVUJaHSzRAqzR7Pyg8pWvz9WFyFPMZZ5 cr/07hivBzg8aIMLB0v8GMf77IgZNTMw0/5jcKYsW7/UVKOaynIDfBZhvrZ96j805G nmrlQmXPYUZpA== Date: Tue, 29 Jul 2025 16:49:16 +0100 From: Will Deacon To: perlarsen@google.com Cc: Marc Zyngier , Oliver Upton , Joey Gouly , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Sudeep Holla , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, ahomescu@google.com, armellel@google.com, arve@android.com, ayrton@google.com, qperret@google.com, sebastianene@google.com, qwandor@google.com Subject: Re: [PATCH v8 6/7] KVM: arm64: Bump the supported version of FF-A to 1.2 Message-ID: References: <20250719-virtio-msg-ffa-v8-0-03e8e8dbe856@google.com> <20250719-virtio-msg-ffa-v8-6-03e8e8dbe856@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250719-virtio-msg-ffa-v8-6-03e8e8dbe856@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250729_084923_586206_68413733 X-CRM114-Status: GOOD ( 15.46 ) 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 Sat, Jul 19, 2025 at 02:11:28AM +0000, Per Larsen via B4 Relay wrote: > From: Per Larsen > > FF-A version 1.2 introduces the DIRECT_REQ2 ABI. Bump the FF-A version > preferred by the hypervisor as a precursor to implementing the 1.2-only > FFA_MSG_SEND_DIRECT_REQ2 and FFA_MSG_SEND_RESP2 messaging interfaces. > > Co-developed-by: Ayrton Munoz > Signed-off-by: Ayrton Munoz > Signed-off-by: Per Larsen > --- > arch/arm64/kvm/hyp/nvhe/ffa.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/kvm/hyp/nvhe/ffa.c b/arch/arm64/kvm/hyp/nvhe/ffa.c > index 2cbecc9af5d27a9e7c8497001cf9b0987c72bdb4..f6d964df53c3e21ba85984f35cc7b6859012d1b0 100644 > --- a/arch/arm64/kvm/hyp/nvhe/ffa.c > +++ b/arch/arm64/kvm/hyp/nvhe/ffa.c > @@ -930,7 +930,7 @@ int hyp_ffa_init(void *pages) > > arm_smccc_1_2_smc(&(struct arm_smccc_1_2_regs) { > .a0 = FFA_VERSION, > - .a1 = FFA_VERSION_1_1, > + .a1 = FFA_VERSION_1_2, > }, &res); > if (res.a0 == FFA_RET_NOT_SUPPORTED) > return 0; > @@ -951,10 +951,10 @@ int hyp_ffa_init(void *pages) > if (FFA_MAJOR_VERSION(res.a0) != 1) > return -EOPNOTSUPP; > > - if (FFA_MINOR_VERSION(res.a0) < FFA_MINOR_VERSION(FFA_VERSION_1_1)) > + if (FFA_MINOR_VERSION(res.a0) < FFA_MINOR_VERSION(FFA_VERSION_1_2)) > hyp_ffa_version = res.a0; > else > - hyp_ffa_version = FFA_VERSION_1_1; > + hyp_ffa_version = FFA_VERSION_1_2; Acked-by: Will Deacon Will