PCI: rpaphp: Add drc-info support for hotplug slot registration
authorTyrel Datwyler <tyreld@linux.ibm.com>
Mon, 11 Nov 2019 05:21:33 +0000 (23:21 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:57:58 +0000 (16:57 +1100)
commitefeda8fada43783635f0274b0a0fa0d0fb6debb8
treeab9f716f997d2e3f6026c8b9ee5ea5a3ee83a4ab
parent52e2b0f16574afd082cff0f0e8567b2d9f68c033
PCI: rpaphp: Add drc-info support for hotplug slot registration

Split physical PCI slot registration scanning into separate routines
that support the old ibm,drc-* properties and one that supports the
new compressed ibm,drc-info property.

Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1573449697-5448-7-git-send-email-tyreld@linux.ibm.com
drivers/pci/hotplug/rpaphp_core.c