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.86]) by mx.groups.io with SMTP id smtpd.web08.5229.1633989145940396545 for ; Mon, 11 Oct 2021 14:52:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=mYcQsOTu; spf=pass (domain: arm.com, ip: 40.107.21.86, mailfrom: samer.el-haj-mahmoud@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=K7lqQ90/8NBH/7dtonNzmDxeQC4yu5yQ2bUKyYY/4V4=; b=mYcQsOTueJ6LkYDzoZKL6AARHGFOUtEm4Pww8c+0LP2zysBt+/rPMSXsctVCsDey/usK5QBUd9ARADTyioIxviLuLcpGNLZs/muL/vix28/tG4c+cNte6/ai5K8plNmRlL3EOMGWtyEASStQlOZkpoTv6WDDrS/rirjvtNNsexc= Received: from AM7PR02CA0018.eurprd02.prod.outlook.com (2603:10a6:20b:100::28) by PAXPR08MB6943.eurprd08.prod.outlook.com (2603:10a6:102:135::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Mon, 11 Oct 2021 21:52:22 +0000 Received: from VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:100:cafe::9c) by AM7PR02CA0018.outlook.office365.com (2603:10a6:20b:100::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25 via Frontend Transport; Mon, 11 Oct 2021 21:52: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 VE1EUR03FT045.mail.protection.outlook.com (10.152.19.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18 via Frontend Transport; Mon, 11 Oct 2021 21:52:21 +0000 Received: ("Tessian outbound 8e26f7114b75:v103"); Mon, 11 Oct 2021 21:52:21 +0000 X-CR-MTA-TID: 64aa7808 Received: from 1d9d071a2a2d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 923CD4AA-7AE8-4979-AE80-AA4A1CE53328.1; Mon, 11 Oct 2021 21:52:15 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1d9d071a2a2d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 11 Oct 2021 21:52:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U0//cDPxlBBG4WJEihHqJLis4nhB0ePbYlropHf9lhpaLVwqJn41x4qQ4FzM+HRoondN0VF0t+/d4D7jYk1khMKG+ePvS8A/PIL7cQD8LCD3EsciyVwwHgxTmfX0eYGcs7+ZH0eIlIT+t7KMCuwOPsCQ8iLVumy08ssxQdNdwVek4PQFzYzhAve/4hwa9BLLZ55Da44pk4pAoVpu23lOhA2l4RuyUIsPNEU/4/ffYy9J7JhpG8/IJoqYvP9srNRxzb6HYffHARM8zMd7a7Dp7LDzR76nUtc9YrcKh/7pxawj4Y8tIJGf/2K3XZn3fteMiDQAbKnqpufgwwNU6bRTzA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K7lqQ90/8NBH/7dtonNzmDxeQC4yu5yQ2bUKyYY/4V4=; b=HzV9z5TPXtry+MPRVDJJW8iB6YA9hZFbSxysRB2qQoiYodW5zdoH3gfgtX9H9i+Q8Z6LssLkMOt/blncldHDRqY1DExF7LpOfPCRLyldCRE0WxBYo08rNUDg+huRxywwZrdBqldm3efuQirFYiDsbbJrAM4TlZvM1W4loj0k84H/PRmrux7pMuZD14lklUXR5NaAfaNbaMix+bRzmaSg0EdcBispdJajcIngRoM8LcTwT8hFD+NNmOVY18uS8PBOep1RKEaW1M3rUL1Ez8JMYY61WQjCB/zz5YyULvEEfKNL2tPCWTcTyc/SFRCbaVYcZ4IoJE6pVfkVWA9j3Yy4qA== 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=K7lqQ90/8NBH/7dtonNzmDxeQC4yu5yQ2bUKyYY/4V4=; b=mYcQsOTueJ6LkYDzoZKL6AARHGFOUtEm4Pww8c+0LP2zysBt+/rPMSXsctVCsDey/usK5QBUd9ARADTyioIxviLuLcpGNLZs/muL/vix28/tG4c+cNte6/ai5K8plNmRlL3EOMGWtyEASStQlOZkpoTv6WDDrS/rirjvtNNsexc= Received: from AM5PR0801MB1715.eurprd08.prod.outlook.com (2603:10a6:203:3c::10) by AM6PR08MB4916.eurprd08.prod.outlook.com (2603:10a6:20b:ca::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25; Mon, 11 Oct 2021 21:52:13 +0000 Received: from AM5PR0801MB1715.eurprd08.prod.outlook.com ([fe80::1b:d9ae:845:a07d]) by AM5PR0801MB1715.eurprd08.prod.outlook.com ([fe80::1b:d9ae:845:a07d%11]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 21:52:13 +0000 From: "Samer El-Haj-Mahmoud" To: Leif Lindholm , "rfc@edk2.groups.io" CC: Ard Biesheuvel , Ard Biesheuvel , Sami Mujawar , edk2-devel-groups-io , Rebecca Cran , Gerd Hoffmann Subject: Re: [edk2-rfc] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64 Thread-Topic: [edk2-rfc] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64 Thread-Index: AQHXvpt5dAcYvFC4skG+/RxDf1RUkqvN1N4AgAAPwQCAAGvncA== Date: Mon, 11 Oct 2021 21:52:13 +0000 Message-ID: References: <20210925021752.20678-1-rebecca@nuviainc.com> <20210928111435.poztq4cksagsogbw@leviathan> <20211007094125.soldrzx7wfoa5kyw@leviathan> <20211007110236.5p63sfsxnlrx7tix@leviathan> <20211011150150.prd5y43ncczp7qkb@leviathan> In-Reply-To: <20211011150150.prd5y43ncczp7qkb@leviathan> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 0EF748152EB2024C8B05B5891D3CA867.0 x-checkrecipientchecked: true Authentication-Results-Original: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: ca4c21ae-c821-4c61-7acf-08d98d016770 x-ms-traffictypediagnostic: AM6PR08MB4916:|PAXPR08MB6943: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Ju0yBlfHsZOF+9KHuzI/yTuzpdGXD3aiF8Vx/ZeNwOeK2QZDPn2xt5N9Z/wjjQWl89N7f9zSr1UKF/8laKmCsP1SohvJJ8b5ZJoVgOL3xw+CBLOc1mRLYz3B6hu1Yd5z+UQfegs3+JlnHdmUOHIU/ixs5Ai3j3k/M6VWsIiVY8h5kN4txuPc+ndMBCmU83RIkQV5inGohKLXV/EkksE1P23v/mYGFdEbPe06e4jykd3FRS5ebYbu2ql3skx/2b2KjkpILDF5YvlMFzG0A/n0MuOZnZ0ccaECLpSQDrJko2wd3+cdpoFNJGs1UbYXyRjo49jwqFdMyvo8czhCSDIhdVdkCSHdTbi9282r80+8+P9jCDhQRBTkONWZgRFtF63ogFItQITbr8jANJt3mpNkjQxrNwQDwtC30RCVajqGbKLCOql/U8Lp0JMhnYrySgwfSOhg3dDDBgbX0HkCEqOsEUwzx0NWqRIWxShTVWIE7K3dYQ2QQXYETft1Bh28F6lRyqYUJRNJUUgJ/xEPhI7FMOcgmHKxZvbRO4p3eiOpoHlm0Qiat8y0nKSrL78hXnwnwOtESOJNJa43il5W8zD8chG1yrLM8KKvZVm4FDbB3lFKnmxI70qSSU2hC/fIGgODVIN3CPLMPMPOKCaX5Z3AGn79kfqa95L74IJogkrTLDzNpg4AuU1x4l3ho12u1dm1kX1f/TvRkW2EYJNrKerX/A== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM5PR0801MB1715.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(5660300002)(66556008)(2906002)(38070700005)(8676002)(86362001)(508600001)(64756008)(66446008)(66476007)(4326008)(54906003)(110136005)(6506007)(122000001)(52536014)(7696005)(26005)(316002)(33656002)(186003)(8936002)(38100700002)(55016002)(71200400001)(76116006)(66946007)(9686003)(83380400001);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4916 Original-Authentication-Results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: c6210e05-bdfd-4fd0-68ce-08d98d016286 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l7Rh/9qfCNu4c8GebiVW8bAAhspmXUdS0/xutMcx9tpI3i4A6d32QhDRFQV1zska8HPS+Mkfiq3qxUslk6pauAh8GoW7lNYIbhVFz8imWxeMfkdoLv0MCdeMKFoe8ZSfoIpHBfOPk08e28TQ+S/2PngQ/3Wp7uCIzwIQe8ZcI2bT9pBD584eG/VP4h5rtdLj45ttSyfd0EB0ORD04mCAcsPKPwXUeqVEPd0Fs7uPJBjzyoMNrehWlXUQvfw4SWwZLaZcv3UAdC/bhW7HDpNjAkngYCcKO3k559AfgZ07BGKfviJskB1ad1k/LgmSx1oqvhOTeQQb+//keV4R79QsI2P93ej7rGwFpsqD9zb9793o7WezUm02AyPNThIY0AL9mSR2lh6UT/IKi3Z73a7NcwTboH0vUTS/nElLGKWm3Sk7ZOc2OE3PkGWJ3Kixuq89bQargTXc8/ZuiF0rQRnJIzY/1tsVPYxGHKJGw5Hx218EMVniNSG3d/jsS40P+qjGCjzu6P3EhL/F01PYV2tcr5qPpaJ43asNzx+GplY8WzySbmYNm+pFj5Zd8fGnHyJqTFP+4rzuvN/8CXw9zmf6S7HiEh2Gde/LdHGu/Ibc6fYDTFjMF0eFmJwZInkFRI+6PPHpXMd7tAsBdmMaXJJMzqxeqFn1v7++ZWqhTtNqUG8uoh8gbfrPgXZgDD2YM4vo9H9M1LxySHLmW5n31IAiGA== 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)(36840700001)(46966006)(36860700001)(47076005)(6506007)(7696005)(2906002)(55016002)(9686003)(83380400001)(186003)(86362001)(336012)(508600001)(316002)(70586007)(450100002)(82310400003)(70206006)(4326008)(26005)(33656002)(81166007)(356005)(107886003)(52536014)(54906003)(8676002)(8936002)(110136005)(5660300002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2021 21:52:21.7765 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca4c21ae-c821-4c61-7acf-08d98d016770 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: VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6943 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Leif, > > > > But it might be good to hear something from ARM whether the use of > this > > > protocol which "must be produced on any system with more than one > logical processor" > > > *should* be able to rely on anything being set up for it, or whether = we > > > need an aforementioned helper library. > > > > This statement (from the PI spec) is overly ambitious. I bet that it > > does not hold true today on most DXE-based UEFI implementations on > > other architectures, not just AARCH64. If we agree, I will file an > > ECR to remove this statement from the PI spec. > > That feels like a weird response to the submission of a patch set > adding the functionality for AArch64. > Agree this comment is not directly related to the RFC, and should be direct= ed to the UEFI Forum instead, so please ignore my comment. > > > > From AARCH64 SBBR systems point of view: > > > > * The requirements from Arm SBBR point of view are around using > > PSCI to online/offline Secondary cores, and leaving them > > offlined before ReadyToBoot is signaled. > > SBBR is not relevant here. PI covers firmware internals, not OS > boot compatibility. > > > * PI-based UEFI implementations are not required. And even when > > they are implemented, the EFI_MP_SERVICES_PROTOCOL is not > > required > > So ARM's strategy is to encourage people not to us it *in* PI > implementations, even when it is portably implemented on top of PSCI? > Arm does not have any PI specific requirements on platform firmware, beyond= what is in the PI spec itself. Arm's official requirements are only on OS= boot interoperability (SBBR). For the RFC itself, I personally do not have any objection, and welcome the= addition of this protocol to AARCH64, as long as it utilizes the PSCI serv= ices to achieve the OS boot requirements. It may be worth getting feedback from Sami since he is the EDK2 maintainer = for Arm platforms. > Regards, > > Leif > > > * I agree with the analysis in this thread. EFI_MP > > implementations on AARCh64 need to be severely limited in the > > general case. Platforms (upstream or downstream) can still > > innovate and write their own code to run in these services as > > they wish. > > > > > > > Thanks, > > --Samer > > > > > > IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.