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.62]) by mx.groups.io with SMTP id smtpd.web12.162.1591741068665030484 for ; Tue, 09 Jun 2020 15:17:49 -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=ED0wR7jS; spf=pass (domain: oss.nxp.com, ip: 40.107.4.62, mailfrom: wasim.khan@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YxaIJhlSVKijAwc9+zGyG9Sou9GWYVPoc+IE/cPrQz32tulnr8UmR2I/cbACIo4St0z7EjXYWyCmJ8G/VfE1/7mKU/47IvjbQ34lZbbD4uCQfGUsmWFQviNoOVORoT6gdmkfwRLLa5bhCJx2+5QjUibJ9swNouaFIW+qATp6f3fxmqRkTcWnWnOssYsyf86YUP2qi21k7GpOnqx0d4l6hk8hTMjGlJTxMc31kVNFgsrtee2PSuYDJS0JrrwkDbcvJZ4+D5yjgJcQA2ZsO6fEFb3LVM01kh4iIW6Z4tl0V3gLCOP+Dj2Wh3j3QQRazajx4uFdGVEQmifWiuthVUccNA== 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=MXkiHMcBjsc+D2hDFac69tOZo8t+3F7nJm3f4iF5YZ8=; b=EtSIIPojH3iJjtqoveDilxTAU01GCApDPc2RbCo0F6BOPwfHx+zEW3sV9cV23H5JAXan8Qzqrqrb3a5HbtvlG3Xl8gOZTB2pDSvaNhM3FVD0bQH1ABZOm09e/r2oJqyPYQTa9UPVzX35xKQL2YIzXdsY7T7nCZ0XZHEh8fe0kjfpDtIVBal83/7ZStyWCR31SJhBqcZpnIAfm54LY7CtSCWM+a1MRTVovD13UgeFvY8RHsQLEgJl6BaMs1k4/Ar0DxLk0ZdUuPccnoy9OSEXV/atNruwYKgiSPSXeJL8GVtGjcJu5AGb5JGLJkn1VJDTpCVUvTuAcAtEu8Ww4ypQEQ== 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=MXkiHMcBjsc+D2hDFac69tOZo8t+3F7nJm3f4iF5YZ8=; b=ED0wR7jS4UzgoVfnRWDqpedhW664vypz8jKAzPVEFbOP+535JyfF7T9oNfCLLCMO06sQ+xa9OaBoiJE8gElw5l8X5yWVo2ersLgjNoayNNbEzsvjbUXmGDZTPnCawASWUXgwU1UYDiNsXWRn/+CSL3rEfxuBoPCO70xTgHDIsUs= 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 VE1PR04MB6493.eurprd04.prod.outlook.com (2603:10a6:803:11f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.20; Tue, 9 Jun 2020 22:17:46 +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.3088.018; Tue, 9 Jun 2020 22:17:46 +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 0/7] NXP: Add PCIe Support for LX2160aRdbPkg Date: Wed, 10 Jun 2020 03:47:23 +0530 Message-ID: <1591741050-11645-1-git-send-email-wasim.khan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: PN1PR0101CA0004.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::14) 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 localhost.localdomain (157.37.179.16) by PN1PR0101CA0004.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3088.18 via Frontend Transport; Tue, 9 Jun 2020 22:17:43 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [157.37.179.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: fba19ca6-ef6b-4135-aa93-08d80cc2ef99 X-MS-TrafficTypeDiagnostic: VE1PR04MB6493: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-Forefront-PRVS: 042957ACD7 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hg4wXF5t4OWtZqW7s7hvFy4jmTf/q0DlL7wB0rzplKaT+EuxKhU1fICRLX6llWT+EijEbgBTSZgeEN3OoDGGY3qrwJNGxnzolwS2xN6b6RmGa+2SCGpMGY/vdWXxLIUmW6O6OlOIwWKNw4wiLXvR+n+d8Kve0v4yr3g7Cporz6iJ/0NyPZ6/7UWXnMn5ufI7O2RzY71JKMLkXEuSJ/ykyPo+Bu56xSBK4GBHjVQKX3jbbjP2lwKPHpuiu2PkIzauh0mrSYwEWTg/aIdtW/2NRPgWvntS54QqApEHPHNHuN+chpJWBVIMiQq6fmnt5ZpkUycWPlrhjG+xIDD7M2RVPU/aQtsirg1WIv9g/up/KQyyIy2AS1OkN7UfDFJ4oMGE 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)(346002)(39860400002)(366004)(136003)(396003)(376002)(186003)(26005)(16526019)(478600001)(8676002)(4326008)(8936002)(86362001)(83380400001)(69590400007)(6666004)(66946007)(5660300002)(6486002)(316002)(2906002)(66476007)(2616005)(19627235002)(6512007)(52116002)(6506007)(66556008)(956004)(44832011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Ut4yEh3EUFhygpVbneWNN9dCLimuR7/m0a1kBZuwrG4uPUsJ0IwV0pofMUCqA3uWx7vuItYclf1hM5bCd6r3IhMuTJrSBQrRqgTmtQfw6srwTBdAn543NLvIfCF9ckqk0tfQijtZGSrZUj2FqW5XTNyHaj9whRJQfmjCK25MfFUk1mFipYXXyZWXE9eSo2AmUTRb33pIej9bC+UIEF8wyaIH38O/j62BVHQW7FBD/ZqJ9Zk/ctHo4wqLY8yopHJzNTTCeGMGp25cUX7UGV5vzKbxyPdCuQ7/NBdbfzH7l7vi2z0PaJnO3VrdNHDQq2Qt+8aiYbYKGq/kG0CoFD/GLHsAMbiJtiW3iTr1ys+gfJ6xcQjs5TIz8P+tJqjjBWC58vWBi3RaxYwO36ZtP6ARDCboHIsZnjGRaOJBc/L4VdMzKyzlaHHd/VBxQqBvhQWJ1Gz9Pv/C0CmehVNJDdg8/jEjVkAbnl1IqgSxgC3p0ngNyXgWvporJh1cZC+R0jWB X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fba19ca6-ef6b-4135-aa93-08d80cc2ef99 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2020 22:17:45.9537 (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: YWBsyMxcOu239zpi8LndUs17jJ/l48i1uZK1bG/lA/4AonGREvGfnSoKsRVfujb0KDibgRDg7P1ingUAJsUn+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6493 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Wasim Khan This patch series adds PCIe support for LX2160aRdbPkg. LX2160-Rev1 and LX2160-Rev2 has different PCIe controller. Platform driver checks the SoC version and enable corresponding PCIe controller and its feature using dynamic PCDs.=20 PciHostBridgeLib and PciSegmentLib already has support for both PCIe controllers. This patch series dependes on below patch series: 1 - Silicon/NXP: LX2160A: Add SerDes Support 2 - Silicon/NXP: Add SVR and DEVDISRn config configuration Wasim Khan (7): Platform/NXP: LX2160aRdbPkg: Add PCIe space in VirtualMemoryMap Silicon/NXP: LX2160A: Define PCIe related PCDs 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= ++++++++ Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1= + Silicon/NXP/Include/Pcie.h | 1= + Silicon/NXP/LX2160A/Include/Soc.h | 8= ++ Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.c | 96= ++++++++++++++++++++ Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlatformLibMem.c | 38= +++++++- Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.c | 6= +- 11 files changed, 227 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