From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.50]) by mx.groups.io with SMTP id smtpd.web12.21392.1621854002881534773 for ; Mon, 24 May 2021 04:00:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=xy4S6P/g; spf=pass (domain: arm.com, ip: 40.107.4.50, 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=OK0RDk/OoP7I/BHRkCAyDZGuIt5MAMqfi6qZNKU0sqM=; b=xy4S6P/gV30df5JvkhG5JN+kHVlCiY2Dmiu+iyznLSgPoWEAZRFkvBM+w6hkaFK9EHBzGo2IgZSCjXonzkMZSJvfyIaHVK5+LhG3AL0YyVa+9Jl29/EX2N4C/MU1F5/WeO2nxE4X5hqAQJuRufh3vUgun/C8JTIHbt7jX1tw82g= Received: from DB6P193CA0017.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::27) by AM6PR08MB3160.eurprd08.prod.outlook.com (2603:10a6:209:45::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.27; Mon, 24 May 2021 11:00:00 +0000 Received: from DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::2a) by DB6P193CA0017.outlook.office365.com (2603:10a6:6:29::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23 via Frontend Transport; Mon, 24 May 2021 11:00:00 +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 DB5EUR03FT022.mail.protection.outlook.com (10.152.20.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Mon, 24 May 2021 10:59:59 +0000 Received: ("Tessian outbound 504317ef584c:v92"); Mon, 24 May 2021 10:59:59 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: dee9181bb191352a X-CR-MTA-TID: 64aa7808 Received: from d1ec65b4e170.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D9732CBD-1BCA-438C-8FC8-5C211B219D5C.1; Mon, 24 May 2021 10:59:53 +0000 Received: from FRA01-PR2-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d1ec65b4e170.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 24 May 2021 10:59:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f4/EjBHCUBZs7VgGGZ3h3HYcnqwD2e5ygxU2n00yVqx9p3537rLYBS8LdtPW9aN485DmK5nbm77SfalRRUpQuSu8ug9wGN9HGfZQkLk7fyskDm33Vh439D1dakDTprrZg5cEj8fzWD1DvZiG3v0Sw3064g60Tgc6PNsdgW4r1TzJWo0VFEaRCQ8wbl+j5EeM8pojTmIVjOt4KNWiwKBFUtpD22XaEybrc3wyCedevtutwiHKRWDD6e6H3LlKid0zyaZre5x2zTaFHK7MtkN1fZdhu/xit9/Nt8bRSMrVH49wNEhvVPbV7Q9wtQUndJZ/w2IsQWvm5Ntsn9MGVqAu+A== 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=OK0RDk/OoP7I/BHRkCAyDZGuIt5MAMqfi6qZNKU0sqM=; b=KX+2b3E9OuRAMg8GZDu8XZ7NUVzulRxM/0twzYtfcfoYZp33MU/nCZUrVF02kVzTS6lyhdl/SNUE749CLovxWAn6iS6jC6FaCkd0UvdYOkPhUVDGP7XvGxdvt79xfyrB9lGO2mjIi2RFEmiO09YDXUX8kL99I4K3N8e3ZY7QHFWpNuTmHmPzfOycWe0vPFVDECaGef6p00okLhk/cG3DZ2dm18tSEIPUiBGD+6oz6psKGYJu4bpdpOueOK56SWVhoGFQcKMz0wyYs2tVUyG630/xJ5RXqi/Is1APSh0Z1i82jtmSGge1JVM1PbQLQD0YXn3ugmrFsBkwVg0UIlHq7A== 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=OK0RDk/OoP7I/BHRkCAyDZGuIt5MAMqfi6qZNKU0sqM=; b=xy4S6P/gV30df5JvkhG5JN+kHVlCiY2Dmiu+iyznLSgPoWEAZRFkvBM+w6hkaFK9EHBzGo2IgZSCjXonzkMZSJvfyIaHVK5+LhG3AL0YyVa+9Jl29/EX2N4C/MU1F5/WeO2nxE4X5hqAQJuRufh3vUgun/C8JTIHbt7jX1tw82g= Received: from PAXPR08MB6987.eurprd08.prod.outlook.com (2603:10a6:102:1df::15) by PR2PR08MB4889.eurprd08.prod.outlook.com (2603:10a6:101:1d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.27; Mon, 24 May 2021 10:59:52 +0000 Received: from PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::7c65:78c4:8d03:62ad]) by PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::7c65:78c4:8d03:62ad%7]) with mapi id 15.20.4150.027; Mon, 24 May 2021 10:59:52 +0000 From: "Samer El-Haj-Mahmoud" To: Marcin Wojtas , "devel@edk2.groups.io" CC: "leif@nuviainc.com" , "ardb+tianocore@kernel.org" , Sunny Wang , "gjb@semihalf.com" , "upstream@semihalf.com" , Samer El-Haj-Mahmoud Subject: Re: [edk2-platforms PATCH 2/6] Marvell: Armada7k8k/OcteonTx: Fix RT debug prints Thread-Topic: [edk2-platforms PATCH 2/6] Marvell: Armada7k8k/OcteonTx: Fix RT debug prints Thread-Index: AQHXUF3M9rTWq1+4yEOgL7r6Ezc7r6rydw7Q Date: Mon, 24 May 2021 10:59:52 +0000 Message-ID: References: <20210524052919.2496579-1-mw@semihalf.com> <20210524052919.2496579-3-mw@semihalf.com> In-Reply-To: <20210524052919.2496579-3-mw@semihalf.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: semihalf.com; dkim=none (message not signed) header.d=none;semihalf.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [99.132.126.10] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 321e0f71-9545-4dd0-0d84-08d91ea31326 x-ms-traffictypediagnostic: PR2PR08MB4889:|AM6PR08MB3160: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:2449;OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: g3A49tZMU/IoLlOgYjl7HbtYgi/dWvFErku3lnMusNt41ZiYXVT2/Mvbwd4Mc3Qn4FhdtpHHk1POT7ad78ONHC66o54cIgx8CMC4kGh5p9Z+Dko+kb/SIR5HF+5FTwV/CgV+1ChibAW5CUOQbboPRbKPt/YK/ccspwHDQQnc6TqQv5xL3nerkHCAZrME+qTdINvUGATKOGQj9lY4Zu0wFvv/ydRO6K9D6Br4dfktahXg2wx9kKWee7smlR28L6640sgS61fLmSXLqMnlMj4UPGV2Sc7AOxtVaIh4ABrZFRTJx7lLnNJDU4W7ijNA2UOXtPd+THj3rf3Qqef1bVaEr+fN1VCm2/JBcXWWF1ZsLeUmKLoq6ECdOoha2O9Bav1G+8b/+aKbUCn0unCZmCPdBW3tXazQP+e+6QmdDoff5fcewk/Y4fuGJ3HHOKKsCJd6x+KMbvhL96zvCD7aznZMjOs3F+l6ItZR15j+9lmOFCKv/42dSTA+033k0TysBjNMgFbwSHutPiCnftNz4Hab65jJGfsJOysB4PtEaKKEwBF7OCmntoq5RXXO27Skzgj+HU+jfhRCQZt4uQbnS7qXGGci3QzDveEvr3mnidRITa8= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR08MB6987.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(136003)(39860400002)(346002)(366004)(396003)(53546011)(6506007)(71200400001)(316002)(52536014)(83380400001)(8676002)(9686003)(4326008)(478600001)(8936002)(26005)(33656002)(86362001)(186003)(2906002)(66946007)(76116006)(19627235002)(110136005)(54906003)(38100700002)(122000001)(66476007)(5660300002)(55016002)(66446008)(64756008)(66556008)(7696005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?ZmPoBKWjRXVEOVugsYngy5ToTU0Kgp5O+G8ZjrX8T2Qg4I0voYL7hkYvaeDh?= =?us-ascii?Q?GPNh5xwrplr1aIvnjgpsEoLcaM6a9jYCvns3EcisaKolwdnaFo6u3dnSeisE?= =?us-ascii?Q?fZNmW652vvTQR2cV+l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9lRqGU++jQ0Dl2jQ4aMIschcX4liA1/+GKa3crQKnqiDhlVuJkJQQjcT1i?= =?us-ascii?Q?BCVQWibgjTh9hpgqucUC2SsvzLaenQvgP/8FQDIJYRfBr9dw7crvKbhmOmUw?= =?us-ascii?Q?dSz+TzDOU9CTe5J+SwlGtZQQ+9IGHBKJWVPNf5mpA6cw1cXWKGfbmsi2o7Ne?= =?us-ascii?Q?mZtd47uW3FBl5oL9Mbp/UcVp5R8TPnEnIZznRK8spyCvlBroMBDH830/8LgB?= =?us-ascii?Q?4XbS2SywRSF5DXYiNndpv2bcpftB76EoH5MT0IVZ4Tnmeg/vSTMrkeMCc/OZ?= =?us-ascii?Q?sIV/6v55k1r+EaG2L8eqIu3w?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4889 Original-Authentication-Results: semihalf.com; dkim=none (message not signed) header.d=none;semihalf.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: DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 19a0d374-1afb-4597-f333-08d91ea30e95 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6EDp0OZPX1HTzFrnkzX5ewf8I931jGJuX2va3v6Dv5dUjf2LLOeTAcbIEVbZv5JD1NSW35+7QfPs6iCtsi4vgysVL2L/PX1JCXxOtXyGjviecJBhazf09hMfYp+2QAhDgFdBbpUGFWfGsxBE5nOmBY/3N7XvOycHpgbPtZxH8H6o+wJp5G0cq7/bAikVLT6V2/XM9xZiu+Z2yNMxfkfiAaVCbI9kWs/R/BTiVIYgd/p3Ajmg7Haunt/bvBpjrqM3tCLjWuDmhfyorT4FjdSofnuUg/psuhtvBNuGS1gc6DtQn30e/snI/2oE7iClaF1NyXs+P/ud8dL6O1PIcWcIEaeJq0U7uVWi7uwPGA/7TSDhWJvhCYaxalcZKrZcLIGlxxQADmVV0mZQKGSBrLlu1rvMS6r3BFI9/d8XBwe6RrstlCeB8zmZp+oEprK+5uvpbeV1O/n6IB075cpRCAdJNndCvKrh3Rjxj3jwatkbkaL5Vsn8LxZcfBBtjhfQsoWlxEWLw/KtYZIIrnDX1DKOgjKk9Twu5JaLFWGwb44jMHd7L7QqSCyF0SwWYKouQTna3f83YCnFt1xfZW20s2wh3ixqPHUYrGIgsUkd20kouqLEyAB2NqxLP5qXh4ppq3m319sF9BhPq2N3LhNe9vBLSrxfmkRLYCEWP/NHT7I7WEY= 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)(346002)(39860400002)(396003)(376002)(136003)(46966006)(36840700001)(82310400003)(26005)(52536014)(9686003)(19627235002)(4326008)(47076005)(5660300002)(36860700001)(53546011)(478600001)(7696005)(70586007)(86362001)(2906002)(54906003)(110136005)(82740400003)(316002)(70206006)(336012)(83380400001)(356005)(33656002)(81166007)(55016002)(6506007)(186003)(8936002)(8676002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2021 10:59:59.9329 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 321e0f71-9545-4dd0-0d84-08d91ea31326 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: DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3160 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-By: Samer El-Haj-Mahmoud > -----Original Message----- > From: Marcin Wojtas > Sent: Monday, May 24, 2021 1:29 AM > To: devel@edk2.groups.io > Cc: leif@nuviainc.com; ardb+tianocore@kernel.org; Samer El-Haj-Mahmoud > ; Sunny Wang > ; gjb@semihalf.com; upstream@semihalf.com; > Marcin Wojtas > Subject: [edk2-platforms PATCH 2/6] Marvell: Armada7k8k/OcteonTx: Fix RT > debug prints > > Resolution of the DebugLib for the DXE_RUNTIME_DRIVER library > class was limited to non-RELEASE builds. This caused crashes > during FWTS in case the RT attempted to use UART. Fix that > by allowing to use DxeRuntimeDebugLibSerialPort in all kind > of builds. > > Signed-off-by: Marcin Wojtas > --- > Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc > b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc > index 4cdafe8b1f..939fbf14d9 100644 > --- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc > +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc > @@ -195,9 +195,7 @@ > !else > > > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.i > nf > > !endif > > -!if $(TARGET) !=3D RELEASE > > > DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDeb > ugLibSerialPort.inf > > -!endif > > > VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLi > bRuntimeDxe.inf > > > > [LibraryClasses.ARM, LibraryClasses.AARCH64] > > -- > 2.29.0 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.