On 4/30/2021 7:26 PM, Shanker Donthineni wrote: > The _RST is a standard method specified in the ACPI specification. It > provides a function level reset when it is described in the acpi_device > context associated with PCI-device. > > Implement a new reset function pci_dev_acpi_reset() for probing RST > method and execute if it is defined in the firmware. The ACPI binding > information is available only after calling device_add(), so move > pci_init_reset_methods() to end of the pci_device_add(). > > The default priority of the acpi reset is set to below device-specific > and above hardware resets. > > Signed-off-by: Shanker Donthineni <sdonthineni@xxxxxxxxxx> Reviewed-by: Sinan Kaya <okaya@xxxxxxxxxx>