[Intel-wired-lan] [PATCH v1 1/5] iavf: use generic power management

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jul 1 16:59:47 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Vaibhav Gupta
> Sent: Monday, June 29, 2020 2:30 AM
> To: Bjorn Helgaas <helgaas at kernel.org>; Bjorn Helgaas
> <bhelgaas at google.com>; bjorn at helgaas.com; Vaibhav Gupta
> <vaibhav.varodek at gmail.com>; David S. Miller <davem at davemloft.net>;
> Jakub Kicinski <kuba at kernel.org>; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Cc: Vaibhav Gupta <vaibhavgupta40 at gmail.com>; netdev at vger.kernel.org;
> linux-kernel at vger.kernel.org; intel-wired-lan at lists.osuosl.org;
> skhan at linuxfoundation.org; linux-kernel-
> mentees at lists.linuxfoundation.org
> 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 <vaibhavgupta40 at gmail.com>
> ---
>  drivers/net/ethernet/intel/iavf/iavf_main.c | 45 ++++++---------------
>  1 file changed, 12 insertions(+), 33 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list