]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: shpchp: Fix AMD POGO identification
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 30 May 2018 19:06:42 +0000 (14:06 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 4 Jun 2018 17:07:31 +0000 (12:07 -0500)
commit1d75f6edfa33b1f171afe230578669680d49df49
tree5d4ab675507c72f640e0e61d5ba9e2cc2235b7cf
parenta7d36c4e11e9f4fe50cefc675efecd3ef8a782cc
PCI: shpchp: Fix AMD POGO identification

The fix for an AMD POGO erratum related to SHPC incorrectly identified the
device.  The workaround should be applied only for AMD POGO devices, but it
was instead applied to:

  - all AMD bridges, and
  - all devices from any vendor with device ID 0x7458

Fixes: 40976af9de92 ("[PATCH] PCI Hotplug: shpchp: AMD POGO errata fix")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/shpchp_ctrl.c