Activity log for bug #1665436

Date Who What changed Old value New value Message
2017-02-16 19:39:12 bugproxy bug added bug
2017-02-16 19:39:14 bugproxy tags architecture-ppc64le bugnameltc-151418 severity-high targetmilestone-inin1704
2017-02-16 19:39:16 bugproxy ubuntu: assignee Taco Screen team (taco-screen-team)
2017-02-16 19:39:28 bugproxy affects ubuntu pciutils (Ubuntu)
2017-02-16 22:12:47 Steve Langasek pciutils (Ubuntu): status New Fix Committed
2017-02-16 22:12:47 Steve Langasek pciutils (Ubuntu): assignee Taco Screen team (taco-screen-team) Steve Langasek (vorlon)
2017-02-16 22:12:59 Steve Langasek nominated for series Ubuntu Xenial
2017-02-16 22:12:59 Steve Langasek bug task added pciutils (Ubuntu Xenial)
2017-02-16 22:13:12 Steve Langasek nominated for series Ubuntu Yakkety
2017-02-16 22:13:12 Steve Langasek bug task added pciutils (Ubuntu Yakkety)
2017-02-16 22:13:45 Steve Langasek pciutils (Ubuntu Xenial): assignee Steve Langasek (vorlon)
2017-02-16 22:13:47 Steve Langasek pciutils (Ubuntu Yakkety): assignee Steve Langasek (vorlon)
2017-02-16 22:23:53 Steve Langasek pciutils (Ubuntu Xenial): status New In Progress
2017-02-16 22:23:57 Steve Langasek pciutils (Ubuntu Yakkety): status New In Progress
2017-02-16 22:27:31 Steve Langasek description ---Problem Description--- This bugzilla is for tracking that the pciutils tool needs to be updated to support pci gen4 cards. Mellanox CX5 card is a pci gen4 card and when I do the following commands I get error. I do not see these errors with Mellanox CX4 which is pci gen3 card. In a system, with Mellanox CX4 and CX5 IB with SRIOV: lspci | grep Mell 0001:01:00.0 Infiniband controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] 0001:01:00.1 Infiniband controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] 0001:01:00.2 Infiniband controller: Mellanox Technologies MT28800 Family [ConnectX-5 Virtual Function] 0002:01:00.0 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4] 0002:01:00.1 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4] 0002:01:00.2 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4 Virtual Function] If I do this command with CX4 is ok virsh nodedev-detach pci_0002_01_00_2 Device pci_0002_01_00_2 detached but if I do this with CX5 it fails: virsh nodedev-detach pci_0001_01_00_2 error: Failed to detach device pci_0001_01_00_2 error: malformed 'speed' attribute: (null) This is what I see with CX5: lspci -vv -s 0001:01:00.2 | grep Speed LnkCap: Port #0, Speed unknown, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- and this is what I see for CX4 lspci -vv -s 0002:01:00.2 | grep Speed LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- ---Additional Hardware Info--- using Mellanox CX5 card that is pci gen4 lspci -vv -s 0001:01:00.0 | grep Speed LnkCap: Port #0, Speed unknown, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited LnkSta: Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- LnkCtl2: Target Link Speed: Unknown, EnterCompliance- SpeedDis- Machine Type = P8 ---Steps to Reproduce--- just plug a pci gen4 card to the system and do this command lspci -vv -s 0001:01:00.0 | grep Speed LnkCap: Port #0, Speed unknown, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited LnkSta: Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- LnkCtl2: Target Link Speed: Unknown, EnterCompliance- SpeedDis- Will see the speed unknown. Userspace tool common name: pciutils The patch is already in the pci utils tree: commit 9628600bbbeffc4ec6dc48943ee091a5d3eca18b Author: Gavin Shan <gwshan@linux.vnet.ibm.com> Date: Wed Feb 15 10:53:45 2017 +1100 lspci: Support GEN4 speed (16GT/s) This enables "lspci" to show GEN4 speed (16GT/s) properly according to the contents in register PCI_EXP_LNKCAP, PCI_EXP_LNKSTA and PCI_EXP_LNKCTL2. IBM is asking for the patch to go into 17.04 as well s 16.04.3. [SRU Justification] hardware enablement for next-gen hardware in a common hardware utility. [Test case] 1. On a system with a Mellanox CX5 card, run: lspci -vv -s 0001:01:00.2 | grep Speed 2. Verify that the output shows 'Speed unknown'. 3. Install pciutils from -proposed. 4. Run 'lspci -vv -s 0001:01:00.2 | grep Speed' again. 5. Verify that the output shows 'Speed 16GT/s'. [Regression potential] Minimal, and none on systems without the new hardware; this is a code change to trivially extend switch/case statements with a new value. ---Problem Description--- This bugzilla is for tracking that the pciutils tool needs to be updated to support pci gen4 cards. Mellanox CX5 card is a pci gen4 card and when I do the following commands I get error. I do not see these errors with Mellanox CX4 which is pci gen3 card. In a system, with Mellanox CX4 and CX5 IB with SRIOV: lspci | grep Mell 0001:01:00.0 Infiniband controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] 0001:01:00.1 Infiniband controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] 0001:01:00.2 Infiniband controller: Mellanox Technologies MT28800 Family [ConnectX-5 Virtual Function] 0002:01:00.0 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4] 0002:01:00.1 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4] 0002:01:00.2 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4 Virtual Function] If I do this command with CX4 is ok virsh nodedev-detach pci_0002_01_00_2 Device pci_0002_01_00_2 detached but if I do this with CX5 it fails: virsh nodedev-detach pci_0001_01_00_2 error: Failed to detach device pci_0001_01_00_2 error: malformed 'speed' attribute: (null) This is what I see with CX5: lspci -vv -s 0001:01:00.2 | grep Speed LnkCap: Port #0, Speed unknown, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- and this is what I see for CX4 lspci -vv -s 0002:01:00.2 | grep Speed LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- ---Additional Hardware Info--- using Mellanox CX5 card that is pci gen4  lspci -vv -s 0001:01:00.0 | grep Speed                 LnkCap: Port #0, Speed unknown, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited                 LnkSta: Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-                 LnkCtl2: Target Link Speed: Unknown, EnterCompliance- SpeedDis- Machine Type = P8 ---Steps to Reproduce---  just plug a pci gen4 card to the system and do this command lspci -vv -s 0001:01:00.0 | grep Speed                 LnkCap: Port #0, Speed unknown, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited                 LnkSta: Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-                 LnkCtl2: Target Link Speed: Unknown, EnterCompliance- SpeedDis- Will see the speed unknown. Userspace tool common name: pciutils The patch is already in the pci utils tree: commit 9628600bbbeffc4ec6dc48943ee091a5d3eca18b Author: Gavin Shan <gwshan@linux.vnet.ibm.com> Date: Wed Feb 15 10:53:45 2017 +1100     lspci: Support GEN4 speed (16GT/s)     This enables "lspci" to show GEN4 speed (16GT/s) properly according     to the contents in register PCI_EXP_LNKCAP, PCI_EXP_LNKSTA and     PCI_EXP_LNKCTL2. IBM is asking for the patch to go into 17.04 as well s 16.04.3.
2017-02-17 15:48:32 Andy Whitcroft pciutils (Ubuntu Yakkety): status In Progress Fix Committed
2017-02-17 15:48:34 Andy Whitcroft bug added subscriber Ubuntu Stable Release Updates Team
2017-02-17 15:48:39 Andy Whitcroft bug added subscriber SRU Verification
2017-02-17 15:48:44 Andy Whitcroft tags architecture-ppc64le bugnameltc-151418 severity-high targetmilestone-inin1704 architecture-ppc64le bugnameltc-151418 severity-high targetmilestone-inin1704 verification-needed
2017-02-17 15:51:53 Andy Whitcroft pciutils (Ubuntu Xenial): status In Progress Fix Committed
2017-02-19 18:32:35 Launchpad Janitor pciutils (Ubuntu): status Fix Committed Fix Released
2017-02-20 16:29:30 bugproxy tags architecture-ppc64le bugnameltc-151418 severity-high targetmilestone-inin1704 verification-needed architecture-ppc64le bugnameltc-151418 severity-high targetmilestone-inin1704 verification-done-xenial verification-needed
2017-02-21 16:39:26 bugproxy tags architecture-ppc64le bugnameltc-151418 severity-high targetmilestone-inin1704 verification-done-xenial verification-needed architecture-ppc64le bugnameltc-151418 severity-high targetmilestone-inin1704 verification-done-xenial verification-done-yakkety
2017-03-07 18:06:47 Brian Murray pciutils (Ubuntu Yakkety): status Fix Committed Incomplete
2017-03-08 06:38:50 Robie Basak pciutils (Ubuntu Xenial): status Fix Committed Incomplete
2017-03-29 23:02:20 Steve Langasek pciutils (Ubuntu Xenial): status Incomplete Fix Committed
2017-03-29 23:02:37 Steve Langasek pciutils (Ubuntu Yakkety): status Incomplete Fix Committed
2017-04-05 10:34:31 Launchpad Janitor pciutils (Ubuntu Xenial): status Fix Committed Fix Released
2017-04-05 10:34:38 Robie Basak removed subscriber Ubuntu Stable Release Updates Team
2017-04-05 10:34:49 Launchpad Janitor pciutils (Ubuntu Yakkety): status Fix Committed Fix Released