From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.65]) by mx.groups.io with SMTP id smtpd.web11.4894.1620814406206887702 for ; Wed, 12 May 2021 03:13:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=qzjB1Yca; spf=pass (domain: arm.com, ip: 40.107.21.65, 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=dG1xdzcODI9MWOiqE0947np6m9j+OlquFjf+RYWEETM=; b=qzjB1YcaIIwihVaT9rkIXNBU52toLz/qlgTiRGXlbb1XyJAuLrTI96ce4KxGRYXh2fcWoKXwN5V4rsXL72Xcb/M0KMzkcL39GyD+RxRBGeAYRYmUP8II1Oi6dNfZjUOIKKIi34cBkE9eTbrp5CgTPnKHwV3ZS2PMao94RbJ8tWQ= Received: from DB6PR0301CA0018.eurprd03.prod.outlook.com (2603:10a6:4:3e::28) by VI1PR08MB4238.eurprd08.prod.outlook.com (2603:10a6:803:f2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.28; Wed, 12 May 2021 10:13:22 +0000 Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::e1) by DB6PR0301CA0018.outlook.office365.com (2603:10a6:4:3e::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Wed, 12 May 2021 10:13:22 +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 DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Wed, 12 May 2021 10:13:22 +0000 Received: ("Tessian outbound e566ed09e411:v91"); Wed, 12 May 2021 10:13:21 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c2172d144d6482c6 X-CR-MTA-TID: 64aa7808 Received: from b6fa4e49a508.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A3CA4238-54E5-4A76-970E-58FE582DB0CF.1; Wed, 12 May 2021 10:13:09 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b6fa4e49a508.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 12 May 2021 10:13:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SXr3ya8yTMJPX6pYUzDK6BxzuwPTbtLY3q8XxcGq51vQAO+ru6wBb64OGIlCQRTbs2OJ4RqTQki8B1IgNSHvtgPPmIj9zm018J/TZWZ5jgr2YUvEztT2FkzCEL5eqcfWeAL96pMDc25G1NziRcVviBR6DvetyCvFX3P3EverrTu4f4SBmpfvNr+0ITCN2ramgBjoWsoaGhi/kieBOAgoqOjFHBL7WoLYMKLvEpkBkfVuQ0y3PXmLQZdR/OLndPg+dGktRLhtmptbKEKw+DOVt4GLD1pTMlliHYvXixg6/Cgv9J/iJ00VJXmUU5/0id0jTiGX/quL6/z+nTzC+V3ffQ== 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=dG1xdzcODI9MWOiqE0947np6m9j+OlquFjf+RYWEETM=; b=iWRxZUpGfhiVzSbf91N1kRRME7bBkYzu/JredN7v1cL2bzvD58uCyBUxcv+cyMLtBTxutQYtUxdj0sE+qhyVSSMmo14v5gQqNHvNbGyStMvAm1jURHdeiPL9Wk613SY82li8ShZ4hUmTi1kIM/folGq0vOvzpXZMXylScvdzPFeexj0W4LV2I10U0A9k66iAPFLQb46UFfXHdz2vCkG6CuEg7P6O5Fbc+n+l5lLceTjwFmKyO4GG4caUzH9DbSuo/SI8Pp569HRVY/7InUwg7V5mQ8uvt2hbDuHHw7Yi3CEfqo/e4obHFm3w3w6aAvLYyII71uR4ugGkx8OP5RxxOg== 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=dG1xdzcODI9MWOiqE0947np6m9j+OlquFjf+RYWEETM=; b=qzjB1YcaIIwihVaT9rkIXNBU52toLz/qlgTiRGXlbb1XyJAuLrTI96ce4KxGRYXh2fcWoKXwN5V4rsXL72Xcb/M0KMzkcL39GyD+RxRBGeAYRYmUP8II1Oi6dNfZjUOIKKIi34cBkE9eTbrp5CgTPnKHwV3ZS2PMao94RbJ8tWQ= Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by AS8PR08MB6053.eurprd08.prod.outlook.com (2603:10a6:20b:292::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Wed, 12 May 2021 10:13:06 +0000 Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::80cb:878d:c8f1:2688]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::80cb:878d:c8f1:2688%7]) with mapi id 15.20.4129.026; Wed, 12 May 2021 10:13:06 +0000 Subject: Re: [edk2-platforms][PATCH 4/4] Platform/StandaloneMm: build StandaloneMmRpmb for 32bit architectures To: Etienne Carriere , devel@edk2.groups.io Cc: Ard Biesheuvel , Ilias Apalodimas , Leif Lindholm , Sughosh Ganu , Thomas Abraham , nd@arm.com References: <20210510075304.9125-1-etienne.carriere@linaro.org> <20210510075304.9125-5-etienne.carriere@linaro.org> From: "Sami Mujawar" Message-ID: Date: Wed, 12 May 2021 11:13:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 In-Reply-To: <20210510075304.9125-5-etienne.carriere@linaro.org> X-Originating-IP: [217.140.106.52] X-ClientProxiedBy: LO2P265CA0375.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a3::27) To AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.1.196.43] (217.140.106.52) by LO2P265CA0375.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a3::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Wed, 12 May 2021 10:13:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca6f1a2d-6c1a-4828-50e3-08d9152e9294 X-MS-TrafficTypeDiagnostic: AS8PR08MB6053:|VI1PR08MB4238: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 8Ll68Sf5P8VXe7MqPABQK5i8EgW34kbX3E9pM7dx4yoNVmYmUPjRoCPnosRLzyjnG4zGphbFeRLqpbR0DUmrw4utTmp0QuuHfA87yBPUUm0THG6+K2ZE8172qkRfLFbuqfAVx7pzsRa3P8DfYivhQu/2jckL+M52T0wH8Pnng5kU7u/eG0m6AD2t8yPVdHZHrjyhhyxA+/4MP23XcWwnfhxUS/XNNZx56Kz1CaMELsBjamlWC6pf1IYFqGHjfTWqi9+sgKYohBYbAh4iN1m27abQA6rSD21q2MXoeV0HEwY7L4IcZM/XdyaR3ji7b4iGs/KxB5IfpB+18PorIFCovp4fp0xcvXigSRv2uYmefoRKT58koUILAkcGh6M8hqfwi/RwKaCvbYQ6J3JGB1jFQGGkslJ++NUdW59f7wUOc0S4+UeAoACM2yGRU442Y0T3OcQeD0CwiS9OCIgqzx/bGW0xlK41ZgPaJ3Q3pG1CrvpqQGtVj996yV6GMuk1/0eKwC4b92d4pzRTGfy2awCTzpmW4UnQECw4z3Hr5F+X3tV9vkBVjZ0SSwEfYgpa7Fnhpepgm8qBI7w9XK8HX/zhsUySBVrmcJ5m/wTIkSDr3Hc9W/wk1SYWmvyC1wyf4towrlXOG5H8A+FLolzK0TBbj6P1jw0YcRZ0xzkvuWZ7403p4qNrEL50eip+90louiHnEjc8A3gDiribfPCsblQPcZspnPiEjh9BS2be011DpXM= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR08MB6806.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(4636009)(366004)(376002)(396003)(136003)(39860400002)(346002)(44832011)(53546011)(2906002)(26005)(83380400001)(36756003)(54906003)(5660300002)(66946007)(2616005)(4326008)(186003)(16526019)(66476007)(52116002)(86362001)(31696002)(8676002)(66556008)(31686004)(478600001)(8936002)(38350700002)(316002)(16576012)(38100700002)(6486002)(956004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?dGFDYmJMd2UyRktiYjdTaXpzZXhHdXp1UkxuY0ltRkpka21USWpUTFFXTVlr?= =?utf-8?B?TXBFL0hiOUMyUWxSU04rMXJpVDdhZWMzSlhMWTBjRlNvNG0veWk2VHFDK2My?= =?utf-8?B?VnZrSERUZXgrOE4zeTczbnBkVUxOZGlpNVJSemVaVnR1UjdOcEozc1RmUmlv?= =?utf-8?B?SjF6UlBsalFmSjVocEkrL05mZFBUN0hlc21rNjJSWWx1UDEvSzVhaW5VNTFH?= =?utf-8?B?RHg2Q2g5ZGxQMjRvOGYrZ08wcTN2VjBRRXNXbUxVSlVhdXZUeE54Z2E5amEv?= =?utf-8?B?RGpET1hTdDdtY294UTQ2Y0VleWxsWHlsdEFuaFhFRFJTbWlpOHNlQzVLWjdT?= =?utf-8?B?c2MrekNXSlo4M1hBOUsyN20yUXAwUmE1aE5sanhQaTkxK3QrWFdDa24xT3dw?= =?utf-8?B?YUNLN1diekM1MUVBYnhWVkJlTUNPWGgxd21JUDAzUzVnRmhYTG5LQ2tBS2lQ?= =?utf-8?B?Q3U0MDlqSzVSR2xHalQxZUxiQ3hDUnpVR3NjQW5STzNjVkdqb2ZKeG1BQjU3?= =?utf-8?B?dm00clJBYkZ5YkRhRTNDSkY0WW0rUEk1c3NxOE5aaEpxRDZ1VnlXMUI2RGNV?= =?utf-8?B?MkxzRUY2QUk1YkZsR08xdGEwZWFNNjU5M29hZzY2b2dYb2g0ZDVHNTlsdGJv?= =?utf-8?B?eFpweEE0d1pGR21OZ0Z0K0pXZFZ2ZHN3bFpXNjVrLytqSGczNWZOMTBlc3Bs?= =?utf-8?B?eGNTdnFTZTk4T0pncHZLU1o1dVM0T0VXTGFpU1lJZFZqZkI5cElkY1BjZ3Jp?= =?utf-8?B?OEp3N3lVMkxFcTNWZUFuZzVOaHliLy9MbmdCbURKTS84czFLMEMxKzQ4eXBy?= =?utf-8?B?ZU5NTFBIb3U1UEVqY09IOEZGV1hHcWtTREh1RVR0QzhKcHNMWjRJV2pHdzFP?= =?utf-8?B?bmEvZGZHUDl2VEhiZS9GS3p3c1RFZzhQOEpWamtnbklBZXlQcjZ5RUpqZmh2?= =?utf-8?B?SXptNjU1N2FuL1JtMEwya1B5aFgzQ1NoTGZsKzRQdVNXU0xkWDA0WVlOWm1a?= =?utf-8?B?clZ0elJKeHZTNThSTGtRcE1nVDVldmt4aC84V3ZvWHhFdm1MbENlRzBSNEtC?= =?utf-8?B?K0RoWmdqWnQrajYxT3dzQjVNaWYzWVc3ZEN3Z2lzSTVTYzZzUEhqSDdhWlZy?= =?utf-8?B?aWN1bHBSczY4cGRVdnNJRVVxVEVMcVJYd3ZHbmxydzRxLzQvdDU4TkJSeEk4?= =?utf-8?B?M2tBVkZQM3k5bjVOejN6VmxNNkFxY2VDNW02SlgrUWFWbi9LQkozOW04OTJ3?= =?utf-8?B?SERiNElWNzZSb0NhNVdoK2RUK2JiZmdVUDZnSng1N0tiZU9iMm8yakNPNHFC?= =?utf-8?B?VTcrRlZPS1A0MWw4YjE5ZENSVjdvUWFmZEw2eWRoR3lkRGdYU1NCL1l2V1VG?= =?utf-8?B?N2szeXRyNzNTQ3Q3cmNzdnlEQnlBcVFGM3NaMlFsamQ0WWJvdklMeENQeGY2?= =?utf-8?B?NDNHcE9ZeERoVVJLYUhva0kwRXBoYzRmRnViMlhYMUErUm5Ja25hNUhFNmd4?= =?utf-8?B?bEFXalA4eTJBWlJqY0tlTnV3NmpzR1oxUWhmMnNkdWhXdmdvT0w1MzZHRnNK?= =?utf-8?B?K3JGWk5tU0c0U1ZwK1RIQ2sxWHZpUmw0QktpSHQ4N0hEbmt4Q2ZOL0pLeWJT?= =?utf-8?B?MnY0VmdPdkg0Ylh3d3l0MTh6VHphcmd3aCtBUlUrWGRwVUFJbHJDbGFuTzNH?= =?utf-8?B?cEtPYmFXakxTQ0lpZ1JsUDRlVVA4VlFMQi8yaWl6VDFWQ08yQzVENVFxM2lm?= =?utf-8?Q?wL2MyVaXiJmOatdGNzxQmoQxYGgSVCrJuY0RJ5s?= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6053 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d08d809e-63d9-4e5e-aeee-08d9152e895b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G9cTpCGJs2cqsfMFJmEgbYlRB3dsHBjyOtlqJ+gSpwjqPswVkxwsTpHvWt0sFQ8Azpy9EuiPm9K4VAH7VKA1rc/AX2sXEYekOCOjtSJbkizxiu3gZT8FUgf2OehfMix1SPptxmD6ny7LzbsiLEyUe9L6ctgIculrzYKEJTGr6RGadhwX0SaJKh6ojF1uww+yH9QHg0bnJQXaRJ5YgR+y8yx/itl2stnfEOcW/RNqGpthi/S0u/31hzCqhJS0E4LcNE1DDHlK+GIktmiU3/k5AoGn5NzwyBKOhI/DkGXpp/UY4YoJzisfot2khe/YI57Swb6Py0Oa9M96knAK8KLP3+RABVjHe9M8MWcSwzx8Mo4oLnOKWPh4pl6twKBxHz7yjp/eE9Pdmlyuh45NEId4UikuA8+wiLneF0Uu3d0okOQbL0CVzgmG0T9OzNT3/jbYBkJD1yzqgQtZPRnxxD6xXZ1x00JcSVQsm5YiUrKNWek/Xo9k86Uf86gqj3TiYKzQ7cOYm9n4mDee6Gj1XsZGcqcMr02xnHx4IZ4a2AKwi9/YwcZfnht4ANJ1xSmtCEGP9bGzx51c6rVN5nS4Qmq2Qp/H5YE+85+euR1pfC7O/4mhiLdiP1tX2n1PipX3nvgU6j5tkfMf8B2v7COBLsQDicQdkcXUxWMw1tnfib3gMrFjU2Q3WPfL5Jkb8Z5nClp2 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)(39860400002)(136003)(396003)(346002)(376002)(36840700001)(46966006)(16526019)(47076005)(2616005)(54906003)(31686004)(956004)(186003)(8936002)(70586007)(26005)(82740400003)(36756003)(316002)(5660300002)(82310400003)(6486002)(2906002)(356005)(44832011)(83380400001)(81166007)(53546011)(70206006)(86362001)(16576012)(31696002)(36860700001)(478600001)(336012)(8676002)(4326008)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2021 10:13:22.1428 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca6f1a2d-6c1a-4828-50e3-08d9152e9294 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: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4238 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Hi Etienn, Thank you for this patch. Please find my feedback inline marked [SAMI] . With those fixed. Reviewed-by: Sami Mujawar Regards, Sami Mujawar On 10/05/2021 08:53 AM, Etienne Carriere wrote: > Build PlatformStandaloneMmRpmb for ARM architecture (32bit arm machine). > The generated image targets an execution environment similar to AArch64 > StMM secure partition in OP-TEE but in 32bit mode. > > GCC flag -fno-stack-protector > added. The stack protection code bring > GOT dependencies we prefer avoid when StMM runs in OP-TEE. > > Cc: Ard Biesheuvel > Cc: Ilias Apalodimas > Cc: Leif Lindholm > Cc: Sami Mujawar > Signed-off-by: Etienne Carriere > --- > Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > index cb3f1ddf52..996d4e4ba9 100644 > --- a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > +++ b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > @@ -16,7 +16,7 @@ > PLATFORM_VERSION = 1.0 > DSC_SPECIFICATION = 0x0001001C > OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) > - SUPPORTED_ARCHITECTURES = AARCH64 > + SUPPORTED_ARCHITECTURES = ARM|AARCH64 > BUILD_TARGETS = DEBUG|RELEASE|NOOPT > SKUID_IDENTIFIER = DEFAULT > FLASH_DEFINITION = Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.fdf > @@ -68,6 +68,12 @@ > # > NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf > > +[LibraryClasses.ARM] > + ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf > + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf [SAMI] I think BaseStackCheckLib.inf can be moved to the [LibraryClasses] section, right? [/SAMI] > + NULL|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf [SAMI] ArmSvcLib.inf is already present in the [LibraryClasses] section. [/SAMI] > + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf [SAMI] I think 'MdePkg/MdeLibs.dsc.inc' can be included instead, right after the [Defines] section. This will also fix the build failure for AARCH64. [/SAMI] > + > [LibraryClasses.common.MM_STANDALONE] > HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf > MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf > @@ -160,3 +166,7 @@ > [BuildOptions.AARCH64] > GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp > GCC:*_*_*_CC_FLAGS = -mstrict-align > + > +[BuildOptions.ARM] > +GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv7-a > +GCC:*_*_*_CC_FLAGS = -fno-stack-protector