Files
linux/drivers
Marcel Apfelbaum d0e845f656 PCI: shpchp: Check bridge's secondary (not primary) bus speed
commit 93fa9d3267 upstream.

When a new device is added below a hotplug bridge, the bridge's secondary
bus speed and the device's bus speed must match.  The shpchp driver
previously checked the bridge's *primary* bus speed, not the secondary bus
speed.

This caused hot-add errors like:

  shpchp 0000:00:03.0: Speed of bus ff and adapter 0 mismatch

Check the secondary bus speed instead.

[bhelgaas: changelog]
Link: https://bugzilla.kernel.org/show_bug.cgi?id=75251
Fixes: 3749c51ac6 ("PCI: Make current and maximum bus speeds part of the PCI core")
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 13:25:38 -07:00
..
2013-12-08 07:29:25 -08:00
2014-03-06 21:30:14 -08:00
2014-04-14 06:42:18 -07:00
2014-02-22 12:41:27 -08:00
2014-02-20 11:06:11 -08:00
2014-02-13 13:48:03 -08:00
2014-04-03 12:01:05 -07:00
2014-05-30 21:52:12 -07:00
2013-12-20 07:45:11 -08:00