From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id BE789AC0CD1 for ; Thu, 11 Jan 2024 09:05:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=0taGyY0HrRNJAS3hWnFwSB5shQvwcSAYxLnEzURWtsI=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:Authentication-Results-Original:nodisclaimer:MIME-Version:Original-Authentication-Results:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1704963954; v=1; b=q+RM7h8idbDW7RaXjLi5G28bYB6nKw1BKSkMPuF3ssJei4opwj4wVeaVPFdat5J3R6P0yQol JdY50TGOBQlWJWz0A5zX473mgjNVXzwuHuqQHj16vdxzeL5879vH+DY/wcsc6G0vTn5AXYnc1lh chhMlf+Y+/nvNrRUqQKdcGHI= X-Received: by 127.0.0.2 with SMTP id Wrh7YY7687511xWJwyh9UmVd; Thu, 11 Jan 2024 01:05:54 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.58]) by mx.groups.io with SMTP id smtpd.web11.7696.1704963952902275829 for ; Thu, 11 Jan 2024 01:05:53 -0800 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=LeO8hk2RerTPL5Lq3tNwPxxijFy2gSr57IPQsliKzjRMEjXcW1MAjXa7faJgjvMfxmfAPwnBIFU5qE5Y/4pSdSiyym5n6dsYdL72NKJG3Io/qKfh05kQQlDyqg9BqwLB0HAETEVU2K6haczhOJSRpWQCiLbZzwagtrrJAWQTzmU7KV6RKgJB7LPzmF6W+J6ro6KQcy/NsDEoyApRSO2tWBANTPRZK6ivvlKUs+uRG3Jk1cFShp3pNbB+92HnflWHZji0PQojQx0CaSaTMAyA8394uG+xFTW7VyDqDAmjTiCCQNQuC9w2rjf3KcCwSKgWIyYHbjYO8w1xnTHYOk8tbA== ARC-Message-Signature: i=2; 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=+N7coehmq6gSMCfGFvckRAMt6BVUjk8uXi1dFScdqOs=; b=hn0fLQK+iYCig8vTxcawP6mqB2AUD5/Vj297pSEY7qNduCZkOImkkTHxMhmEPsHxpWSQrDMSa7dF+dHvBlNZ7XtdcydzVUzr2RzWIkZ39+F/QMI35pATEY+2DN4RoM2HcvFzGW+miGK4U/yFNH3Ra4LCQx10vqQEtk/UYZfl5rsgFQFJY2sx3KtFclGRtPI7Mr/W/7+rT/e1/d5KjlziU9rYo/z3X/T/cFLTZUqyRiC1pJ7LGXs3Nc/TvgRvrqHBQBaNmlduCkWtmNaAB5zftAqTIcxcSTT7V15D8mBdFjDYEUnQICLLIG6Mk5kngk7zjUShm9Wfy9m4wTI6HaalIA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) X-Received: from DUZP191CA0006.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:4f9::16) by VI0PR08MB10458.eurprd08.prod.outlook.com (2603:10a6:800:201::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Thu, 11 Jan 2024 09:05:45 +0000 X-Received: from DU2PEPF0001E9BF.eurprd03.prod.outlook.com (2603:10a6:10:4f9:cafe::7) by DUZP191CA0006.outlook.office365.com (2603:10a6:10:4f9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19 via Frontend Transport; Thu, 11 Jan 2024 09:05:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DU2PEPF0001E9BF.mail.protection.outlook.com (10.167.8.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Thu, 11 Jan 2024 09:05:44 +0000 X-Received: ("Tessian outbound c87008563c51:v228"); Thu, 11 Jan 2024 09:05:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 26a7624825cb0b23 X-CR-MTA-TID: 64aa7808 X-Received: from 5ab308aedde3.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 06493B16-1FA5-446A-99CF-72305B22AD5C.1; Thu, 11 Jan 2024 09:05:33 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5ab308aedde3.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 11 Jan 2024 09:05:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PLtkjAMVIE09ImsDSudKpjHknwOVTfaSI+61f9tUqEWMO4cANMpmvLkbPrSXyHlC61kThmMDgUI0vjgxdgT5lpr0YRNd64e04BMdZL56z5WFNHa4vlvDMZprCFuRc3xbq9MmQAhpkXpnNipKT7TLeXiw8/7ExbsElL0zmQhe/XN4Ly33ieWk0Xy8ngIQZbRXHgoZx5aKUxSLcKmh0Fszo3NQeOLQfvWZbfH9QjUmN0ysqH/gvLQXz5AUtJa6KDzRms92euE+Gp2QRMn+vFDtZPF2ExZx/Dff4F/T2nyRYpgP4rZQXZfRrJiLlbhK7Jdu404MRWtROGHkxATo9Y5aWg== 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=+N7coehmq6gSMCfGFvckRAMt6BVUjk8uXi1dFScdqOs=; b=T4Tzc0aoyd+fMjPH3bq5W9OuVngZMdHPHX2RAGEL5ixY3iZYsIy7pVtXjNLWDHrLNkPuuypZWqW7rBdxucORioNfLro+wmBNj4Dy+dTDxu1o7ahFIpwCP7MOcwye+xxwzZU5sBBXDR8/f3ewLUTUFixJ7fxbSccxiO4oUyj9GpZorvGElGVcS26BabAnTJSURfYaFSdlt5nNtJVXPoJ6MZCt0DDlg7gcY2a+FD2dqeepTjhd+/jndX4Sv6R8qsrl/EZwRFohkWDkTQ1dt2rA7NdsuPByHBghQeP8emuojKmuM6d91j9jZg/j624D4DxhBpJgow5Ta1Q6sX50F3om7A== 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 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com (2603:10a6:208:148::12) by PAWPR08MB10308.eurprd08.prod.outlook.com (2603:10a6:102:369::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Thu, 11 Jan 2024 09:05:31 +0000 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com ([fe80::d1af:fce9:2334:731b]) by AM0PR08MB4289.eurprd08.prod.outlook.com ([fe80::d1af:fce9:2334:731b%3]) with mapi id 15.20.7181.015; Thu, 11 Jan 2024 09:05:31 +0000 From: "levi.yun" To: "Brian J. Johnson" , "devel@edk2.groups.io" , Laszlo Ersek , Oliver Smith-Denny , Ard Biesheuvel CC: Sami Mujawar , "ray.ni@intel.com" , Pierre Gondois , nd Subject: Re: [edk2-devel] [PATCH v1 1/1] StandaloneMmPkg: Initialise serial port early in StandaloneMmEntryPoint Thread-Topic: [edk2-devel] [PATCH v1 1/1] StandaloneMmPkg: Initialise serial port early in StandaloneMmEntryPoint Thread-Index: AQHaP81Hf1Dbor0epEaChKgCUYhJTrDLbfQAgAAKDYCAABUKgIAETHSAgANmrICAAAfnAIAACbUAgABAXQCAAMZZoQ== Date: Thu, 11 Jan 2024 09:05:31 +0000 Message-ID: References: <20240105114931.844886-1-yeoreum.yun@arm.com> <5a07db2b-ea25-495d-91f8-7b51ddd9ec75@arm.com> <51aea8c8-25bd-4630-b305-e4337284661e@linux.microsoft.com> <90dd9b46-b0a6-99f3-db30-4225c337e0a9@redhat.com> <5a9cd535-988e-4212-a0bb-f340d0b124f9@arm.com> <9e1c0701-c6f1-45a1-843f-5f4821eb6259@arm.com> <10e4dfd5-a086-4889-b531-f697fee022e2@hpe.com> In-Reply-To: <10e4dfd5-a086-4889-b531-f697fee022e2@hpe.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AM0PR08MB4289:EE_|PAWPR08MB10308:EE_|DU2PEPF0001E9BF:EE_|VI0PR08MB10458:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ded537f-97e4-4264-881d-08dc12847e84 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HBauzVgdfDbJB+sHBemKNT4I4vpGDBm4WfMAZ8DKl0SofKuPc7NMKQQQ9ZkH99nX5ti4r+4/12OLYDH/MShJfmQu0dFZKHwrZDzGhg8FhN3lovNZegnhfzVBnTNQ6oHLoTD9u6xtQLr6mch16NVXTsmTLWIrSFfBVPBnS2+7/+5FRFBOWJk32xqF/yIKhLfOhcDyj7AlLZTSa4kKo1Yc9cHRyK0ntPc35AtdNdcd5G+b6lHVyanXjN1E4zm9KywNz1xNzlSGeAhz6QMvUeTZA2diLRneWBrNP5kBEDJ3idBlN5bk4nkt9gzd+gAlnJIZObLMRnq7yqP0Dgoaxw2cJTgmXIV/xUBEek5wECM1315knZqqB4Ap2hf69lHRuPFCsqG043jPlBFdieVaFXj4Ge0dE2tc6WNHLKmwq+xDdFVUCFXsD2MPJ9OmSTPDhRN71HRZ0eEfZb3NUYBB2mbWDwHNYvT8tF3gJtZawXmkXCFk/8FdQXn9QRME224cGptsK8uLY/avsHZMGcGtKTuq7zY4lhjFOVQ/AGzF+dLBZbkm9iya85qoCjOye9peu3hzmTnEXuNmX/ik6dw6eAMgL/vwR6pd8ifroyMnZgSRF9sIYBgxJlwTTIC4Lw0gXggk X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR08MB4289.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(6029001)(366004)(346002)(376002)(396003)(39860400002)(136003)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(91956017)(52536014)(296002)(76116006)(316002)(66946007)(55016003)(110136005)(7696005)(8676002)(8936002)(6506007)(9686003)(66476007)(64756008)(66556008)(66446008)(54906003)(4326008)(478600001)(33656002)(86362001)(5660300002)(26005)(4744005)(2906002)(38100700002)(122000001)(38070700009)(83380400001)(41300700001)(71200400001);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB10308 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF0001E9BF.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: de4822c5-ae87-4ecf-82ec-08dc12847686 X-Microsoft-Antispam-Message-Info: rtcjYm513hTHuXq5G4rzlYHc9nqmo3LUetBK3hIpWFX7cImy6vtc2ksg25vKk1uTiBhfTdR+mqh5mDhtnutNccqBkTgtVF/LUKpqjjpter/iGsRXynbUmTp0M7j21p1wBJZzzQZumdT60lCAFx5D3OTCmFiyjBgJ4xK9w741WhnMSf6U/y4cLPNizk1rK81lO+H3wPDw82BF6ACmPBc54XkX2eR3j7qNyjkFs3Q4bfZ37QlQ8yE5NC9wE4Lq+NtFeeLeDoyv9EpZRhdmx3ORlFLiZKqMIS6b/E8JH4R1P78xxSUtPmS055oSZ+bGlp0CKOby7efbLF0L0/u8qXWRaeuUxa0edn78Bz06UmfsRyFSn8nK43cwSmY9o5etkk5mbehToUuSTRm2wWMKnQYk3CDvUmxhvRqHFt67NikZBoUyDyRYLikFWOh7KeVX/DnwmwhwcmpnUpsR672c+EFYuJXOgrQ++g3c+WaaZCrCCcFMe3kObWLOuye6GY8vhDBgFE5NtJDi11C1Rg6/XeyX0E6LHXbbO5aNFzmL181rSNoFXb9r3Fmy7ce1Tu91fcDYDyiIzUU3CL6X0DBf+dWvoOmz0TwX5ppW7C6ad8yg3Z/i3iLITY1/WwvcgldHzAKlDVLSu04wZjRdzQyKqwhpt4Zbk8R9Jywuvn+6hOBtPWf6iisCcTyyDVY6EtKmtwkJCtfJcshsMAdOkK0MQwTGN+yCm2EzDmRCHcHfDTAAqFz+YNzkqno/6YkU1TGXGPbF X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2024 09:05:44.7365 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ded537f-97e4-4264-881d-08dc12847e84 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: DU2PEPF0001E9BF.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR08MB10458 Precedence: Bulk List-Subscribe: List-Help: 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,yeoreum.yun@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: BTvFLOQ6jlSHPv84ebiCfFDCx7686176AA= Content-Language: en-GB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=q+RM7h8i; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Hi Brian. > Ard didn't want a SerialPortInitialize() call directly in the > all-platform StandaloneMmCore _ModuleEntryPoint() function, which is > understandable. So perhaps you could either: Thanks to corret me :) > 1. Propose a platform-specific callout at that point and a library class > to implement it, with an empty instance for general use and your own > platform-specific instance which calls SerialPortInitialize(). Thanks for suggestion. IIUC, It looks good to me to make something like PlatformEalryInitialize hook called in early stage of StandaloneMm and let it be implemented on each edk2-platform to initialize Serialport ea= rly and etc. Many thanks! 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. -=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 (#113604): https://edk2.groups.io/g/devel/message/113604 Mute This Topic: https://groups.io/mt/103540969/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-