netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iwl-next v2 0/2] net: intel: cleanup power ops
@ 2024-03-06  2:50 Jesse Brandeburg
  2024-03-06  2:50 ` [PATCH iwl-next v2 1/2] igb: simplify pci ops declaration Jesse Brandeburg
  2024-03-06  2:50 ` [PATCH iwl-next v2 2/2] net: intel: implement modern PM ops declarations Jesse Brandeburg
  0 siblings, 2 replies; 12+ messages in thread
From: Jesse Brandeburg @ 2024-03-06  2:50 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: Jesse Brandeburg, netdev, horms, pmenzel

Do a quick refactor of igb to clean up some unnecessary declarations,
noticed while doing the real work of 2/2.

Follow that with a change of all the Intel drivers to use the current
power management declaration APIs, to avoid complication and maintenance
issues with CONFIG_PM=<m|y|n>. This is as per [1]

Mostly compile-tested only, the ice driver currently has a bug in it
that causes a panic that is being fixed via -net.

Changes in v2:
- ice driver simple changes added which go with this series
- igb compilation issues of the patch when standalone with CONFIG_PM=n
  fixed by adding missing ifdef, which is then cleaned up in 2/2

original v1:
Link: https://lore.kernel.org/netdev/20240210220109.3179408-1-jesse.brandeburg@intel.com/

[1] https://lore.kernel.org/netdev/20211207002102.26414-1-paul@crapouillou.net/

Jesse Brandeburg (2):
  igb: simplify pci ops declaration
  net: intel: implement modern PM ops declarations

 drivers/net/ethernet/intel/e100.c             |  8 +--
 drivers/net/ethernet/intel/e1000/e1000_main.c | 14 ++---
 drivers/net/ethernet/intel/e1000e/netdev.c    | 22 +++----
 drivers/net/ethernet/intel/fm10k/fm10k_pci.c  | 10 ++--
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 10 ++--
 drivers/net/ethernet/intel/iavf/iavf_main.c   |  8 +--
 drivers/net/ethernet/intel/ice/ice_main.c     | 12 ++--
 drivers/net/ethernet/intel/igb/igb_main.c     | 59 ++++++++-----------
 drivers/net/ethernet/intel/igbvf/netdev.c     |  6 +-
 drivers/net/ethernet/intel/igc/igc_main.c     | 24 +++-----
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  8 +--
 .../net/ethernet/intel/ixgbevf/ixgbevf_main.c |  8 +--
 12 files changed, 78 insertions(+), 111 deletions(-)


base-commit: 60d06425e04558be21634a719b5c60c9bd862c34
-- 
2.39.3


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-03-13  3:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06  2:50 [PATCH iwl-next v2 0/2] net: intel: cleanup power ops Jesse Brandeburg
2024-03-06  2:50 ` [PATCH iwl-next v2 1/2] igb: simplify pci ops declaration Jesse Brandeburg
2024-03-06  6:24   ` Paul Menzel
2024-03-06  6:46     ` Heiner Kallweit
2024-03-06  7:36       ` Paul Menzel
2024-03-06 14:24   ` Maciej Fijalkowski
2024-03-06 23:14   ` Bjorn Helgaas
2024-03-06 23:15     ` Bjorn Helgaas
2024-03-13  3:53   ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2024-03-06  2:50 ` [PATCH iwl-next v2 2/2] net: intel: implement modern PM ops declarations Jesse Brandeburg
2024-03-06 14:26   ` Maciej Fijalkowski
2024-03-13  3:55   ` [Intel-wired-lan] " Pucha, HimasekharX Reddy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).