From nobody Mon Feb 9 16:02:33 2026 Delivered-To: importer@patchew.org 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+69103+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1608210392694410.04599134436774; Thu, 17 Dec 2020 05:06:32 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id JeOpYY1788612xZ1jKDQWAn7; Thu, 17 Dec 2020 05:06:29 -0800 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.41]) by mx.groups.io with SMTP id smtpd.web08.7552.1608210348416301458 for ; Thu, 17 Dec 2020 05:05:48 -0800 X-Received: from DB6PR0301CA0027.eurprd03.prod.outlook.com (2603:10a6:4:3e::37) by AS8PR08MB5974.eurprd08.prod.outlook.com (2603:10a6:20b:298::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.25; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: from DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::c9) by DB6PR0301CA0027.outlook.office365.com (2603:10a6:4:3e::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:45 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69103+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT025.mail.protection.outlook.com (10.152.20.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Thu, 17 Dec 2020 13:05:45 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2dc28af2d7221a98 X-CR-MTA-TID: 64aa7808 X-Received: from 42653302b239.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6E31CB4B-1846-4D9B-A9F5-D199C4BD02A0.1; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 42653302b239.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CjKtz+Lt96RIC0jiZyYZe432Q44bV5ORTIt72vs6gl1PRH4r+JzMoszUhaqWLoMw3ZF1PSmlGSq3DVz3WbO2p71/7fspjiyA3yYgzpuiYHN+bTZwVT1KlvxdVzRvu4XlsR7Uh9qlVTQYXUAMeY1MvoY7E8UqEeug1kpWUn2WRiTPAKrRw8LiBnAAl0F5KTwBpaf03woO6Az59zVTiUPCyO/VpoVnUDOE9/sDBhhOw5OTQzivC5hNe9YQ/+U4dQjBZrjXYyUIKAaN51aGWF7m/al1cgtycX9RuT6HXohqPQEa8BAdnn1pNTV6Xp/iul3C6Ed6rkKFPcox8/GwZddXKg== 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=4RQ/SvhGEpRsjDjt+Vj0dUrpEy1/KjB2DnyjuS4SHR4=; b=WUDcRwPPafh98SejQexdY2yLukp1RJmLxsvOf7pWr7Nq7hZM5Uhd8N9L8b+iDQjTpR5JWXSJRrtc/ksEMT0+oV3hv1d1qXVP4RgGvBMcEKNg88v964k0gkjpD1EbU0c+Awo8/9zg86UbRfdwC6gaKqGcBqDAp70XU84nwhwgkF6r5fnN9fSX8yGz5G4MOqiMjbHQSXtUebBn1haQQZ07aB1mh/sjN/ZyOVrvBA2MILAsPi93t+zzK4aYGZCZt63TMF4S1y9EasF9ELlbPYQXtnzKGnWC4UbV1rPVAieQwRls9EkAnK+MfUEoVo1bzpbMGZGrKEzmrj4o/sQGL1/6lw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from DB9PR01CA0006.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::11) by DB8PR08MB5290.eurprd08.prod.outlook.com (2603:10a6:10:a5::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::b3) by DB9PR01CA0006.outlook.office365.com (2603:10a6:10:1d8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18 via Frontend Transport; Thu, 17 Dec 2020 13:05:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:21 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 17/26] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu Date: Thu, 17 Dec 2020 13:05:00 +0000 Message-ID: <20201217130509.12568-18-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6fdcc61a-930b-4c33-ace6-08d8a28c7736 X-MS-TrafficTypeDiagnostic: DB8PR08MB5290:|AS8PR08MB5974: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4303;OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: vTPtg0fAbKRBnND6j6vM2uw0KwgGG5PQDNdsxIVObGKFdYQjLBFMzR53PfRUe6LFzOEC/zcxgOFDK053VTmf79y6ySqzHwiJUJyk2dmle4L8poQcibguAgy3UQNxUm4Zezo/atRzHtuZ0KqA4zTSlciYz4ylLuoNvyi9CAuCDTwjAjXlLE/Wernb0UoVQ85ddrzUGsi6Wk2gcWIupiJtqBryGIeC3FKX6yt5iNJTQ/2Rrg0CtVTJSTzil0Q+6Fryruxj/SkeAIyzdkapi80Vwaj6BcXoBDncekLC0wjkSHwDIlIdf7LhPn52LdDiuDh+tdKxS9a84VQbvL51TtYjiuhskxPEXnzn5/TFviT9eTplpNhQAboV0fVlOcvW8S9fod52+V6gu/mVcau5ogjNkw== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(39850400004)(396003)(376002)(346002)(136003)(46966005)(70206006)(81166007)(478600001)(82740400003)(8936002)(2906002)(4326008)(7696005)(2616005)(186003)(6916009)(356005)(5660300002)(26005)(1076003)(70586007)(316002)(82310400003)(86362001)(336012)(36756003)(6666004)(44832011)(426003)(83380400001)(54906003)(8676002)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5290 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 3e9268e6-66c4-4557-2abe-08d8a28c72db X-Microsoft-Antispam-Message-Info: qsE0roo/5kSn57P8NLKd8sgkacpdM0aN05mgit1VsqeGqrMy1Nr0w7NjlWTlbPwigDwdpdyost/wIHehEr9wpRezVdkpPFJ0b5J0CLHSkA7Ph5lRJJvo0jk+fKnmd2octFNOntXees9hzPlkbUw1Y1Pvky4JV0mHPMi8CETA+UfwuJPZz0x3FGlQAOxCFBtYQN7haqYej4IJCTQPcmpViZx87r34tPV8f3C8WGEgSrYMRfU60GPnEKyus8yVA3j+Mbn7Pk0C9IhVhJV3pgxm6mH0Mvl9IIsB0MU4gOFj03v836UpSXpTNr5yOlagd0Hf/od6IzN9+zIzAVoUM5oPBnPSb2AKBrfu0FqIoTwwekjgqVo7nJeYlw7PMHlF6SduIFT4uiWAJ1nmuwdWyqhO/w== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:45.1988 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6fdcc61a-930b-4c33-ace6-08d8a28c7736 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: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB5974 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,sami.mujawar@arm.com X-Gm-Message-State: 07hZdykhYncUjB0p5CTBH0Xjx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210389; bh=CL7Yp88FJ2dCCAtJoZIj608Ftp8Kvkghol1P2wgX52I=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=XikyogsW4kWJpFnpZvV33xgVkGLBwSeG9jXSEbrLKEPNIzysjywZYgsTJD3tcYM+qq8 r01DoMoHaMgM7/ZqJO/lIWzzga450awITmZ2NiNrkI0pwsDnsEqq5Co8gHUMl6DLDTD+L FCnqmZxfKVA2bRvaQi+4p9EE4MlBQHe4NLw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix the ECC reported error "[4002] Function header doesn't exist". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 21 +++++++= +++++++++++++ 1 file changed, 21 insertions(+) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 7620a65c7e3bbd647961942f5b30d3d834107f70..006f95989124ee0151e3cdf42b4= dd4a5be80a6aa 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -58,6 +58,19 @@ EFI_MM_CONFIGURATION_PROTOCOL mMmConfig =3D { =20 STATIC EFI_MM_ENTRY_POINT mMmEntryPoint =3D NULL; =20 +/** + The PI Standalone MM entry point for the TF-A CPU driver. + + @param [in] EventId The event Id. + @param [in] CpuNumber The CPU number. + @param [in] NsCommBufferAddr Address of the NS common buffer. + + @retval EFI_SUCCESS Success. + @retval EFI_INVALID_PARAMETER A parameter was invalid. + @retval EFI_ACCESS_DENIED Access not permitted. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_UNSUPPORTED Operation not supported. +**/ EFI_STATUS PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN EventId, @@ -159,6 +172,14 @@ PiMmStandaloneArmTfCpuDriverEntry ( return Status; } =20 +/** + Registers the MM foundation entry point. + + @param [in] This Pointer to the MM Configuration protocol. + @param [in] MmEntryPoint Function pointer to the MM Entry point. + + @retval EFI_SUCCESS Success. +**/ EFI_STATUS EFIAPI MmFoundationEntryRegister ( --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=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 (#69103): https://edk2.groups.io/g/devel/message/69103 Mute This Topic: https://groups.io/mt/79035546/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-