Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3759601ybl; Mon, 13 Jan 2020 02:05:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzwQ0PwJoteOZy61JWi/bMIeUjBPv3OSwVX3xPeQ6WAB4jSyNJ7y0KeLuY7ttTKIPqp6Pnm X-Received: by 2002:a9d:624e:: with SMTP id i14mr12797340otk.371.1578909920861; Mon, 13 Jan 2020 02:05:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578909920; cv=pass; d=google.com; s=arc-20160816; b=kVnPFU0Tewxp9KQ43VxojvfxLJf9XIQdSk47qLg3oIIhp6/unnv2KBMrofNu0Fwp5Y G06vD1NabrzfbJlhzUdXal9QEQHZJ4KBMz0Ow/pS/Y84W8pxpG7LgWpmxlNmP60dcVxO pO/uOMRusIkquaUOTSRQ5DNBcISQQDS8VT7Fzmc0WiylC+FwHQVSlSwMjjaQTcfWSwbl xDU3bL8ldm3LiieF4RlbodNUrA2Bl23Yq14n9+J8g64pXKDUcK3pLAnaYkB3tA8oHfeN VGx6+Kj+TKX1LTbH4uKSRL+yfOv/bWPff/jiMRjIQ4gzoF22FQGBBKnPHfRYTAkRESVz AVRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=p5zHngbkWyYuY1iUrN1UUCLewEbJc3dtlVWzTQj+3N8=; b=CtAASD6OIDG1MP9rYF5yCfumhBEyFQ2FeS/4Q5tlhyDD/Ng0AyO8WHlm6LoI7VKLAe IAfGO+MmUNON45+RrU32UxqmaAxVtkwl9b9UjHp63Mrvk14/o40EX4K78+iDg2VB7BPm ITlchBNL8KA9cCW9P3LGNRHLUO50beRX0NeM2KpePW6RNz+MkNvelDNYH2mo/beCEuYo 3gyriz6LFu3ms9raYsB3KgBoW6EOl+TT3HMSOTEE0Nljv7N4EZWAcuBeJ7d0COxv0Tix SFyUihrsieZl0KdkzgZTnbWi15jk9jrbFofqSRMXtLj8zalZj8X/rN9EUSFK5IF3L05/ +K2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=fFDbB+Ez; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si6250428ota.43.2020.01.13.02.05.08; Mon, 13 Jan 2020 02:05:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=fFDbB+Ez; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726480AbgAMKEG (ORCPT + 99 others); Mon, 13 Jan 2020 05:04:06 -0500 Received: from mail-mw2nam10on2087.outbound.protection.outlook.com ([40.107.94.87]:28096 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725992AbgAMKEG (ORCPT ); Mon, 13 Jan 2020 05:04:06 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gkOLIccrA8RgGRvHrU6/6DUCFcGqk3tm210UWGPrQyOtJ2cAuRgwIwTr6iM5Cltopq3EVa71IAD1S+bJhZlwI1u6CVIiWpKm5LldnNYw7ARtme5W2XWXaUzztAyQRdkiBBufVvxp3wlHLQbbEZULRpAPsi28Zu1hiwHSTwwG2X34yAS3e8duWL8WhkPfYr+92hoR8e0zUMYjTEbAimzyQBqc8TL6MIZ3lilSAr93C6P1SGhsY8RhCVSdG9OgAcnhbQiUwaQ/KEVi+78by8NyXhptXEah95oQL07wFBbOg1ZU46D3JdYdA9khPfoSdd1k43FNnbYHN+YWFh9t0uONUQ== 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=p5zHngbkWyYuY1iUrN1UUCLewEbJc3dtlVWzTQj+3N8=; b=G/ETSQ39s2ImUQ0ftXTrtcU1dQWba7BTrW764e3tLK5ciKLmPUqqDLNQ1AU99NVT6RaBPK8EKgAfP8poW/83tAvFCGV/gAaAR3h5YMLd866IcHVMd+xunKLNfTImi0ylE9p77AIoHRRyjF6McHxE8POcZ2jxHzaKSJVbdj1d0w2T5+HZTAotSWr6wA3Wg7gwZa9HY7Hr1i5biYMSgFEbACDnyKoPhC/4qER8GopzOI6zACqtv9cquowG5xHWg/yyZQmaH+97P8g6nTXVgNRvTehZwYaSX8lfersFi1yynafFzpSscav9L9KBm/zImLZzr7iwycQ/NYp/mp6o1xUwFQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p5zHngbkWyYuY1iUrN1UUCLewEbJc3dtlVWzTQj+3N8=; b=fFDbB+EzaxiEKvxRPuj8tRqNkx2dIamprFNlocCgHOMNDFpqAOuO7zDvwZqf07UWI3GrB7tL/78Z+jVsGVVdx88hAUYqTlXfmcv7b/3qftEJeLVGWQyphuIKHOr5RWYNw9OCRCFl+ssyIz0XNPnnNjka1vp6glLoTflITeI8Ouk= Received: from BL0PR02CA0034.namprd02.prod.outlook.com (2603:10b6:207:3c::47) by BYAPR02MB4101.namprd02.prod.outlook.com (2603:10b6:a02:f6::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.15; Mon, 13 Jan 2020 10:04:03 +0000 Received: from SN1NAM02FT034.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::206) by BL0PR02CA0034.outlook.office365.com (2603:10b6:207:3c::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.13 via Frontend Transport; Mon, 13 Jan 2020 10:04:03 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by SN1NAM02FT034.mail.protection.outlook.com (10.152.72.141) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2623.9 via Frontend Transport; Mon, 13 Jan 2020 10:04:02 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1iqwZm-0000Rv-C8; Mon, 13 Jan 2020 02:04:02 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1iqwZg-0007Wa-Ur; Mon, 13 Jan 2020 02:03:57 -0800 Received: from [10.140.9.2] (helo=xhdbharatku40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1iqwZe-0007VY-2j; Mon, 13 Jan 2020 02:03:54 -0800 From: Bharat Kumar Gogada To: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: bhelgaas@google.com, rgummal@xilinx.com, Bharat Kumar Gogada Subject: [PATCH v3 0/2] Adding support for Versal CPM as Root Port driver. Date: Mon, 13 Jan 2020 15:33:39 +0530 Message-Id: <1578909821-10604-1-git-send-email-bharat.kumar.gogada@xilinx.com> X-Mailer: git-send-email 2.7.4 X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(396003)(189003)(199004)(107886003)(36756003)(81156014)(81166006)(8676002)(316002)(426003)(8936002)(26005)(186003)(4326008)(478600001)(336012)(2616005)(9786002)(70586007)(4744005)(6666004)(356004)(70206006)(5660300002)(2906002)(7696005);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR02MB4101;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;MX:1;A:1; MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 75ab98c8-5ad0-4638-2f1d-08d7980feae7 X-MS-TrafficTypeDiagnostic: BYAPR02MB4101: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:3513; X-Forefront-PRVS: 028166BF91 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C2YJxLYVdCRm4YNaSQrh7SQeQP4KXPIjcYbwo1tqSDh+cRTpsJja4EM5c3720flr2wXGXpOdPeXUDYMsmhlkRBVuZkUy2ppzlpbQWJjIrKs2pZGEVrlnx/XNJvue5PUjl2MIBgJrT2/dakSbq+kMzLMZ7YlqJPYkQOGvsRamN0lHeB2d+jlAQvothJkP/h1i4zFfYlusDoZ6N9BvVs1SlI+u3AGeQsC7qPkTfDX4RhNil0q1PDFMvKO6bzYP+Pia2p5jhgak++xe8CmY40vZSGTU1gFtUgcdWdSr4roiv4mB2j2OiI0hsMgHIAfn7ZGkaVjW/QYSVOpHMO8tCrp3PVGYdheLLha5nO7thd62FE211yRTKdivQj/s5Y4bBbm6zt7UTpLtTeo4S5jTA3SCPLwowBuDTOAyHLDZoKFoYOz1TGQAObYxtXDuwC7MSlMw X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2020 10:04:02.7524 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 75ab98c8-5ad0-4638-2f1d-08d7980feae7 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB4101 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Adding support for Versal CPM as Root port. - The Versal ACAP devices include CCIX-PCIe Module (CPM). The integrated block for CPM along with the integrated bridge can function as PCIe Root Port. - Versal CPM uses GICv3 ITS feature for assigning MSI/MSI-X vectors and handling MSI/MSI-X interrupts. - Bridge error and legacy interrupts in Versal CPM are handled using Versal CPM specific MISC interrupt line. Bharat Kumar Gogada (2): PCI: Versal CPM: Add device tree binding for Versal CPM host controller PCI: Versal CPM: Add support for Versal CPM Root Port driver .../devicetree/bindings/pci/xilinx-versal-cpm.txt | 66 +++ drivers/pci/controller/Kconfig | 8 + drivers/pci/controller/Makefile | 1 + drivers/pci/controller/pcie-xilinx-cpm.c | 505 +++++++++++++++++++++ 4 files changed, 580 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/xilinx-versal-cpm.txt create mode 100644 drivers/pci/controller/pcie-xilinx-cpm.c -- 2.7.4