PCI: Restrict device disabled status check to DT
This series resolves RHBZ 2184745. Commit 6fffbc7ae137 ("PCI: Honor firmware's
device disabled status") checked the firmware device status for both DT and
ACPI devices. Checking ACPI _STA for devices on enumerable buses such as PCI
is not valid and caused a regression in some ACPI systems [1].
As a fix, this patch limits checking firmware device status to Device Tree (DT)
[2], dropping the ACPI aspects.
The patch back-ported cleanly.
[1] https://lore.kernel.org/linux-pci/20230419193432.GA220432@bhelgaas/T/#t
[2] https://lore.kernel.org/linux-pci/20230419202042.GA223738@bhelgaas/T/#t
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2184745
Depends: N/A
Testing: Testing was successful for all three currently know cases of failure.
Signed-off-by: Myron Stowe <mstowe@redhat.com>