From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com [40.107.1.83]) by mx.groups.io with SMTP id smtpd.web11.13481.1593413127271828367 for ; Sun, 28 Jun 2020 23:45:29 -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=TTNeVysL; spf=pass (domain: oss.nxp.com, ip: 40.107.1.83, mailfrom: wasim.khan@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=anFyE8rNFshxdAl98LIGK7FWZSoXbXU+yCIEKE6LJrXMO/U/scWB6YaIVy6VII8V/naf0uLhK5w7HBDwXbpnrZ5MHFsxu3oUA3Ui1TFg5lzmysZckZix7DUqiDFNfpNX0GY85W7KHhC84KNBe2r5E/I4BnHLSzyxtHXyLxPz6Tq32AgIuSYMW2RJMG6T2kJMdJQlqSboNu0U4KDbGd1QP9Bxv15yPFcdos3Sa3VywShhiyfk3DxI2/Q7vxnSZTtoKAHTh1SFyTxkwTsXR2uy8VaVCXg0SdhW8gsl2RcK3cRXUj5kEdfgn7uBtONNHad3RNXNC3MPQksr516tLsZzzA== 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=TMPeLCipEGvY/ifjXYNqgsQ8jOYfagl2a712GOoY/Vs=; b=Tr1NzRfPFXcV0TD/DTjUe71WWy0kjCNBtlbHurPoirNR/10OZOW18n0byFkgJJj/fPviHeprtA/qxGyywml2kSm5GwUvWypufdwESvUBnllE1FkjRqUV8TttDrvFgplj+gmtPC/ayFH1UsZ+9thi1TjMNSD1o2J1qF3fnVJ32EHKoMLe/Yqu59s0+t8czTjPEqNqGR3XSXNH+izye7PSKtXG2f99/tyjmhI2yNi1uZhoi0gi5r9S+U9b/ZV/Jzmfkn/hb4USJcJm4I+UHPTSPFB35su2zcQ8nY7W9MZ7muyl4UAXxdOozZhs67Ma3rY5Uf7TG7dr08wjYXoFC2MA+Q== 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=TMPeLCipEGvY/ifjXYNqgsQ8jOYfagl2a712GOoY/Vs=; b=TTNeVysL5G9Ehgolu6exD2SZNW/a2k1gFbNoSXoPYOU8NRhvOS8cDdwwfD6P6fXYAMmrZgbAOd9cuXPnwfyc4Bg2MXkvUPeGGLmZ48Cm0cN+lRyTjNqrgTptQwDSb58pbjFDoF7kUhj0V95c8ENieu8gHmFLTIA4H3A4xgkPxTc= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=oss.nxp.com; Received: from VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) by VI1PR0401MB2512.eurprd04.prod.outlook.com (2603:10a6:800:4e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Mon, 29 Jun 2020 06:45:24 +0000 Received: from VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225]) by VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225%7]) with mapi id 15.20.3131.026; Mon, 29 Jun 2020 06:45:24 +0000 From: Wasim Khan To: devel@edk2.groups.io, meenakshi.aggarwal@nxp.com, V.Sethi@nxp.com, ard.biesheuvel@arm.com, leif@nuviainc.com CC: Wasim Khan Subject: [PATCH edk2-platforms v2 0/7] NXP: Add PCIe Support for LX2160aRdbPkg Date: Mon, 29 Jun 2020 12:14:59 +0530 Message-ID: <1593413106-1672-1-git-send-email-wasim.khan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: BMXPR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::23) To VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) Return-Path: wasim.khan@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from wasimk-VirtualBox.nxp.com (157.37.149.241) by BMXPR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3131.20 via Frontend Transport; Mon, 29 Jun 2020 06:45:20 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [157.37.149.241] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2492b450-ce9a-4235-8871-08d81bf80029 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2512: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-Forefront-PRVS: 044968D9E1 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fH7PdPajOg7b25NxBlPprqlm0JnVKLEBFjSFMFVvt44t00igXOSv1SBeGzEvf6+P9Oyix0lIoTevSFmU7vmm3fely80lJLDzRWy5fMpTZpchsLmYgCowOO5bRrsM6r75HRST9vg2WdJUTdYjdqFvbCCIpo0v1MVwSr4S3/YSOMVRzzxKdGvVVqp4CLuCwHL1WVv3Ez9avrLbxEZstBxS49tXrbdWgHUkqG8ckk/2vIlQe3yphqfrVTvmFlpYAfxaKjWLtbhG1rrNH/DRo0MeYZ+gxXb33Ou0ArME9vFlJMuPMyVutz8FDLeIMSmWNQnrnQVNyXievgwlwa2t74T8m5Cak9HaKBjXexlnNnC3qc6McUpNQY/7ngBmCWb208NgwzGnZ+WUvYzXQ634+X2GnA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6702.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(376002)(396003)(366004)(136003)(346002)(39860400002)(6666004)(8936002)(6486002)(66556008)(66946007)(316002)(66476007)(186003)(16526019)(26005)(19627235002)(44832011)(956004)(2616005)(52116002)(6506007)(8676002)(86362001)(478600001)(966005)(4326008)(6512007)(2906002)(5660300002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: tDELhu35jFKCvTGrlPKCfSgCpbbWBJRBRGyIg6aVNxn7bqH5/ZF4v7eGCeilgo89gdaCZ2bbypuLBBYZXVMrR3L/2pmYa7jgBY9jybV9vrlyVq1N4kf7F0M3sjk/nHpU/Vbe6+iNlebVGqbbLTudCpMOUF4MJAOeSpsC8emTxzXO0maju9ffrQS9S0b252sBMA1CUEwykW/rRGEwHPQ1Y6RBTvRxWm6aZThrR0j1Gr54P1Fcvs34B9UL+vPqX4FFyVnG9qk50hg/NlAitVfGXM6jO4vS+0Nu0ec3ZHvvQEp4yeRGfRuRZrUuSrBvIUe3cSXzdlfZ9kgaznRfQiysOWc9/kQ1Sav2/yWgdcDrVGWCE1YSjEqephE0/OLRcLdTuelax5yO+cPFw7eCJ2D5d477wHguNENJjjgMsMwartmupZDIHSXfL1o4crFj71tonXpZ5ftwJmUM7W93fiLrh6qmhBaW94ohTkf78JZgg1EXNBKif/S3aYlR17rruU7h X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2492b450-ce9a-4235-8871-08d81bf80029 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6702.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2020 06:45:24.4914 (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: D0n8x1CsIM3KbTbDZmzhiQnMBcqWiHVH031pX4xRXRPHPIUkjPbHif+5HD0Zd4EjJFy4AK8BqUP5e+vl8mmp4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2512 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Wasim Khan LX2160-Rev1 and LX2160-Rev2 has different PCIe controller. This patch series adds PCIe support for LX2160aRdbPkg which includes - Add PCIe space in VirtualMemoryMap - Platform driver to check SoC version and sets PCDs for PCIe controller, w= hich are used by PciHostBridgeLib and PciSegmentLib. PciHostBridgeLib and PciSegmentLib already has support for both PCIe cont= rollers. - Enable NetworkPkg for LX2160aRdbPkg Platform. Changes in V2: - Addressed review comments on V1 V1 series can be referred here: https://edk2.groups.io/g/devel/message/61062 Wasim Khan (7): Silicon/NXP: LX2160A: Define PCIe related PCDs Platform/NXP: LX2160aRdbPkg: Add PCIe space in VirtualMemoryMap Platform/NXP: LX2160aRdbPkg: Add PlatformDxe driver Platform/NXP: LX2160aRdbPkg: Enable PlatformDxe driver Platform/NXP: LX2160aRdbPkg: Hide Root Port for LX2160A-Rev2 Platform/NXP: LX2160aRdbPkg: Enable NetworkPkg Platform/NXP: LX2160aRdbPkg: Enable PCIE support Silicon/NXP/NxpQoriqLs.dec | 1= + Silicon/NXP/LX2160A/LX2160A.dsc.inc | 5= + Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc | 22= +++++ Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.fdf | 15= +++ Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.inf | 36= ++++++++ Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.inf | 2= + Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1= + Silicon/NXP/Include/Pcie.h | 1= + Silicon/NXP/LX2160A/Include/Soc.h | 3= + Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.c | 97= ++++++++++++++++++++ Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlatformLibMem.c | 11= ++- Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.c | 6= +- 12 files changed, 198 insertions(+), 2 deletions(-) create mode 100644 Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/Platform= Dxe.inf create mode 100644 Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/Platform= Dxe.c --=20 2.7.4