Message ID | 1533915580-31805-2-git-send-email-bharat.kumar.gogada@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show
Return-Path: <linux-pci-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0797514C0 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 10 Aug 2018 15:45:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5F3A28518 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 10 Aug 2018 15:45:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9DBE286C5; Fri, 10 Aug 2018 15:45:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 258E628518 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 10 Aug 2018 15:45:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727662AbeHJSPf (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Fri, 10 Aug 2018 14:15:35 -0400 Received: from mail-bl2nam02on0081.outbound.protection.outlook.com ([104.47.38.81]:48192 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727422AbeHJSPe (ORCPT <rfc822;linux-pci@vger.kernel.org>); Fri, 10 Aug 2018 14:15:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X4JzRgS6Do/LAuM/TyGaO4Mk1zC13x8arDhESBMQAKU=; b=JYJHGsGkpNuqzIUD84IXIkTgSLOnGlMdjnhD8mCWT2OI5oATP45uIijd76ufXKhEZuqgIsX6vop7fLB3b24g5LNE2hUv96NZ3mbg1edlWGOk05RUt9qq/s8fE5nQZ5poubzrk56/cxlzEhBdwQD6y/z0RIBrKY7sC9fBfAZNFEE= Received: from DM6PR02CA0032.namprd02.prod.outlook.com (2603:10b6:5:1c::45) by DM6PR02MB4460.namprd02.prod.outlook.com (2603:10b6:5:29::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.19; Fri, 10 Aug 2018 15:45:08 +0000 Received: from SN1NAM02FT051.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::201) by DM6PR02CA0032.outlook.office365.com (2603:10b6:5:1c::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1038.21 via Frontend Transport; Fri, 10 Aug 2018 15:45:08 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT051.mail.protection.outlook.com (10.152.73.103) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3 via Frontend Transport; Fri, 10 Aug 2018 15:45:06 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:45990 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <bharat.kumar.gogada@xilinx.com>) id 1fo9b7-0000H9-UJ; Fri, 10 Aug 2018 08:45:05 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <bharat.kumar.gogada@xilinx.com>) id 1fo9b2-0006lu-RD; Fri, 10 Aug 2018 08:45:00 -0700 Received: from xsj-pvapsmtp01 (maildrop.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w7AFivLB007795; Fri, 10 Aug 2018 08:44:58 -0700 Received: from [172.23.37.224] (helo=xhdbharatku40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <bharat.kumar.gogada@xilinx.com>) id 1fo9az-0006kA-9h; Fri, 10 Aug 2018 08:44:57 -0700 From: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com> To: <linux-pci@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <bhelgaas@google.com>, <rgummal@xilinx.com>, Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com> Subject: [PATCH 1/4] PCI: Add setup_platform_service_irq hook to struct pci_host_bridge Date: Fri, 10 Aug 2018 21:09:37 +0530 Message-ID: <1533915580-31805-2-git-send-email-bharat.kumar.gogada@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533915580-31805-1-git-send-email-bharat.kumar.gogada@xilinx.com> References: <1533915580-31805-1-git-send-email-bharat.kumar.gogada@xilinx.com> X-RCIS-Action: ALLOW 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.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(136003)(346002)(376002)(39860400002)(2980300002)(438002)(199004)(189003)(51416003)(47776003)(76176011)(50226002)(107886003)(4326008)(356003)(2906002)(36386004)(48376002)(7696005)(50466002)(6666003)(305945005)(36756003)(8936002)(9786002)(106466001)(106002)(446003)(16586007)(126002)(110136005)(63266004)(8676002)(478600001)(316002)(11346002)(2616005)(186003)(81156014)(81166006)(426003)(5660300001)(336012)(54906003)(26005)(486006)(77096007)(476003)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR02MB4460;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT051;1:HZ+AHAN06TLtb1MMFhkn/PRkuvyRTadtsns7aYW2CSeHqnehOfXJ5wTjdzqU0EgH4qWu0HqQ/exuieoR4t+inPLZFavaApNJJpv1wTMRjlfp6DqOPtpBC9nddy/tUKDg MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f6ffd4fb-6bfd-4a53-d801-08d5fed83fcf X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:DM6PR02MB4460; X-Microsoft-Exchange-Diagnostics: 1;DM6PR02MB4460;3:YnmZsfQ1fERanQUxrF/b7hkomKBsmOERzBAobYPsoLKU2d8vCgWZEuGPt5uHKIXsEG/3hU+mXC1+blIGhDpoD3TYMKEuvX28wJbPYmXOK9C5+w31R8csscao00cnFDRwrSLx7kos/3rItyjmeJWkuV+PkrJlabgeZtp4E1dy+QWQaqyRKbwVOvMfaZDBgds56RitntrosjsJx2vFudBoSF3HI9eLV0eGVdSwkvsHTEHTxRMvbEsKBghjmXgWMy2eBl4TJClkagxODGwfiEQQBJRg7bJV485jxR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EO+oqTI+Eu1wpCfYopNsNKUmc43wUqNHC8rdHe4UwlmsIGQEUtpn5CZIPJafBtADHtVyKlYnSibec7s3d4RX/n1xUzBz4vtRR8vrNwV3CREqjvl6zsjCpRE/LMDnvVBHiPFXD61AF+f1WdAV1C8RMdEUiEUdlsef9nnpqkUe1/gP+JvU/roiDCSh3HV X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: <DM6PR02MB44606B3FCFCC175B9D5EE00AA5240@DM6PR02MB4460.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(3002001)(10201501046)(93006095)(93004095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:DM6PR02MB4460;BCL:0;PCL:0;RULEID:;SRVR:DM6PR02MB4460; X-Microsoft-Exchange-Diagnostics: 1;DM6PR02MB4460;4:ShuYbdbpicH/g3mhtAHz8vGnSwP71w3gZ4MDQzFG4ZC7gN/A8P+IgaGbHzqHuzzHgyHEGG9+Bf4Wm8VAotOIhDahVmGEkJg8UO+cV3MBP/1S2XRpMY3dQOSj4F7LNIaCFP1/AuX2ujOBRFo/ghgjF0QpsPa2rAO5vMBhnhX40WVAbC5ufwfu3OtbfUe3uMUueS7X4zqPtqTjqjp7XrrGaYTshoLACQMA3uB/ZMQiXe7caV30VFgiw69Lx8UYpvTtjrlnuSyh3svZHoLVPm53AzvFTZbkIw96DQVGJmNJJrd3hLOqrnlXddllBSACYHjK X-Forefront-PRVS: 07607ED19A X-Microsoft-Exchange-Diagnostics: 1;DM6PR02MB4460;23:X7w6R1O1J44AnAAdAXdiecgmW4+g4Jq80hFVEA4F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to0x0vIRAg=;7:a/rGM/LV8pbZrWD9HYYHYUIEBw1RP8PYkS1mG2OZQmRVbWxpAGT0hOTPQPLwO/4sP2W+B1O/rYG+OcDxAtTDZv4XbNZDgfOINXC3rLXVvRy7PR3WIsimW3D4MjysWZhoav1wgAnRFDVEYO0aoyHc+wUf+L7mUdrfb6PFUnBO2s8DS4WKpyX/wDXvb/4ki8quaLCke5IFVtLNIbJWm/cGWSvFOpKzacj0t79f6zbB57Hvc0Pi0/d1MZBkkhjcYB9u SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2018 15:45:06.8207 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6ffd4fb-6bfd-4a53-d801-08d5fed83fcf 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.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4460 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add support to register platform service IRQ
|
expand
|
diff --git a/include/linux/pci.h b/include/linux/pci.h index 340029b..c28f575 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -470,6 +470,7 @@ struct pci_host_bridge { u8 (*swizzle_irq)(struct pci_dev *, u8 *); /* Platform IRQ swizzler */ int (*map_irq)(const struct pci_dev *, u8, u8); void (*release_fn)(struct pci_host_bridge *); + int (*setup_platform_service_irq)(struct pci_host_bridge *, int *, int); void *release_data; struct msi_controller *msi; unsigned int ignore_reset_delay:1; /* For entire hierarchy */
Add setup_platform_service_irq hook to struct pci_host_bridge. Some platforms have dedicated interrupt line from root complex to interrupt controller for PCIe services like AER/PME etc. This hook is to register platform IRQ's to PCIe port services. Signed-off-by: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com> --- include/linux/pci.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)