Messages in this thread | | | Date | Thu, 25 Jun 2020 15:16:19 +0300 | From | Mika Westerberg <> | Subject | Re: [PATCH V2 1/2] PCI: Add ACPI StorageD3Enable _DSD support |
| |
On Thu, Jun 25, 2020 at 01:30:53PM +0200, Rafael J. Wysocki wrote: > It is not necessary to call acpi_pci_find_companion() from > pci_acpi_storage_d3() as long as that function is required to be > called by the target device's driver probe or later. > > Ths acpi_pci_bridge_d3() case is different, though, AFAICS, because it > is invoked in the pci_pm_init() path, via pci_bridge_d3_possible(), > and that gets called from pci_device_add() *before* calling > device_add(). > > Mika, is that why acpi_pci_find_companion() gets callled from > acpi_pci_bridge_d3()?
Yes, that's correct.
| |