Message ID | 1472553558-27215-2-git-send-email-bharatku@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.web.codeaurora.org (Postfix) with ESMTP id 1974B607F0 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 30 Aug 2016 12:12:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A9C928BB4 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 30 Aug 2016 12:12:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F32A528BB8; Tue, 30 Aug 2016 12:12:41 +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 EDAAD28BB4 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 30 Aug 2016 12:12:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758457AbcH3MMi (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Tue, 30 Aug 2016 08:12:38 -0400 Received: from mail-bl2nam02on0051.outbound.protection.outlook.com ([104.47.38.51]:1824 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758241AbcH3MMh (ORCPT <rfc822;linux-pci@vger.kernel.org>); Tue, 30 Aug 2016 08:12:37 -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=7ZRG2S9lNRN6kWVfSVcIbkEC3VN4hAobyjtuqrMFPc4=; b=OX9/nryEO5SuylWrJQsYQOhTs+dYLGKlXh+HT+bmfnZBEcY0GP4Vd9lZ5Qu7pESt5q66/hVguFogwpeLXtGayGDZvICiRnLT9oUf5JV8KYwKl2ehraLgn15jfX+TwLUSSKLipZNps2G9sQNEcSJr22oJJVSRt3T5CjO1zVGpwZE= Received: from BN6PR02CA0054.namprd02.prod.outlook.com (10.175.94.144) by BY1PR02MB1146.namprd02.prod.outlook.com (10.162.108.148) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21; Tue, 30 Aug 2016 10:39:53 +0000 Received: from BL2NAM02FT052.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::200) by BN6PR02CA0054.outlook.office365.com (2603:10b6:404:f9::16) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13 via Frontend Transport; Tue, 30 Aug 2016 10:39:53 +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 BL2NAM02FT052.mail.protection.outlook.com (10.152.77.0) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Tue, 30 Aug 2016 10:39:53 +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 <bharat.kumar.gogada@xilinx.com>) id 1begSN-0004e6-JQ; Tue, 30 Aug 2016 03:39:51 -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 1begSP-00053C-Aj; Tue, 30 Aug 2016 03:39:53 -0700 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u7UAdnga017293; Tue, 30 Aug 2016 03:39:49 -0700 Received: from [172.23.64.217] (helo=xhd-lin64re105.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <bharatku@xilinx.com>) id 1begSK-0004zd-KL; Tue, 30 Aug 2016 03:39:48 -0700 Received: by xhd-lin64re105.xilinx.com (Postfix, from userid 45489) id 804A7CA1C3E; Tue, 30 Aug 2016 16:09:47 +0530 (IST) From: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com> To: <robh@kernel.org>, <bhelgaas@google.com>, <colin.king@canonical.com>, <soren.brinkmann@xilinx.com>, <marc.zyngier@arm.com>, <michal.simek@xilinx.com>, <arnd@arndb.de> CC: <linux-arm-kernel@lists.infradead.org>, <linux-pci@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <rgummal@xilinx.com>, Bharat Kumar Gogada <bharatku@xilinx.com> Subject: [PATCH 2/3] PCI: Xilinx NWL PCIe: Enabling all MSI interrupts using MSI mask. Date: Tue, 30 Aug 2016 16:09:17 +0530 Message-ID: <1472553558-27215-2-git-send-email-bharatku@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1472553558-27215-1-git-send-email-bharatku@xilinx.com> References: <1472553558-27215-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-22544.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)(81166006)(48376002)(2950100001)(45336002)(33646002)(11100500001)(8676002)(50466002)(229853001)(5001770100001)(2201001)(189998001)(107886002)(626004)(19580395003)(8936002)(103686003)(47776003)(36756003)(42186005)(356003)(36386004)(586003)(63266004)(90966002)(46386002)(50226002)(81156014)(7846002)(305945005)(5660300001)(76176999)(5003940100001)(2906002)(50986999)(106466001)(87936001)(86362001)(19580405001)(92566002)(4001430100002)(52956003)(4326007)(107986001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR02MB1146; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT052; 1:sdZcdn2X1a9ZTRQUOVbuBWzao4b053L4HTMjnbKAMJojOAUzKEYssHn5f2sAHBm20f9pB/HQSMjnGidhN9eNFVGm5ISZos4OrLCqySNuwP4xfxWxwCt8dxesa9kc2FppiminG++stE3f89PwmWQOPG+CIhQwm5+pq5KDPw9JTVC5XgS1YY4UN7PsetdvlP95rGg0oHUjLiknQD7XepVngY7to1ZvW+42H5pnoEVrtC12C61k3xARgsxLNMXlz5WR1gnYTzPbIMF/mibIyGTsic27+5mv9cNT0Gm2uP+8dmiT09GB/RICUAB+WBTxe4Vl3ANxwYNlFiRAtqwZc0OYt9/qkQQkCB98gWvRDw19v18Kls9ZfDnG7qazRuNRfFRMCF6q8ok7iwEzfmP4ao2BSAwIm8nk09M+neJl3Cv+66x9qTVSlXo7izv6EjUNOXOTOS2l20yb+RyyGqxU14/Ha0+9oCinRh4FmDflTopaCGNDboHNAwUngzviLKjpCrij+K11DoNA/62Z876TShOgM2p4hmKJRsHwFRXtmBEyhLf2nWlNh+alAqSRcGkP+AO5Dal5SvJu1wM2LQ9o6cP+S5jiNphVbs6t5xJZglU7JP0WU+MiCZGZKsi/SxDyLZMm MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: db7d1062-c313-446a-5461-08d3d0c1fa96 X-Microsoft-Exchange-Diagnostics: 1; BY1PR02MB1146; 2:USorfsE4bmCom9h35j6quFjHIfO2u42Tq5Ca8F3OROb9W9vL+UPe74uQhyC9wkDVLkDovUIk7z0mWRAqNINmkZTYt3gap+5faxZYgjGY3obvn6unBUH9TDuzEu8E+Q8dft+T9b9zrHUR/884EflAHyYC2f7OA+vdbzISErW2uba0u664Hn4mM93/NXy9NxEa; 3:EIlXAIzAqH8OOwjMQR32KdLZW0HVT7rBdxz6vOQxwhidH82Nsl3szsFmB+PoaT2VNjyFiP6/t8NEtt9Bk7gtq96zVpsvdv0BkHb3RKTxPW17g2LvhBcrmfJxGrZWTV13PaNuoAkd0b4eJbPFOGO/t2xeva0yTSM/UfLOY4VeUjRUPC17G1eq3u1fAov7KuFZZR+WSBZxkLjMOsstKapdWC/fOZKzTgAHcdX+JuyVOCLh+XXE+z5JxDWRJ311cjyn6Px/Hz+XAOtEAIpda4IIwQ==; 25:J0S6iuy5gJ7LOOV+HfqO0f44Rl2tr60bP6wTNsR9UgJUFP7e+92+NUc9kCELFzC7ubwBM8zZfRXB2EFQbf5QdEcyYcQpZkkm3iQdsHuvwWLYfmJV4TRHeUxQr8EQX/W8IAa54gfFeN+Gao20jI3Zv+3pk6vgpVpcPs0U58dpJBkg22DyTSIyV3/Vw6T9zg8C1nZ1WqUr6y8b6edLhJi8kU3NlgQAsj4D+D6vKg2Auz12DK+o6o3IGbC8vMFdihLK+ISYali89ANpU0zDtHwrCeyDgojtd/1Z+KA91Sc2Xq40xXCfLC+TPXIKfMLpEKBuCJj/+9zMSVTvXi6LztnLnwpSVl64pG7iZaKiqPP3UKHMHlnd0ufjPEP8Qi/JL3+XWlixI64d0iOrohi6v0K8Ki0eyNaONxJKt34TBVkzz8M= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BY1PR02MB1146; X-Microsoft-Exchange-Diagnostics: 1; BY1PR02MB1146; 31:c534OYvRmBUimSHFJlJ6cqMG3MAZw+2iDyNc1uEUKQh7xfUXWZpSv7o9hqLtU3IImjNmDueczERq+SPHu6m7p3Yy/a7F1S4xgza4Y0ladE06unUhptKkiL7R58bVE4Zs9fAueOB7/d+Or1N2XM+DvTyg20wq00te6nmAtTfEo3iSGSnGDul5miKzDVtbLxJjpaszNjGCMWlPLrtM8m4X9Ai/D3tPPMtjGIr71d3XXMo=; 20:WbpQHk4S14UP8LBdLC+jOaroNF+op/3jCvYjTa+JCQCdesjf6mgnjfSDZPBPqON4s368egpcf7AkiEJG8Vw6VZwYrTVVVqMV+I7MGNKSGDHqwD7jpJ3mcKDHxhV4ETC3if3FSG24wFnxVtUGLSOBIE0fAVrUmFrUv4+5vV6W6zzzTIikhlBJYbjLil/grk6nYIZ8UIxeH14Hf9PPY7i6CHOJfQbiH0r5qB/5ugj9zehhOso9M/aayrZdMg+TuaY21dDzDKn7U0HS8+g8ZckuhiFVfaPnZOmu3X6roCFagxns031cwb7aCONtLB521WIE6UYhRTvqHnqC6ff0wLpzazt6GwDc5fhDz/3y/IhwKYvC1a1ELSeBZ8+K3vGYqiJFMJEdJpXeU1hCLNFjNNE+L8TnkKFrxFo5kF1kud9xlVMuGeebf6F5pT3VwDxvDo2fuwhYE7vkeP7fw+bUq0u8D1sCJcbZHQtTM0DrcPLF145iLJOfnbPVNYWB5ZLKrQNs X-Microsoft-Antispam-PRVS: <BY1PR02MB11468855FA2E3BEB457D922DD0E00@BY1PR02MB1146.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13024025)(13015025)(13023025)(13017025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BY1PR02MB1146; BCL:0; PCL:0; RULEID:; SRVR:BY1PR02MB1146; X-Microsoft-Exchange-Diagnostics: 1; BY1PR02MB1146; 4:og978tq9IJMUM4hxPPnhG/Dv/BPu/oK0/ReIrSL6Us6en2ges0YKkNTmr0qF73rllU6/j1cxv5jTrBaceQ/IYvqF0p4rI5k7B0kv85qcd8fMuLdK5Vcrw0nBDW70b/f/kDzMB57VTqRDBlAHFEEPH4XXma1wlTvKWXS/1FjT3qTJUue27xKWkvumJmRi1++46AyMixNrH3lF55qoKcoJutGiyUHEGfCd/G+nkhwsuh1rTFh8ZCESkkBZavhGPkV8OXQ9HwWharHs2wxUkd/O80hhjz3t0Iiw3bxawi0vrujao3weIPBM3J4dGiVbPmw2rdThWrz2wzWfZ0L9qecUNJCp2qLKs4ARaoX8Z7wZsuZ9I/OeWEIGvzXJK8oCwBK9QP/ENX8zTJtAHVw6RcEqSgKLJcEhMHXUEB/gokyaYQyGg0ZFj/E9feHUmePgbdbaDpv7xZmZkdozgkuNkj68EYuIOWzcFAEbN1kaf8awurbJT5Yn57T9aitqWArFht6nqm63YIMW4DDGJ7ccZSWT1Hamp9dyxJBdCXR9qDAdF1c= X-Forefront-PRVS: 0050CEFE70 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR02MB1146; 23:54zbSlxtRuMJgiwI1wMtkvaa0/JWo/Ixhqwe+Cibf?= =?us-ascii?Q?x5oBWfVyYlah6SPJFwFgZI5UyvdQrVEuxV/JD3pqw+647Tadxs15H9CVK8oA?= =?us-ascii?Q?MSTLqhJAwkmpoxhBG8SCR/wFH3U+R9U+R0hdLjxmc8DI1CgBW5CiCRrZgV7h?= =?us-ascii?Q?pFl1qWE3j5ByUW/jW6Lqq2yJodKPkWg2eRq2wN28ot8B/NRLyTOw+CYshnE6?= =?us-ascii?Q?knqqmw6kZMgbisPYJoAA6xDvPP9objLlM3yqCYrGGTAelVcqWH58t0x3DfE/?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 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2016 10:39:53.8918 (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: BY1PR02MB1146 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 |
diff --git a/drivers/pci/host/pcie-xilinx-nwl.c b/drivers/pci/host/pcie-xilinx-nwl.c index 86c1834..d8d43e6 100644 --- a/drivers/pci/host/pcie-xilinx-nwl.c +++ b/drivers/pci/host/pcie-xilinx-nwl.c @@ -120,8 +120,8 @@ MSGF_LEG_SR_INTC | MSGF_LEG_SR_INTD) /* MSI interrupt status mask bits */ -#define MSGF_MSI_SR_LO_MASK BIT(0) -#define MSGF_MSI_SR_HI_MASK BIT(0) +#define MSGF_MSI_SR_LO_MASK GENMASK(31, 0) +#define MSGF_MSI_SR_HI_MASK GENMASK(31, 0) #define MSII_PRESENT BIT(0) #define MSII_ENABLE BIT(0)
The current mask enables and allows only one MSI interrupt on each MSI line. This change, enables all MSI interrupts, which will also support End Points with multi MSI support. Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com> --- drivers/pci/host/pcie-xilinx-nwl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)