Message ID | 20180425130905.6385-17-chad.dupuis@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-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 DF9A66032C for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 25 Apr 2018 13:09:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF6F828DFA for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 25 Apr 2018 13:09:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3C0528E02; Wed, 25 Apr 2018 13:09:57 +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 3D91B28DFA for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 25 Apr 2018 13:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754036AbeDYNJ4 (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 25 Apr 2018 09:09:56 -0400 Received: from mail-co1nam03on0083.outbound.protection.outlook.com ([104.47.40.83]:49120 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753033AbeDYNJm (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 25 Apr 2018 09:09:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vT6hCqdCP3sEEj541MYzCAa6mwHIFmd7rRrEKV6KY1Q=; b=NgdOI/U54WXH1q7FrEi28osk9PMfzy0rYpNK9KS4g0QcVv4SRRBxwYar3BFryLPDXnww+nulgMItvFJhXmmoD2/AXuIG7xIYlQ2ZlLXMyWyyv7OPtnaQxfFEGl42saVbUe5xB21SYr6Cntp4wPj1U4p7b8RbixQa5YWqXfrSDSY= Received: from BY2PR07CA0016.namprd07.prod.outlook.com (2a01:111:e400:7bff::11) by DM5PR07MB3177.namprd07.prod.outlook.com (2603:10b6:3:df::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.18; Wed, 25 Apr 2018 13:09:40 +0000 Received: from BN1AFFO11FD013.protection.gbl (2a01:111:f400:7c10::181) by BY2PR07CA0016.outlook.office365.com (2a01:111:e400:7bff::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.13 via Frontend Transport; Wed, 25 Apr 2018 13:09:39 +0000 Authentication-Results: spf=pass (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.com; dmarc=bestguesspass action=none header.from=cavium.com; Received-SPF: Pass (protection.outlook.com: domain of cavium.com designates 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD013.mail.protection.outlook.com (10.58.52.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.653.14 via Frontend Transport; Wed, 25 Apr 2018 13:09:38 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Wed, 25 Apr 2018 06:09:23 -0700 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id w3PD99Ha006484; Wed, 25 Apr 2018 06:09:09 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w3PD99ss006483; Wed, 25 Apr 2018 06:09:09 -0700 From: Chad Dupuis <chad.dupuis@cavium.com> To: <martin.petersen@oracle.com> CC: <linux-scsi@vger.kernel.org>, <james.bottomley@hansenpartnership.com>, <QLogic-Storage-Upstream@cavium.com> Subject: [PATCH 16/21] qedf: If qed fails to enable MSI-X fail PCI probe. Date: Wed, 25 Apr 2018 06:09:00 -0700 Message-ID: <20180425130905.6385-17-chad.dupuis@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180425130905.6385-1-chad.dupuis@cavium.com> References: <20180425130905.6385-1-chad.dupuis@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(39380400002)(39850400004)(376002)(346002)(2980300002)(438002)(189003)(199004)(69596002)(80596001)(54906003)(106002)(16586007)(42186006)(316002)(36756003)(86362001)(47776003)(1076002)(2351001)(72206003)(356003)(478600001)(87636003)(8676002)(8936002)(50226002)(5660300001)(305945005)(106466001)(6666003)(4326008)(107886003)(6916009)(2906002)(336012)(48376002)(2616005)(51416003)(486006)(11346002)(26005)(126002)(44832011)(186003)(476003)(50466002)(446003)(76176011)(81166006)(81156014)(59450400001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3177; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Pass; LANG:en; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD013; 1:S9J02tgk6gtaRy+W03MTKw/rAA2isx6raWL1H9nNuoA0csmQ8zmiAuknpKTuhIou5JjFEB7UtIUpqX6w7ciYsvlpREgSSqGHHzcbZkaEqC9sZt8+jOo59wgzT/NpkYeY X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:DM5PR07MB3177; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3177; 3:4s+lFh+SZ6N8ikTOlilMSgrSGgvNkkwPViV3Ceh9aP8o0U8y044U+5dSCI24gZghCyVruAOK76XxjRlug0plsTFTUf1isObxBMIwjIg14w5DF/O854yK3JKIMxi+IjjilGWrxjHySkorL4ZL5/7TRWJB7mbmY3CblruBvzCv2ztuJNB/3g+nZOX55ii4D9hxnCF1jEAN24wNlpNuRpI0EYEUUU49MbSTj5aejMMlByvbEfOPPXA/ugiX+xPhIU8cJz9V/tBGwaZ7PRaTX5EIoHsbxNtVFgaNf1bbRedmMcCeV81589zKbFLFYaoudJ67w4iVuG2Tx243vrSov/CO8/FVspZssCnU/bfeiByRajQ=; 25:vmHmRNl+zbrhXxl93oMa8kzoGhARMUGVCJDem1PKDpm4uzWsZ+GtYzZdzlKZyC0H2J8b9oUguX7f565e7DORqqO5RvGYg7eHaj+FBJaL/pRAMh3bamrTyQ551hPhTpoh9CAndCmACCH8Yp6glGE44kWQV9cHGXyHcJMJYca58ZiVMcgwHknX/5AzdcmVUNZdBB6Rjctm7eBdGtEnO0739vLXDOgja9hSaotxAaYwnJLUiI9uNBikfPZPKUIkiIbRD9AMjXaN7M4WOrXegAtE1evPyD/yqybvtjPoTeqJR4uo4C52ZqCKG38IXeNUS8W2T1mJ6B9r2N0Yq1qlhwncOw== X-MS-TrafficTypeDiagnostic: DM5PR07MB3177: X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3177; 31:eH6r54SBQThvS9Rs7Z/5LY4/2Eeh7CWNym2U6n12vk5BcVo/BhGvcdZk9Y6zS/wHPtfwcxfVhV2J01yOl+jFZApqulYfTF5e/xd7vg0ncqb7IvTzIGPLaU4T8V5yBLN89qhXjXm6dR6iCcRKpZIkr7KaMvmEOBC8cBWZNRqHXkD30PBDg/QAwl8rmrHhlGriVe5coQHG3QFe0QIY0DmTzpuVPNByGQBWSpnu1LDQzr0=; 20:5bz4jsbcb2h/kCtsRvdY/jln8TT1UyhW44n0Kh4rZ7GpIfCLwBEgtI0rg2sCyRRTVNNCJ6apvqhArUPcqkFf5tMl4aNBjgN2iWvz9Hc0HhdLDsgysveeBwG70dsLP884UUEevQB0dBUg8Ij9kxmvqSik6MeEybZXBfwDQrQRKa37QKwTktZH03s0Dj7MtBMi93gsColadEszD47HoPqqim5MnA8ONaIEy+/ibpKioOyxSUrta5Hs54Xc4MkutObkJ+BR8/XX5N6t+C12txE1r5CyTLa1Fupjp2mjxGVqqipvRb75IzcgRFSg0hElbFx/ev2bJyIwHmuvvAQsXIXGhCPTBMUvZustpr+AwHaX6xFSsIH6TSEcfH9QocBdwp4X0+uaeeaGC/DAokxlL26vs/NSeeGgmu0lO5jeo43kgefVaTzZVnjU79UaN7ykJHwZbyKMmIu6fyFwE5Irma0HFxF1aYBBfLWKj8VNtAlWD726Fotqdml4rVcREWoggZVF X-Microsoft-Antispam-PRVS: <DM5PR07MB3177B1BDEE0A330A6215AC539E8F0@DM5PR07MB3177.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(10201501046)(3002001)(93006095)(93004095)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR07MB3177; BCL:0; PCL:0; RULEID:; SRVR:DM5PR07MB3177; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3177; 4:/wqDt/IuWEt/ycMXtXaOlz7lhdH8n+paAOfmHAPgcNTC1jqrqfKFlH2mL/R4Yo0l1mnzE1Hjl5MuxhukeDYnfxetWpXdx/hD8f+uhUNEDrcmlC+JYLimKraI43QvHQPG/hlssW+2xSZcGED/rUUh7R2GdnQqnnv3gWKrbtDCOrKZQ+xbJCdlxQpVwA7pu1Eeu6YXYWUp7nzG07DmRNykaP9ND1Kr++DoC35ov9a1o2hRkAOjHNocpUGAfVQF9TVBA2MRQXuTd4536hAG5HiGNA== X-Forefront-PRVS: 06530126A4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3177; 23:7g2tXNu6yRkHLVjOjObSVLy3qFZAeFiPqygct2L+F?= =?us-ascii?Q?tfUxeAMN2y27+OcOKjR+fS8oAcKV4zQU/PwBlBpPb5Tv9IDKuotUOx97zh+k?= =?us-ascii?Q?BMi9PPg5jnDaJcKOxODeuv93LE1z697o9RgSae/ViUJZHVyVgKCXQqC+BYfR?= =?us-ascii?Q?XBvHmytWlY5Rk6y3W83IIW3WVeGrSrxPzET++QKtnuu44bCLwW4h7svbOwYd?= =?us-ascii?Q?beiy1GSpADRDdgbHm8wp6/c62yxYEyJT8Jes/Rux5m+6WOnbEruD2NZEfJeH?= =?us-ascii?Q?y4yMxhylZ4kwool0/bcZTAZlgrZWdekogNvmWkQP+7Pm9o7M+xviT9SMrTOb?= =?us-ascii?Q?oX87kJZvuNQPkM2gkoxko7yGvOv1TFp38KqVUIL7KUq4PrF8IoDG6WTaigMf?= =?us-ascii?Q?Mpoo3PJZx6X9nWPDzNM0PTi+E4Nf7WoYNeSj76I9TLdfHhyQyysiARgOwBsj?= =?us-ascii?Q?p1uNxlliJmLQv8zRR0f/ujCysNXMXJ19BuhAjBBwBrN5OFFvD5/WESBU/gNT?= =?us-ascii?Q?oe5guvnW9ykcgsiRbew6m5Lx4usa2QHhhdssZcmMYCxnUK0q8aRJaFGm5N3K?= =?us-ascii?Q?e3ldKFFe3s5YC6Pp+KuT6szpettzNhA4z/nTBB5ix6ue2kb4g45NSVFufUpz?= =?us-ascii?Q?oW1xmcK0kMxWgFkPdrIY6S11b8z3EVG8Lkx2pf0lFqAyxp4BN/mGOEZYXfNh?= =?us-ascii?Q?t3cUbKnt8+k3P4sbAR3C9cL99mciocuumJwM1/bzg20uQs0z5F3g68AkgcRS?= =?us-ascii?Q?c1dhhpb7omeWmpeF5n96dPr6yiynADlzltgDp1D58lYHl+tl97tgvxgLBTLA?= =?us-ascii?Q?pZ1u8uAyc65LS35MA48vsIkTDNAMSuZ6JKT4klm/xHN2dQB6VTElhPca4yp9?= =?us-ascii?Q?AmrfnP1ZuISRGPew/bgaH8Mmnw3Ku5vdL71Fm2+MkDW8QiTuFQ1krjwJDU/x?= =?us-ascii?Q?PyjvX3GA4siXZ3rGBnXN5ujyAg+++BxeUJMmIxBB+z+h8dmeWcEwDxUmIey9?= =?us-ascii?Q?0WaER+Ww3XxhM2OjU5TGCHZqCIDCy11EvuJSavvKphdGas9v3nA415EkrWTO?= =?us-ascii?Q?Lxy6/+fm5jdI8VNPQUsCnPRHHc06RmaxczmI+pQXUEcnY3Ip+rSdRlqSONyB?= =?us-ascii?Q?nUveh9jNEKvmaeufwYdJMc9MDl+byPdHD7FX9gDhm+2rqHVcWDPBQoVHxTEu?= =?us-ascii?Q?hBtnI2KV/ofvoE=3D?= X-Microsoft-Antispam-Message-Info: mhJBHp88aZwOkYFdbed92bjYkqwfySFhDDFU6nhE4CTZlecEiQODa5vrBio/lGDmoqmC8Uj6n5iRyMWnNnaIMgBkX743pP4zBMUlE1rU8YBBF35+buHAgW51dXk1Bi1l58qLdWvEcimuOgMbiLzw8wv0NUQOlrsaeeYGqbur9awRDeq6NP8u2BKd8CKIH1Ml X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3177; 6:8EugixDrKzE1Gx8tVGPm6jHWQHamD3GmFgUKYKOTsnKF7Pp2VcRAlpqiaCur+iG5coA75wXkdA52Sic4T/L+D3xU4CupEV9YvrZuhH5ZQ+U8Yx/3ukESon5CPdge6zT2vw+0DF+YtLK4X+syCdTC+TzXqts0h0t7HBNTM5JPfYjORZLCwuCesPDBZwr0zHq9pGY/qcXSB0lHMrKPwE5GDBirV5tup9c/M0kItLaZgkET3c35oSpUR88bjiC2Xip8Jvh/YiLbgXUN809GppV73nahCCY745ytYH0CKvsTkSDwXm3oWOILk+7E/jjEAiSkz/GJ3TYf8n6POOwXWX5f7RSJcvWgyUr04pC8KscaLmnn/RPOPStDgMqgY7Z4hMV8gwrlF8U5Hynbu9NQYnWOOpAjb15XAIF3Xt81bDd7HG1+wHSx8g6JFKu36h2I8vy/LIM3l/vnDLlAtlNA6oOG7A==; 5:foWvUEUk5q++B0/okZRk36TAwPFZ5qKQrj4+q84yqZFq3CYIQ4bP0qYj7bgFzMEthQISO95bOHbx31JYY/i9CzCQ51le3o1BOANH0YDvkfRvPFJilWiZ4Uici6kuGI/hVCmldomNbGB6D/03LudGwogKhAuCDMR9ShpZfQYw0GY=; 24:Ea5/5IF8toiJRAHHn69SAq1fkePFofZSj3MEJj1dHKNb7b+EmuXYcpvJzc0kA8CI7LBUkD2zUpfPfKnVHYFdw9ag92+jwgUK3e3lf34D2vE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3177; 7:2KkGkHUyCzMGGMj4Q+fhtQ5/ACQIR5fZDRv1IeD1Xqt/ZIfDW9pW39HVcQ5DWBqB7C3sLE2uEOeiwF2dATL21/2Dc7TkJqzBmSS23XffhltKCInRwz0l/Xsrq4FG8aQqlfwj06u0xEdqZUX9wpFd1W/DEWk/0/Pjsu3mfL/eiBqi33KXzAKVcrVTrHPFKwK/8mfntujrE6c9ehbMiRRgHjA7AtmUVDjZxfGLaparuZzgFbCZzfNCRZHXhXHGYotN X-MS-Office365-Filtering-Correlation-Id: edcd47d8-e756-43e6-9c65-08d5aaadcd20 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2018 13:09:38.6891 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: edcd47d8-e756-43e6-9c65-08d5aaadcd20 X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3177 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index 0150f2e4e75c..31fc64b23566 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -2134,7 +2134,8 @@ static int qedf_setup_int(struct qedf_ctx *qedf) QEDF_SIMD_HANDLER_NUM, qedf_simd_int_handler); qedf->int_info.used_cnt = 1; - return 0; + QEDF_ERR(&qedf->dbg_ctx, "Only MSI-X supported. Failing probe.\n"); + return -EINVAL; } /* Main function for libfc frame reception */
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> --- drivers/scsi/qedf/qedf_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)