[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN6PR1101MB2145E60BA3521C44510791B68C6C0@BN6PR1101MB2145.namprd11.prod.outlook.com>
Date: Wed, 1 Jul 2020 17:01:38 +0000
From: "Bowers, AndrewX" <andrewx.bowers@...el.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
Subject: RE: [Intel-wired-lan] [PATCH v1 4/5] ixgbevf: use generic power
management
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Vaibhav Gupta
> Sent: Monday, June 29, 2020 2:30 AM
> To: Bjorn Helgaas <helgaas@...nel.org>; Bjorn Helgaas
> <bhelgaas@...gle.com>; bjorn@...gaas.com; Vaibhav Gupta
> <vaibhav.varodek@...il.com>; David S. Miller <davem@...emloft.net>;
> Jakub Kicinski <kuba@...nel.org>; Kirsher, Jeffrey T
> <jeffrey.t.kirsher@...el.com>
> Cc: Vaibhav Gupta <vaibhavgupta40@...il.com>; netdev@...r.kernel.org;
> linux-kernel@...r.kernel.org; intel-wired-lan@...ts.osuosl.org;
> skhan@...uxfoundation.org; linux-kernel-
> mentees@...ts.linuxfoundation.org
> Subject: [Intel-wired-lan] [PATCH v1 4/5] ixgbevf: use generic power
> management
>
> With legacy PM, drivers themselves were responsible for managing the
> device's power states and takes care of register states.
>
> After upgrading to the generic structure, PCI core will take care of required
> tasks and drivers should do only device-specific operations.
>
> The driver was invoking PCI helper functions like pci_save/restore_state(),
> and pci_enable/disable_device(), which is not recommended.
>
> Compile-tested only.
>
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40@...il.com>
> ---
> .../net/ethernet/intel/ixgbevf/ixgbevf_main.c | 44 +++++--------------
> 1 file changed, 10 insertions(+), 34 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers@...el.com>
Powered by blists - more mailing lists