From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com []) by mx.groups.io with SMTP id smtpd.web10.4563.1594185595216121857 for ; Tue, 07 Jul 2020 22:19:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nxp1.onmicrosoft.com header.s=selector2-nxp1-onmicrosoft-com header.b=I8Wilr2+; spf=fail (domain: oss.nxp.com, ip: , mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a4i0y2DahLjDaRrb4+5ZfGAggIoozeXAjgLqD1vDNCSC+43ZoGSAkkrEDIfd85YhC0yk6tnce645/XaqE+UtMfcyxImf4zSnaOfPcF/mkxOBk55ZUsDvnMTGEGFz2kRp9fWzyOJ885uA2l7KtpoTNUWg7ruldDoxtMZ1xBnhizJlbt0BOmKIZYswUM1K/PZZ+idpXlT9Q2wyv7P/3UHtEW05DEWD1wxoVg6euVIjoDIJEt3s4+mtNBoe72gVUH+XQWkoj4rgRlupUaHg2geQ6fzrC7VHdG7XRWn34eom3ldreuOxTOusWrzVW9lRwcuV7hFJefhGxiHCLuZsaSpSfQ== 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=HKDQ8NPxAaU4mB3mnLWUYC+IVATtfCFddM1MQxQ24M8=; b=MagKj6j6FbtQhNJ7Da67Vmvif9NS8MapiUcJGvY+KZX/F0cAvU2yCdi/q6ZOTbzlD3XmTJVhxvg8gWZOtTkaDHEY1Be3rd4IzrZHk1le9O4eRX/3kwFdSgXYej/JUjOQNlMoHLOAn4Tlrwkiwkxlul4/OFfZOb71YhkrqFeDwG+cLUeuYpeNI7PXAMlfpRMxYYoq/n9OAtotIyYojXmywyVffPtsntjVZVyYNgn2Uu2x8Z0dWceVqkWDD2zvDg6cKbG3yy0RFy/b1lBr/I57oGi6lSZ/XdHOLj7TKl0H7iAwKq8GBDfmlMKePdKxXa+1Ik0imSg4vcapnEBOx4JXeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HKDQ8NPxAaU4mB3mnLWUYC+IVATtfCFddM1MQxQ24M8=; b=I8Wilr2+Hd/E+R9eIydTnciA/VXPklZavDdcKV2RasNj658TkJtBLA7rrjxgef38qXUMowQRzDRLgTBK8jLHYvCpO8F6Mg5Nuw2Eh7YsHQbU0xfFK6sDIv6rSdzYg6fktXBuS1q4K5f7bi6jCb0t83rYR7mHYdbrbHwxtWbHHn0= Authentication-Results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) by VI1PR04MB3248.eurprd04.prod.outlook.com (2603:10a6:802:11::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Wed, 8 Jul 2020 05:19:54 +0000 Received: from VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::4521:b667:cf06:b79b]) by VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::4521:b667:cf06:b79b%7]) with mapi id 15.20.3174.021; Wed, 8 Jul 2020 05:19:54 +0000 From: "Pankaj Bansal" To: Leif Lindholm , Meenakshi Aggarwal , devel@edk2.groups.io, Ard Biesheuvel Subject: [PATCH edk2-platforms 1/3] Silicon/NXP: Use runtime safe version of DebugLib Date: Wed, 8 Jul 2020 00:19:31 -0500 Message-ID: <20200708051933.8123-2-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200708051933.8123-1-pankaj.bansal@oss.nxp.com> References: <20200708051933.8123-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: BY5PR16CA0015.namprd16.prod.outlook.com (2603:10b6:a03:1a0::28) To VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) Return-Path: pankaj.bansal@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from TFTPTOUEFI.am.freescale.net (64.157.242.222) by BY5PR16CA0015.namprd16.prod.outlook.com (2603:10b6:a03:1a0::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.24 via Frontend Transport; Wed, 8 Jul 2020 05:19:52 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [64.157.242.222] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9c9ef71e-5028-432f-9edd-08d822fe8bfd X-MS-TrafficTypeDiagnostic: VI1PR04MB3248: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2201; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D5VxtHM9PNEf++tBULEVzl5pQsbRRQL5NndJpWKLkEISBuwYk+IqPoFoNSNSVdMVg0JXS5LpPE0NCgaFQ2SomVbaFjm5RoETSQcIxygqSVqHLkXA1QCZLW+ZX0SjpJsTn26/pzRoJ1iohDJoDLaSZjsTlnxLg5IwKsaieYbO8gBguQzNTcno8E8NDA2HdQpcPoMyfkpEhIrSlSDtoGtpT29WO9OPjm8+Qcy9q+uK4vJYGlCZdXxxDlHDhJ6y+6BO8wTXWDI7h9ZrGQ6j4xPMRILPRnU2W+GGZ9fDLwe7+whPzRC14QTLByYhw2m+JxolfMfsFc/uTVXwGYhNOUvyiw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5933.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(39860400002)(136003)(366004)(376002)(396003)(16526019)(52116002)(956004)(2616005)(5660300002)(66556008)(26005)(2906002)(478600001)(66476007)(6506007)(66946007)(110136005)(1076003)(44832011)(186003)(316002)(6512007)(6486002)(86362001)(8676002)(6666004)(8936002)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: waIVP8krYh4i+F723NR/LWuBSfp7sbE9hePAAsqWDm1Ep+AkDPAZCn3kp1Bp94eJmOimh8qq8cs1XpW543Qzm0bIycTEou1unQGPNyD2i4ILLtLaTA6FzYRZZOqW5wb/ixs1AdAA7HaUPTsdEEThGiCXb4GGs0s3d8Xv7+YliYT0YxHpGu5ULb0/ch+Prrmhqe0DQt2CdX7xSsKgEeRJGu1X5Nds2OimY9q/HNo9SGb5Cmnh9Be8CT4NpgYoqrta11/mFyaOzbL0hoPxJ4b9GDrukKiFDGONUvZ7q7lHnUKhDUJvEpJjaWQIGzaBLCMxP6Tw+GnEDRZ3eeWmErf8DW5BmK0FFoSWb/vDCyEFVS/s3s6PSaRLFRw9N1D3hl6s9GiVRvgn8/mYYv+jmOvQxaRoSF4RNKK1AqcND8eZGqdL9m15zW9eGv9vPDk2X6HisGYF0OLi+Mh0ma2p9cKejXn+oGfTbC/ycghfVksi1ns= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c9ef71e-5028-432f-9edd-08d822fe8bfd X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5933.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2020 05:19:54.2175 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FIDLhQkqrjRHeHk2BDvDTDZpnxNWmU+81ZzlJ2h++GGDrKg5ADDHW6M8oxtYz2c5GqIiNgiTadsZAXJxuMjayA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3248 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal For DXE_RUNTIME_DRIVER runtime safe version of DebugLib should be used. Otherwise, any DEBUG print in code can result in abort in OS. Signed-off-by: Pankaj Bansal --- Silicon/NXP/NxpQoriqLs.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/NXP/NxpQoriqLs.dsc.inc b/Silicon/NXP/NxpQoriqLs.dsc.in= c index ee639d552483..06ee012c227a 100644 --- a/Silicon/NXP/NxpQoriqLs.dsc.inc +++ b/Silicon/NXP/NxpQoriqLs.dsc.inc @@ -163,6 +163,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/R= untimeDxeReportStatusCodeLib.inf + DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibS= erialPort.inf =20 [LibraryClasses.AARCH64] # --=20 2.17.1