From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.76]) by mx.groups.io with SMTP id smtpd.web11.13257.1609766546580083215 for ; Mon, 04 Jan 2021 05:22:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=sYLJQXMy; spf=pass (domain: arm.com, ip: 40.107.2.76, 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=Fv6QLH2ctbUeHQT3X6hEBCxKES8AS9Tl8gtWMsZ2koA=; b=sYLJQXMy6j1PmFacrsYkjwVOdgT9sRuOciVLqQkoW33dh3DKrVBZVo80CB69dX4y/s7KCc1eKzImPGnxcn0OFnQQHZPOZ9WIMN952H4v6qJ/fTJ1Gk2cZ2ynv/q/ZzTqpjZLO3Pxy1O4WHO/fYLvcIz7u9Yz6PiVCmk8+QUt86g= Received: from DB7PR05CA0060.eurprd05.prod.outlook.com (2603:10a6:10:2e::37) by DB6PR0802MB2277.eurprd08.prod.outlook.com (2603:10a6:4:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.23; Mon, 4 Jan 2021 13:22:23 +0000 Received: from DB5EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::6f) by DB7PR05CA0060.outlook.office365.com (2603:10a6:10:2e::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20 via Frontend Transport; Mon, 4 Jan 2021 13:22:23 +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 DB5EUR03FT006.mail.protection.outlook.com (10.152.20.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21 via Frontend Transport; Mon, 4 Jan 2021 13:22:23 +0000 Received: ("Tessian outbound 6af064f543d4:v71"); Mon, 04 Jan 2021 13:22:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ca73a335160c26be X-CR-MTA-TID: 64aa7808 Received: from 139f2882676d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AF29D176-AAF4-49E0-8A39-85F08E5309B1.1; Mon, 04 Jan 2021 13:22:17 +0000 Received: from FRA01-MR2-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 139f2882676d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e2Oqsv6WcdrBxKA7QEFPEi2W+JCXsA7u74GiOu2wJrIswTfOHSUNymNSvGKFJEq/7H9akrhMNOHca5N/+lo76SuNkJ9BAP8L7bTpqhzUxUXRtMQcyt+/v+uPnscKPefsVtd1pa6BOE2LqVxr0DV9hxUDfnBxhPhRCSNVMqcnHz7/pjB+hroXubV4uZNARMhZVYEnStQy6HNyu9rtyflhv95y8N+XnQmpdo1/cuUxjZqfZJM8QAouNL6m596lf0+/QO2oVnPhY6f3Rdb7S3MV3j7FjqI4CtBBpgtyLPIW4xHZmTi3ul+67878GjGBZlU8x/lAFaUvRMiMNdqrI++iag== 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=Fv6QLH2ctbUeHQT3X6hEBCxKES8AS9Tl8gtWMsZ2koA=; b=LkJ1+plXrPwXiuKNW8544lRhTFvlHUHt0ccb9U1Vmt8Xk4H9c1cUofGpnu04mM7BXhK1Vqknfr9XAZo7sft0vwjCIx878wEq6bmzjmeC9I0tECOfWAGM60X3TMuZSGMB1cvukQjhCvUZAnMSJUlcC4Qvicg1UufAKUt0o4ApUiyqvKpgQnMgHszCW7XvTZcHdf03xl/P2PPC/5KBKvNsS78tYL4gMuebj2J6Ng/Do4b3Ir3ZLWnrLk7nZL3NJ5JMETwl9Z8Grh57iLdbTrRddUhE3AWR7DxctkSE6xgblTdmCEC87I2+UKGHZSXMSKAwf0tJLsw1MoT2sbeAVd6UDA== 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 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=Fv6QLH2ctbUeHQT3X6hEBCxKES8AS9Tl8gtWMsZ2koA=; b=sYLJQXMy6j1PmFacrsYkjwVOdgT9sRuOciVLqQkoW33dh3DKrVBZVo80CB69dX4y/s7KCc1eKzImPGnxcn0OFnQQHZPOZ9WIMN952H4v6qJ/fTJ1Gk2cZ2ynv/q/ZzTqpjZLO3Pxy1O4WHO/fYLvcIz7u9Yz6PiVCmk8+QUt86g= Received: from DB6PR0802CA0025.eurprd08.prod.outlook.com (2603:10a6:4:a3::11) by PR2PR08MB4923.eurprd08.prod.outlook.com (2603:10a6:101:24::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Mon, 4 Jan 2021 13:22:15 +0000 Received: from DB5EUR03FT030.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:a3:cafe::47) by DB6PR0802CA0025.outlook.office365.com (2603:10a6:4:a3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19 via Frontend Transport; Mon, 4 Jan 2021 13:22:15 +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; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT030.mail.protection.outlook.com (10.152.20.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3721.21 via Frontend Transport; Mon, 4 Jan 2021 13:22:15 +0000 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; Mon, 4 Jan 2021 13:22:14 +0000 Received: from E107187.Arm.com (10.57.38.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Mon, 4 Jan 2021 13:22:13 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [PATCH v3 00/26] Enable Core CI support for StandaloneMmPkg Date: Mon, 4 Jan 2021 13:21:47 +0000 Message-ID: <20210104132213.22376-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5fdfc680-938e-4c18-6695-08d8b0b3c570 X-MS-TrafficTypeDiagnostic: PR2PR08MB4923:|DB6PR0802MB2277: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:1443;OLM:1443; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: DtPR86ohQor5rc9WKp1h6uS7tTLE+4JHSmbUrAsc2fTplfRBXoNlTaTZtfzOSsh8CFgvH3R4/BW8e7JQ2HU0tivBffVOL/bafFdqUnbdnpwjuxmBeN7w/WbC5i8tGFcb22Dx4PvOPc5l5fepLip2OVtY6H9cR8zVZXUo0yTQZNlilG16vc8/c99fTkI/uHiDzynL8pAbnrRZ4KKO1FN6Z0PGr+8dH3JkGsegTc9LVGRwX3avmbOJvuvGJcHz1eUmxFAJ5qvVgVMmiDNzp9B4ELndAXo9eZwIUa4FhBcxupT9Ql1lilmWKU7PjN6ta7UzgbqaqM8o7kMgz1JIiLfypNqNY04AC2L9Ym3J4MCDGeS10MHrySTdVKQoGJ+juN5dEVdru6MmuWPHTO9aWm+wIlmkLP+G5Sb5MowxAfl27AXSEDOKeB0DfJEX6pKc+ExSaZW91M9hqU2KDkT4VJ9XPk1dINt43SjH11uLnEN6pLmDDSNe9dUOZzGtgKDmXgnnYWzzahb1Pxg6X4/3vFFB2qnL9u5bsqQuAHAfeW/p0jU= 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)(396003)(376002)(39860400002)(346002)(136003)(46966006)(44832011)(4326008)(5660300002)(54906003)(86362001)(8676002)(6666004)(8936002)(316002)(81166007)(83380400001)(70586007)(6916009)(82310400003)(1076003)(478600001)(966005)(36756003)(26005)(70206006)(7696005)(2906002)(356005)(82740400003)(2616005)(186003)(336012)(426003)(47076005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4923 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f8edf3e4-b241-4c07-df62-08d8b0b3c0ca X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wsqdXRV7sIuYxhtsIlM+2FrEfwKiPf2tX64rPjDwg37waD7hkvF0chtdxFLcNTKSsTyI17iVhVqUsZqgVh7P0Rr7t8GyHzfV+AsIayHS6YErTQY7RG6lFXWysj2NsEl/1A23fPqQejgMCpQcMVFZl0V14uAleLZGOmU4Gg2y8uerWAumPClhnYh9IQEXx+7tSgACTFlqp/crIHNxzZ6ohPyMVLL9ZVjZmvdVdjixjoglpCYzannbPPQgnnbbaJm9KjrETanVlzxngUQwOOHRt0XGL83AXFl1MaZzZbN99fQhXXeOMFdsyw4LPY/Z0LbDwhoBDOgKmdmaAR7CI5wJqiHcucNIPDk4x53xzFK/HoF0BKoYZqncy2wGPKbCu+iDiYsk+Aj52SJhd+n7iAHRg64chByGSbDPZqSNoe65kJeITWqLZNQzeTPODrmETM5ABtyfmleq77GhibeCNFs47IJgXkt7y+Ol1SnRJPUfrTQxiOqmwoWMfuJsBbb2VjN3n8vNTDq/jqOEibxjRfC8kuqkOA2hqYA5bqGc7a/N/DM= 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:(6029001)(4636009)(396003)(376002)(136003)(346002)(39860400002)(46966006)(44832011)(2616005)(316002)(82740400003)(4326008)(426003)(47076005)(6916009)(70206006)(70586007)(86362001)(5660300002)(81166007)(82310400003)(336012)(6666004)(7696005)(8676002)(1076003)(186003)(83380400001)(966005)(2906002)(26005)(54906003)(36756003)(8936002)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:23.0967 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5fdfc680-938e-4c18-6695-08d8b0b3c570 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: DB5EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2277 Content-Type: text/plain Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3150) The EDKII Core CI runs the ECC tool that checks for good coding practices and the coding standard. This patch series fixes the ECC errors reported in the StandaloneMmPkg and enables support for EDKII Core CI. This v3 series: - PATCH 26: Updated readme.md file to add check mark to the windows column. - Added bugzilla ID to the commit messages for the patches in the series. Ref: https://edk2.groups.io/g/devel/topic/edk2_devel_patch/79194663 - There is no code change for Patches 1 to 25 since the v2 series. The changes can be seen at: https://github.com/samimujawar/edk2/tree/1516_standalonemmpkg_ci_v3 Sami Mujawar (26): StandaloneMmPkg: Add library header files to DEC StandaloneMmPkg: Add library files to DSC StandaloneMmPkg: Fix spell check reported errors StandaloneMmPkg: Fix ECC error 9002 in Core dispatcher StandaloneMmPkg: Fix ECC error 1001 in SMM Memory pool management StandaloneMmPkg: Fix ECC error 3002 in StandaloneMmCpu StandaloneMmPkg: Fix ECC error 4002 in FwVol helper StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCoreEntryPoint StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCpu StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCore StandaloneMmPkg: Fix ECC error 10014 in StandaloneMmCpu StandaloneMmPkg: Fix ECC error 4002 and 9002 in StandaloneMmCore StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCoreEntryPoint StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmMemLib StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmCoreEntryPoint StandaloneMmPkg: Fix ECC error 9003 in StandaloneMmCoreEntryPoint StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu StandaloneMmPkg: Fix ECC error 9001 in StandaloneMmCpu StandaloneMmPkg: Fix ECC error 9001 in Standalone MM Core StandaloneMmPkg: Fix ECC error 9002 in CoreMemoryAllocationLib StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu StandaloneMmPkg: Fix ECC error 8005 in StandaloneMmCoreEntryPoint StandaloneMmPkg: Remove dependency on ArmPlatformPkg.dec StandaloneMmPkg: Add EDK2 Core CI support .azurepipelines: Add StandaloneMmPkg to CI matrix .pytool: CI Settings to support StandaloneMmPkg .azurepipelines/templates/pr-gate-build-job.yml | 2 +- .pytool/CISettings.py | 1 + .pytool/Readme.md | 2 +- StandaloneMmPkg/Core/Dependency.c | 6 +- StandaloneMmPkg/Core/Dispatcher.c | 49 ++++++------ StandaloneMmPkg/Core/FwVol.c | 36 +++++---- StandaloneMmPkg/Core/Locate.c | 6 +- StandaloneMmPkg/Core/Mmi.c | 4 +- StandaloneMmPkg/Core/Pool.c | 6 +- StandaloneMmPkg/Core/StandaloneMmCore.c | 37 ++++++--- StandaloneMmPkg/Core/StandaloneMmCore.h | 12 +-- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 56 ++++++++++--- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 34 ++++++-- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h | 31 +++++++- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 9 +-- StandaloneMmPkg/Include/Guid/MmCoreData.h | 6 +- StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h | 47 ++++++----- StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h | 4 +- StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h | 6 +- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobList.c | 6 +- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c | 53 +++++++++++- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCoreEntryPoint.c | 32 +++++--- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 3 +- StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c | 6 +- StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf | 4 +- StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c | 10 +-- StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c | 4 +- StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf | 4 +- StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 84 ++++++++++++++++++++ StandaloneMmPkg/StandaloneMmPkg.dec | 20 ++++- StandaloneMmPkg/StandaloneMmPkg.dsc | 15 +++- 31 files changed, 439 insertions(+), 156 deletions(-) create mode 100644 StandaloneMmPkg/StandaloneMmPkg.ci.yaml -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'