Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5603634yba; Tue, 30 Apr 2019 18:25:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBbX+9JCz1yD/hZ3IhJcxAyaSbFKgoUTIs2fj+tq3cDxnby1Rkoh0KKdyBCz3xdRjJJTJb X-Received: by 2002:a17:902:29e9:: with SMTP id h96mr55123870plb.258.1556673913268; Tue, 30 Apr 2019 18:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556673913; cv=none; d=google.com; s=arc-20160816; b=gzlz3s9gbMbWThQ+X053OaT2Gd0M6VQazGjUZ+4fjDpoFkkssqWk7SpbXyw5pUDOPg a/YzWhofYhgpFPgQl1u21jXEruSOUSA5meQrVAAqg9yHkSKf+8Z85rkr3aaknr/yp1rJ QRfyEUIPkjrACwi0+O+gI82Hm7HEheQ9GfbbtItxID4souCEr4Ur4qPqDpdMRtaABmNO 0BGRg3xnDvOlKl+ChqjbqACpcGgHikMyHnaftSSBRFtSBTBXRcaiI56+4RNG6BdrjNSo z4DfZkc2Gqo6gCr88F9IboMc12L59rsUIwaJN1/nzgklz5rg6Bno8M3hl5rRKL5s2sLA 7NqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from:dkim-signature; bh=o9Uh4eqpzo31M/nD7QgLqjvJrp8muiIgNpQoNpAXvNU=; b=x9B2YryzugnnPanx7IoYfXuPq5Xw25/n/Zz513YuomMHLMOwh6ZdIRIiJk1Yn1wM7v pfsQ1bbkt6M5s8etYRU4jc7VWQNdUpPrhVIGlAvqIGi250XldlpJnNDqU8u2zEBCV5ny FBoq3thFbXVaj4YNIU1cdcUWJEolUVugDF50WGDlUdnWeu8NACVRTb5ccHLJEFLdujqr jrkFTlrvBURquPQf4TgmM3N9AbXEul8xv6iUtiTDxLCbS1j60Uv7/HMI+lbI2wisQ3TN aaSHC15ezoLU8FiqHbZj0IBl52kWvkZVM2K/WfyMXXyp+hDVDCueR1WwHVYTQVZnwM73 6xCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=dBSHabVM; 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 u5si36574293pgp.240.2019.04.30.18.24.45; Tue, 30 Apr 2019 18:25:13 -0700 (PDT) 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=@lca.pw header.s=google header.b=dBSHabVM; 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 S1727368AbfEABXV (ORCPT + 99 others); Tue, 30 Apr 2019 21:23:21 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:36247 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726123AbfEABXV (ORCPT ); Tue, 30 Apr 2019 21:23:21 -0400 Received: by mail-qt1-f195.google.com with SMTP id c35so18674984qtk.3 for ; Tue, 30 Apr 2019 18:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=o9Uh4eqpzo31M/nD7QgLqjvJrp8muiIgNpQoNpAXvNU=; b=dBSHabVMVPMm3BUZwWxEHQ3t0mylDOoC9pmANvNmiaRNGBO53TRl9ZBImdUldA8H6/ 6JbJlWOa3kd/qlO7sig2srZYiYO/sopSOhpee8Kw0ZSlnh9jHhh3oCuoObsU6WJemb/V SovJQtN79MfXQZKUUxLUAwyvJWo7DV6+yRpLeLw9Wecmc9iKCZBWECQiRTBopQKkNKYV MbNeCd3p4257wYkgZNQhWwMNTyW/RUaRRc1NcurO2wZYA+8sZcppmN+f4VrFFaLjwph1 /sLHWIRuHRoSFd8gK0jssDSJRfIoI1EAA3pEa92WLcBEnGqyp8IarN7+0No7fx0APHJq Gtvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=o9Uh4eqpzo31M/nD7QgLqjvJrp8muiIgNpQoNpAXvNU=; b=ZcCvyxMBiC6BOokPB5g6ATdQ2svvSQHYUOO5uNJJ6ILaCJHyppZHy7aQ8Lxuf0HUnH znqcfLHTHRbun4ewYbRu9iy4TUH7zUtVFk7G/ALdq04Kbirj0r/e3/+w8SQgS9OBAWuL cJxwe/iIxRjsRx1E/mYJAaEDm1dqqXDr7H+8/Z49QWO2V2rtuTj9/3ikqi2MlTcf9rc+ aXLUsiFYhKN/FDjnHmkUR4g46efthnzX2R/5FTs4ZPoCg19YCgAWpHjNeR4/ZNSg2ayE yE7fybEA9pl4RjebisA8fMthrvfA0frBD0t411QovDiMlg2FvdZCXWPZd+u0heg9metB U0Cw== X-Gm-Message-State: APjAAAWiwzALFm52oWP4CkLX6sW5sCsD52HdGAM31IuDwan2+qfacR8T l8MfSzT7EozjJg9CHUysEcbG14v0jbw= X-Received: by 2002:aed:20c3:: with SMTP id 61mr56999949qtb.356.1556673799800; Tue, 30 Apr 2019 18:23:19 -0700 (PDT) Received: from ovpn-121-162.rdu2.redhat.com (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id i9sm4449073qte.72.2019.04.30.18.23.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Apr 2019 18:23:18 -0700 (PDT) From: Qian Cai Subject: mlx5_core failed to load with 5.1.0-rc7-next-20190430+ To: kliteyn@mellanox.com Cc: ozsh@mellanox.com, saeedm@mellanox.com, leon@kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux kernel Message-ID: Date: Tue, 30 Apr 2019 21:23:17 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reverted the commit b169e64a2444 ("net/mlx5: Geneve, Add flow table capabilities for Geneve decap with TLV options") fixed the problem below during boot ends up without networking. [ 92.471247] mlx5_core 0000:0b:00.0: mlx5_cmd_check:744:(pid 13): CREATE_EQ(0x301) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0x8fef) [ 92.484824] mlx5_core 0000:0b:00.0: create_async_eqs:572:(pid 13): failed to create async EQ -22 [ 92.603279] mlx5_core 0000:0b:00.0: mlx5_eq_table_create:1007:(pid 13): Failed to create async EQs [ 92.630541] mlx5_core 0000:0b:00.0: mlx5_load:1053:(pid 13): Failed to create EQs [ 94.866908] mlx5_core 0000:0b:00.0: init_one:1329:(pid 13): mlx5_load_one failed with error code -22 [ 94.879657] mlx5_core: probe of 0000:0b:00.0 failed with error -22 [ 94.887784] mlx5_core 0000:0b:00.1: Adding to iommu group 2 [ 95.017012] mlx5_core 0000:0b:00.1: firmware version: 14.21.1000 [ 95.023090] mlx5_core 0000:0b:00.1: 63.008 Gb/s available PCIe bandwidth (8 GT/s x8 link) [ 96.155792] mlx5_core 0000:0b:00.1: mlx5_cmd_check:744:(pid 13): CREATE_EQ(0x301) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0x8fef) [ 96.169220] mlx5_core 0000:0b:00.1: create_async_eqs:572:(pid 13): failed to create async EQ -22 [ 96.199340] mlx5_core 0000:0b:00.1: mlx5_eq_table_create:1007:(pid 13): Failed to create async EQs [ 96.224004] mlx5_core 0000:0b:00.1: mlx5_load:1053:(pid 13): Failed to create EQs [ 97.681695] mlx5_core 0000:0b:00.1: init_one:1329:(pid 13): mlx5_load_one failed with error code -22 [ 97.692749] mlx5_core: probe of 0000:0b:00.1 failed with error -22 # lspci -vvv ... 0b:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx] Subsystem: Hewlett Packard Enterprise Device 028a Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 04, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI) ARICap: MFVC- ACS-, Next Function: 1 ARICtl: MFVC- ACS-, Function Group: 0 Capabilities: [180 v1] Single Root I/O Virtualization (SR-IOV) IOVCap: Migration-, Interrupt Message Number: 000 IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy+ IOVSta: Migration- Initial VFs: 8, Total VFs: 8, Number of VFs: 0, Function Dependency Link: 00 VF offset: 2, stride: 1, Device ID: 1016 Supported Page Size: 000007ff, System Page Size: 00000001 Region 0: Memory at 0000010004800000 (64-bit, prefetchable) VF Migration: offset: 00000000, BIR: 0 Capabilities: [1c0 v1] #19 Capabilities: [230 v1] Access Control Services ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- Kernel driver in use: mlx5_core Kernel modules: mlx5_core 0b:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx] Subsystem: Hewlett Packard Enterprise Device 028a Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 04, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI) ARICap: MFVC- ACS-, Next Function: 0 ARICtl: MFVC- ACS-, Function Group: 0 Capabilities: [180 v1] Single Root I/O Virtualization (SR-IOV) IOVCap: Migration-, Interrupt Message Number: 000 IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy- IOVSta: Migration- Initial VFs: 8, Total VFs: 8, Number of VFs: 0, Function Dependency Link: 00 VF offset: 9, stride: 1, Device ID: 1016 Supported Page Size: 000007ff, System Page Size: 00000001 Region 0: Memory at 0000010004000000 (64-bit, prefetchable) VF Migration: offset: 00000000, BIR: 0 Capabilities: [230 v1] Access Control Services ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- Kernel driver in use: mlx5_core Kernel modules: mlx5_core