From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.40]) by mx.groups.io with SMTP id smtpd.web11.5700.1604572448569144131 for ; Thu, 05 Nov 2020 02:34:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=VORvojX+; spf=pass (domain: arm.com, ip: 40.107.20.40, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xkdiDcBkkQQQqf38Yf4NVHWz60XzC1tMGrHNeFp4Bvw=; b=VORvojX+IY3A/sS4fqjG8cmdyleY1wmBgH7yUD+Yirahmm+ZAwf1rQLVm98kE6zxJlfBl+ZBF6WPr2ELJLuTM+DPwQN8cvRLYltOm6ZvA3OXqh/ddUECVOYjWCqOyf/cbu9F6hgSRPGD8XiT6lYkCLNN2JT8vhDg/lLjkF5OJxI= Received: from AM4PR0101CA0069.eurprd01.prod.exchangelabs.com (2603:10a6:200:41::37) by VI1PR08MB3565.eurprd08.prod.outlook.com (2603:10a6:803:84::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Thu, 5 Nov 2020 10:34:05 +0000 Received: from AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:200:41:cafe::fc) by AM4PR0101CA0069.outlook.office365.com (2603:10a6:200:41::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Thu, 5 Nov 2020 10:34:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT024.mail.protection.outlook.com (10.152.16.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Thu, 5 Nov 2020 10:34:03 +0000 Received: ("Tessian outbound 68da730eaaba:v64"); Thu, 05 Nov 2020 10:34:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ef021c61e7c5f953 X-CR-MTA-TID: 64aa7808 Received: from 4971efdaa5a0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C8359C68-5198-474E-BC1F-ACAEAF3EB28F.1; Thu, 05 Nov 2020 10:33:56 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4971efdaa5a0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Nov 2020 10:33:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GnsqUeoMjTx0KYAyWUvNIT/sl1FAGaILFPD2sHasSyo0N+YXzMDnWuV/OBbSwBW+ZqarOeUdm/sOzzOOPYMqF++kSTWCcj5SuWqJK4nQcgfqSOaF9MfN1TALbFpH96owdyy+xD6ta9TIICFXQyvbJZ1yi3D84wLhD0ZP4K448eysrqNZpaUv4JrWaOaModShkjWg+MAKahSUV8XtN4XpPhFNPrMRc0rMsoTn8Au05bTBpAQVc5JU+/ZZZ/sYDx+gnBo4VH9ofTx95nEBNQfO0xSO5Z1W/KJ2QdKlEjv7d+LglRZbR28qlbDHv0fupwhw2CT3GhX2tJAg7q/i9BqOMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xkdiDcBkkQQQqf38Yf4NVHWz60XzC1tMGrHNeFp4Bvw=; b=hXFB3UHE/SJ+NsSN0Z4a3sDIaLyj+3hG93AoUxdjnmddbIrslEpTabuu5N5QzLOZ/M6kO5WpqWjXn53jwEY1HmIYbnf2u6zBFEiZK4wotLa7kyB458DE3iy0pqBLHuiGgcRejagBVGM/sdMYEdkjHD1WJSrLK7PU9ZWfeU82/1VL1FYb4qroXVazoRByRiDCm5KfVuUOTnUoaIDD51RNCHINz8DagTwY+p5LS1mp15GD5uh2aJKQXVWMSEyPvirRDYuhB//qONKqJsyIAc8bo1D2cWYuVP9ieAw9juo5HGijXB3AoCb1qqs4GQuF+R19vqAMbUx4m0HHlBXbE8QhSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xkdiDcBkkQQQqf38Yf4NVHWz60XzC1tMGrHNeFp4Bvw=; b=VORvojX+IY3A/sS4fqjG8cmdyleY1wmBgH7yUD+Yirahmm+ZAwf1rQLVm98kE6zxJlfBl+ZBF6WPr2ELJLuTM+DPwQN8cvRLYltOm6ZvA3OXqh/ddUECVOYjWCqOyf/cbu9F6hgSRPGD8XiT6lYkCLNN2JT8vhDg/lLjkF5OJxI= Received: from DB7PR08MB3097.eurprd08.prod.outlook.com (2603:10a6:5:1d::27) by DBBPR08MB4806.eurprd08.prod.outlook.com (2603:10a6:10:db::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.29; Thu, 5 Nov 2020 10:33:54 +0000 Received: from DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::897b:8573:fd4b:d06b]) by DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::897b:8573:fd4b:d06b%7]) with mapi id 15.20.3499.032; Thu, 5 Nov 2020 10:33:54 +0000 From: "Sami Mujawar" To: Sughosh Ganu , "devel@edk2.groups.io" CC: Ard Biesheuvel , Jiewen Yao , Achin Gupta , nd Subject: Re: [PATCH v1 01/12] ArmPkg/IndustryStandard: Add barebones FF-A header Thread-Topic: [PATCH v1 01/12] ArmPkg/IndustryStandard: Add barebones FF-A header Thread-Index: AQHWp54B3ppU6R5bmEOkh5CYX2sgNKm5aH/A Date: Thu, 5 Nov 2020 10:33:54 +0000 Message-ID: References: <20201021113233.25548-1-sughosh.ganu@linaro.org> <20201021113233.25548-2-sughosh.ganu@linaro.org> In-Reply-To: <20201021113233.25548-2-sughosh.ganu@linaro.org> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 60E24A5FC8DE074582D59B855DD47B67.1 Authentication-Results-Original: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=arm.com; x-originating-ip: [109.146.228.240] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 264693cd-e9eb-42a7-7c9b-08d8817650ac x-ms-traffictypediagnostic: DBBPR08MB4806:|VI1PR08MB3565: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: s0FsTiaQ2cz2elE7520OSXHwtJcb9vnZwyAPMxf+4tuVhtIiLlBgAjFJ1QuGtUIVcldhB8sk4/FW8VNZ7rvS8CxqMJv5EJqw48Q60lri1XDXNFvZj1B46BTvpAkUyuNdo59aSbW1tczDu9hyAz/4xmdiV6ObLHqvp3iQbBOrAf5HX2+WABv3Za8eCS8f+jtTJcLPLFOJLsyKG8ePc9hsrLAufoqjmE6SuBW21Kp3OdfIcm5ZORL69A5vo5ANu2/lfgXLHx9Gt/1shi/sBa4F0ZXdfZnLMcCoPsRtRhHcBdP64Asipow1VmYgxU7jhmkpTJ+Jvsnag4/oEYvxOhen4PrJ28R8qMI7nAKbYI2tux8WBGULRbi/xLL8y3BgyitWHoBhFUr8Pd4LxxfpiIjUog== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3097.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(346002)(39860400002)(366004)(136003)(376002)(66446008)(66556008)(55016002)(66476007)(64756008)(66946007)(186003)(5660300002)(26005)(33656002)(76116006)(52536014)(9686003)(53546011)(6506007)(7696005)(8936002)(83380400001)(71200400001)(478600001)(86362001)(8676002)(54906003)(2906002)(316002)(110136005)(4326008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: AffX6whys9jtvoELiG8A9p/l8Vgmf7LAVvNVdG2azxd74yN/BeUrObkVutP554Mj3ZTmNAgJy8lUkTLotYx3OK6G4CWgGJGnVN4g1GGNubnmVTeBDx4CeIWH1YX3VzX7ywzCKnmNNtIyLiaWjmEZrXhatvmYx9j8+ER1+k6wzDhf06CswXwiYLXc2d3LD4caD2TLYzJyhWvv+NNbenId/OIRp4VVWRfH/Xjof1qw1dc5scjteOjBIwDGiUO+nYsIqVwr7BrztmW/glfBwL0lKc321O6SxuKIhMmpKfWBTHhbShP07ouPr/qtNxRzstKC7ZS/GerKMvAFVSAGol07uVj/+VkAutmE+dxUcduRxD/MwMrrkhqQYGpJgEepnUIQPQOOsE2NJF1FgNACFBxuq3JIqxxJsWwNPGy0hGBr3R0XbSG+khBtxiF3/k10asWWQlx7Oa8udJwNOwZNA4HQs8lSy56wSTwuH7m1OQLdDYLB88rZ6dHxpCvapLTNjAF66kzVSRM7Ra/hcwwaolHoquPXB3TpGceNcJhKLtLAoHbU7jSdGyzJq/AeIQSiJwCHmjEucbnUkq8X3CoF4vaoPl95Anl1zzzKfgpAXbhCq3HYQ1XcE1sUU08Qlr3jJWt3pCVvVRVayd4aWITqyN8MEA== MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4806 Original-Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8e9f2b98-7221-4c67-9d8a-08d881764b5d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rs5o4Ew1795Yrav1i9gsw91IngYu/LG0EHsjdmrSX8RZEQlMV/SfH7acxewnI0RaUAitn5sbXd768JV60Mk+kqBivdpHt6/Zp8e5/r6rDdlvS3qBqUCDgd6Jw8Kcoa2VZnJjUoNU0ddVU4BVMUoX+4mH9SoEJItkVD9m30JqQE7pNbZ7t0m7uBQAt3F9ivTTXNEPu7SAJUqVKKFARLnTSQuqfLUENJ5o6ljA89ibzegUKg2LGKCSAe/HQMmPHz5C3fkXWCdlNvRztauPiHdZWSPBwGSmI//ibjRoEGY3pyTJVc1iCH523dpBD7/zdEP0sKdqen9OtdhxBhGH1uN/T6DUz2dLSX7GBtaLeCXyfU66bgx4aNtbhTjbaZ/e0uCrNuO3UCaWKEifW+jsEaBGuQh45np7trSg6DcQ94cZ7BjDWXAWzZkak0oo9qLDUOpxeY89iBLTCoKJYKs4rLpp3p5ACQQZsfiJoNm/jKhMXyU= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(346002)(376002)(136003)(396003)(39860400002)(46966005)(110136005)(82740400003)(316002)(2906002)(186003)(8676002)(33656002)(47076004)(54906003)(70206006)(70586007)(8936002)(6506007)(53546011)(7696005)(81166007)(26005)(52536014)(5660300002)(86362001)(336012)(478600001)(356005)(4326008)(82310400003)(9686003)(55016002)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2020 10:34:03.1870 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 264693cd-e9eb-42a7-7c9b-08d8817650ac X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3565 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Sughosh, Thank you for this patch. Please see my response inline marked [SAMI]. Regards, Sami Mujawar -----Original Message----- From: Sughosh Ganu =20 Sent: 21 October 2020 12:32 PM To: devel@edk2.groups.io Cc: Ard Biesheuvel ; Sami Mujawar ; Jiewen Yao ; Achin Gupta Subject: [PATCH v1 01/12] ArmPkg/IndustryStandard: Add barebones FF-A heade= r From: Achin Gupta This patch adds a rudimentary header file with defines for FF-A ABIs that will be used as the transport between S-EL0 and the SPM Signed-off-by: Achin Gupta --- ArmPkg/Include/IndustryStandard/ArmFfaSvc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h b/ArmPkg/Include/I= ndustryStandard/ArmFfaSvc.h new file mode 100644 index 0000000000..a8914085de --- /dev/null +++ b/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h @@ -0,0 +1,16 @@ +/** @file [SAMI] Please add file description, see section 5.2.3.1 of EDKII coding sta= ndard specification (https://edk2-docs.gitbook.io/edk-ii-c-coding-standards= -specification/5_source_files/52_spacing) [/SAMI] +* +* Copyright (c) 2020, ARM Limited. All rights reserved. +* +* SPDX-License-Identifier: BSD-2-Clause-Patent [SAMI] Add reference to the specification, see section 5.2.3.5 of EDKII cod= ing standard specification. [/SAMI] +* +**/ + +#ifndef __ARM_FFA_SVC_H__ +#define __ARM_FFA_SVC_H__ [SAMI] Make include guard compliant with EDKII coding standard, see section= 5.3.5 (https://edk2-docs.gitbook.io/edk-ii-c-coding-standards-specificatio= n/5_source_files/53_include_files) [/SAMI] + +#define ARM_SVC_ID_FFA_VERSION_AARCH32 0x84000063 +#define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_REQ_AARCH64 0xC400006F +#define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_RESP_AARCH64 0xC4000070 + +#endif --=20 2.17.1