From patchwork Thu Sep 1 10:14:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bharat Kumar Gogada X-Patchwork-Id: 9308757 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 15153607D6 for ; Thu, 1 Sep 2016 10:15:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05508292B1 for ; Thu, 1 Sep 2016 10:15:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE3C0292CB; Thu, 1 Sep 2016 10:15:44 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 133A6292BB for ; Thu, 1 Sep 2016 10:15:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932240AbcIAKPT (ORCPT ); Thu, 1 Sep 2016 06:15:19 -0400 Received: from mail-cys01nam02on0044.outbound.protection.outlook.com ([104.47.37.44]:34400 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751167AbcIAKPL (ORCPT ); Thu, 1 Sep 2016 06:15:11 -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; bh=C6Zc+ca2iaDe+Eq50EIeaAiRyapAq7qMXXRDzMNPqNU=; b=GeMIvmEHyLGOzDaka/0TbpIW5Gl/pkM1Fk29jaSjnFaK111NKJCPAEgiEeW8ibmQt1UWp4IMx/8P+JRA4eakV6BjPKVrX0x0e9tHiOyN7Ink2oVwrSkWkNCPUxdzSgV5IjvmqUW3XmSGfnTmRfVVC6QmZGZHjKYtKJSuPFUdWcs= Received: from DM5PR02CA0050.namprd02.prod.outlook.com (10.168.192.12) by SN1PR0201MB1503.namprd02.prod.outlook.com (10.163.129.157) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Thu, 1 Sep 2016 10:15:04 +0000 Received: from BL2NAM02FT056.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::204) by DM5PR02CA0050.outlook.office365.com (2603:10b6:3:39::12) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Thu, 1 Sep 2016 10:15:04 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; wanadoo.fr; dkim=none (message not signed) header.d=none;wanadoo.fr; 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 BL2NAM02FT056.mail.protection.outlook.com (10.152.77.221) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Thu, 1 Sep 2016 10:15:03 +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 1bfP1Q-00038e-RL; Thu, 01 Sep 2016 03:15:00 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1bfP1S-0002Ls-Nb; Thu, 01 Sep 2016 03:15:02 -0700 Received: from xsj-pvapsmtp01 (xsj-smtp1.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u81AEqDh011701; Thu, 1 Sep 2016 03:14:53 -0700 Received: from [172.23.64.217] (helo=xhd-lin64re105.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1bfP1I-0002If-IX; Thu, 01 Sep 2016 03:14:52 -0700 Received: by xhd-lin64re105.xilinx.com (Postfix, from userid 45489) id 86E58CA1C4F; Thu, 1 Sep 2016 15:44:51 +0530 (IST) From: Bharat Kumar Gogada To: , , , , , , , , CC: , , , , Bharat Kumar Gogada Subject: [PATCH 4/6] PCI: Xilinx: Dispose MSI virtual irq Date: Thu, 1 Sep 2016 15:44:44 +0530 Message-ID: <1472724886-28301-4-git-send-email-bharatku@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1472724886-28301-1-git-send-email-bharatku@xilinx.com> References: <1472724886-28301-1-git-send-email-bharatku@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22548.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:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(76176999)(189998001)(2201001)(19580405001)(5660300001)(19580395003)(106466001)(87936001)(11100500001)(63266004)(52956003)(103686003)(86362001)(229853001)(356003)(5003940100001)(33646002)(42186005)(36756003)(586003)(46386002)(81166006)(626004)(8676002)(81156014)(305945005)(50986999)(47776003)(4001430100002)(36386004)(7416002)(2950100001)(90966002)(2906002)(107886002)(5001770100001)(45336002)(7846002)(8936002)(50226002)(4326007)(92566002)(48376002)(50466002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0201MB1503; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT056; 1:fMQ3qMHZr2J4YJnEhPKvxdENlRWSrZWkF9y5Gari4ODb+1+SrMgNl8Xh/Q9RJPKRyHjbDxsKaNNIWVlRugzlvaEtPYAtYS2/SWRFt90gmTW0tsCbyZE+Obbv5pdflPrqRCeh98N7gUzB1V4xr4+Trp7lAU67+Fi4jaCsl1Do1XA0qJpZv47H3i0aeLBvunMS8UTRUO8I6d3K2VettI+QxnoLq+XyXbPrmD3EhilsMCfaK3Fiv8R1xXCyZsaMcBsvoSKYT2y9n2XjcC6mkGy2hZ+X33uK91ozJKE88FIwNkTkOgG1apJCd6Q8+CGKRbUD7grGuHYUfZ+XkhpM4WziRDYJc96aTGWFJmMpV7s6PRfrHpr38QMN99s4be6QdEMEQWI8Lg4kNIp1Uj25KN3cM/Jtw7XrD/sjTeLwJJOLTKBe5jjzJ7MKZT9FZHpbNU6RPaDvB3498LYqcgFnPTiGuo48JNa0dbGviG8gT4r79t7HE0BbeztfgsFNRFxDFdLpHwge2Wsi97cOQScKTeZWnyphtgVfragukGYD81TdpOhoqDkxc3K6WdtMoyAm6LiitbaaQJoBQa0vQ7ucCJ5SWeoJ8dBYm8jy21p7C5P0NJaXtV0nG/RXwLIozuHHLOZFHGId/C2xJwkKR/U0mx7EVQ== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3e08912e-b76d-4ae8-f245-08d3d250d71a X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1503; 2:VhaeFx4sxkLwCEuHjDgYUUg4nsxpvzo9FmdTNb51In1A7g6BdL1r8G1WGeUxQxrIqQA1bzPgJoSgkB24eMkfc0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Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(8121501046)(5005006)(13017025)(13015025)(13024025)(13023025)(3002001)(10201501046)(6055026); SRVR:SN1PR0201MB1503; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0201MB1503; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1503; 4:u7k/zXwjDsfjAaaUpfstmul/OouAAZmWC4xjajKn82hxG4z9rj1uWXtYgTX7zsm3yEFzM+SWd/nO38irJVzicUZw3j0hoh2X7CDDhzT5UO9xDOdOVMRAURUcfMCUK5N+/wkjVkshq4rnY2GDWSrKdxksuDlN0hZHQflnJd/qIo/Z2Ky1CRQournfTWm3pmCFhr1XhsrhDPQ5CJN/Ks0GZuYzaWae/2hsMVa24jtjOAvLfuQjyWBgGbh55PP30pVH3vw5Dez0kU8rY3kEDNNO98ALqux3WecHS7kj2+Y9qhAMdxh87AsnybMLeV+abApCbINi0vZ9a3s9HqFMGZ9Fo4124yoawCVVM4xfTcTPF59dvt3NgCySZ2RrmU8R/UBz1NxqaYar+kB6KEtzjh0VHNkMbvu3ivXzocxIhhj83pB/+VRvEi7Z2G9abO1m8R59cZC4kBAvqQCZ3vB2Zd5NA4nYp/M+PXLMTMqijf9boi4YiTFkHSfo4Y/iAW3RD2jSKnQkeTs1fhw54nYttbmNRnnKpq8h6ZNgaqGQLgLsRFI= X-Forefront-PRVS: 0052308DC6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0201MB1503; 23:3StzvR6NE+YX8v5wAKlz2KQLCYkTbZT8DVHZGtx?= =?us-ascii?Q?qURiSGEAiheLJqTsdM1I3rDkPjfuWg90r5zoUbsUkzc/3wV5WK8aVEAb3dPJ?= =?us-ascii?Q?CJU6Q74MA5dikaqT2cbUOZY/rBgR/HQDcCelMf5mnZe62qFGgeGulEmu2XnB?= =?us-ascii?Q?Iqfyym/92VPX4xVRQRM+J9NDiNj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ClJNSTMR7YOoBzmJnICHHFvXhJnA9Ix9b5xy7j8iRdStwLGxq48f7EYRx8Mpn7Y7phGpatKxNUdKWuTzW5XIP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2016 10:15:03.5580 (UTC) 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: SN1PR0201MB1503 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Dispose virtual irq being created for MSI interrupts. Signed-off-by: Bharat Kumar Gogada --- drivers/pci/host/pcie-xilinx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c index ec2844a..a276fa6 100644 --- a/drivers/pci/host/pcie-xilinx.c +++ b/drivers/pci/host/pcie-xilinx.c @@ -261,6 +261,7 @@ static void xilinx_msi_teardown_irq(struct msi_controller *chip, unsigned int irq) { xilinx_pcie_destroy_msi(irq); + irq_dispose_mapping(irq); } /**