PCI: pciehp: Add DMI table for in-band presence detection disabled
authorStuart Hayes <stuart.w.hayes@gmail.com>
Fri, 25 Oct 2019 19:00:47 +0000 (15:00 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Feb 2020 04:48:45 +0000 (22:48 -0600)
commit0b382546d863f2f09eecaccda95a0b4bfd148f92
treee64da0557b2ceee434f3a6f64efe522853886ce9
parentf496648b99f8f7f6711f7c30a6327381f37dd1e8
PCI: pciehp: Add DMI table for in-band presence detection disabled

Some systems have in-band presence detection disabled for hot-plug PCI
slots but do not report this in the slot capabilities 2 (SLTCAP2) register.
On these systems, presence detect can become active well after the link is
reported to be active, which can cause the slots to be disabled after a
device is connected.

Add a DMI table to flag these systems as having in-band presence detect
disabled.

Link: https://lore.kernel.org/r/20191025190047.38130-4-stuart.w.hayes@gmail.com
Signed-off-by: Stuart Hayes <stuart.w.hayes@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
drivers/pci/hotplug/pciehp_hpc.c