> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Vaibhav Gupta
> Sent: Monday, June 29, 2020 2:30 AM
> To: Bjorn Helgaas <[email protected]>; Bjorn Helgaas
> <[email protected]>; [email protected]; Vaibhav Gupta
> <[email protected]>; David S. Miller <[email protected]>;
> Jakub Kicinski <[email protected]>; Kirsher, Jeffrey T
> <[email protected]>
> Cc: Vaibhav Gupta <[email protected]>; [email protected];
> [email protected]; [email protected];
> [email protected]; linux-kernel-
> [email protected]
> Subject: [Intel-wired-lan] [PATCH v1 1/5] iavf: use generic power
> management
> 
> With the support of generic PM callbacks, drivers no longer need to use
> legacy .suspend() and .resume() in which they had to maintain PCI states
> changes and device's power state themselves. The required operations are
> done by PCI core.
> 
> PCI drivers are not expected to invoke PCI helper functions like
> pci_save/restore_state(), pci_enable/disable_device(),
> pci_set_power_state(), etc. Their tasks are completed by PCI core itself.
> 
> Compile-tested only.
> 
> Signed-off-by: Vaibhav Gupta <[email protected]>
> ---
>  drivers/net/ethernet/intel/iavf/iavf_main.c | 45 ++++++---------------
>  1 file changed, 12 insertions(+), 33 deletions(-)

Tested-by: Andrew Bowers <[email protected]>


Reply via email to