From nobody Tue Feb 10 06:26:53 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68772+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68772+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1607957099; cv=none; d=zohomail.com; s=zohoarc; b=VMY85KtDhmmHmtcmUUohO6Dts/8U4wy8H6E/vL94tmlRJDpM/0P5ilruyW1mAYK3t1UeiZo9VAcZIZfH5kqsyliOqhxqFCI7o91K5KqxOSjMNBmGvUyK1cHUrnNQDg9Q8k8sHxFWBenuqTnGRH/tsFZCLTkO7jT3W5Pxg7X/2Eo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607957099; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=qxMH5mffiMn6HpOdwZdDpX5RtGqQNbnTVSFrC/f4rb0=; b=DXU22azWO13qGxDSljQZsXKyIf3MvPv3bdo9RtnVIWtdLGwC31IZV1LuceFERKDqvSUpXYyks9g42d6QwobJHCD7svMRmZL/1Ifd0BhLsXwpJJiJLIlZZgW+6czGUbLJ+EGgSNDldQwYkwsW9wv2dR3Fktlusl+tmG37zoGPCDQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68772+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1607957099802992.4669373149262; Mon, 14 Dec 2020 06:44:59 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id c633YY1788612xz6ug2dpt1y; Mon, 14 Dec 2020 06:44:54 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.35676.1607956963544955592 for ; Mon, 14 Dec 2020 06:42:43 -0800 X-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 3B51F30E; Mon, 14 Dec 2020 06:42:43 -0800 (PST) X-Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.16.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 47C383F66E; Mon, 14 Dec 2020 06:42:41 -0800 (PST) From: "Sughosh Ganu" To: devel@edk2.groups.io Cc: Sami Mujawar , Ard Biesheuvel , Leif Lindholm , Sahil Malhotra , Sughosh Ganu Subject: [edk2-devel] [PATCH v2 06/13] StandaloneMmPkg: Add the SPM version for FF-A Date: Mon, 14 Dec 2020 20:12:09 +0530 Message-Id: <20201214144216.26328-7-sughosh.ganu@linaro.org> In-Reply-To: <20201214144216.26328-1-sughosh.ganu@linaro.org> References: <20201214144216.26328-1-sughosh.ganu@linaro.org> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sughosh.ganu@linaro.org X-Gm-Message-State: 9N5slIvgQBesdSfD53khk4Ahx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607957094; bh=wVcLbsuIb8/yMlRSbYqDs/xHG4FtbKuUaLAGvYqc7kE=; h=Cc:Date:From:Reply-To:Subject:To; b=S3wjn7J/LS9nxT+Rj2cUqjkyW9hABtj9qOcD58qi0ECXgDkLQt7STWBV+f22JTUBNgC VXj1PYqyHmEoIpPYYQuyrpgzWWaoZBw6gSosQoVyPoOIGsljoWbpKMXvB3hBzOGO5Od04 vBinx0JkB9Dm3Y/QPeKHFJeVpuTqNDjWxc0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The Firmware Framework(FF-A) requires implementation of SPM version v1.0. Add new macros for the version that will be used for FF-A. Signed-off-by: Sughosh Ganu --- ArmPkg/Include/IndustryStandard/ArmFfaSvc.h = | 3 +++ StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h b/ArmPkg/Include/I= ndustryStandard/ArmFfaSvc.h index 1eadf48ab5..bdf6ce4676 100644 --- a/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h +++ b/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h @@ -20,4 +20,7 @@ #define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_REQ_AARCH64 0xC400006F #define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_RESP_AARCH64 0xC4000070 =20 +#define SPM_MAJOR_VERSION_FFA 1 +#define SPM_MINOR_VERSION_FFA 0 + #endif // ARM_FFA_SVC_H_ diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index f2a8feacec..093a4a4285 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -35,6 +35,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent CONST UINT32 mSpmMajorVer =3D SPM_MAJOR_VERSION; CONST UINT32 mSpmMinorVer =3D SPM_MINOR_VERSION; =20 +CONST UINT32 mSpmMajorVerFfa =3D SPM_MAJOR_VERSION_FFA; +CONST UINT32 mSpmMinorVerFfa =3D SPM_MINOR_VERSION_FFA; + CONST UINT8 BOOT_PAYLOAD_VERSION =3D 1; =20 PI_MM_ARM_TF_CPU_DRIVER_ENTRYPOINT CpuDriverEntryPoint =3D NULL; --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#68772): https://edk2.groups.io/g/devel/message/68772 Mute This Topic: https://groups.io/mt/78951502/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-