netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/6] Remove uses of kmap_atomic()
@ 2022-11-23 20:52 Anirudh Venkataramanan
  2022-11-23 20:52 ` [PATCH v2 net-next 1/6] ch_ktls: Use memcpy_from_page() instead of k[un]map_atomic() Anirudh Venkataramanan
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Anirudh Venkataramanan @ 2022-11-23 20:52 UTC (permalink / raw)
  To: netdev; +Cc: Ira Weiny, Fabio M . De Francesco, Anirudh Venkataramanan

kmap_atomic() is being deprecated. This little series replaces the last
few uses of kmap_atomic() in the networking subsystem.

This series triggered a suggestion [1] that perhaps the Sun Cassini,
LDOM Virtual Switch Driver and the LDOM virtual network drivers should be
removed completely. I plan to do this in a follow up patchset. For
completeness, this series still includes kmap_atomic() conversions that
apply to the above referenced drivers. If for some reason we choose to not
remove these drivers, at least they won't be using kmap_atomic() anymore.

Also, the following maintainer entries for the Chelsio driver seem to be
defunct:

  Vinay Kumar Yadav <vinay.yadav@chelsio.com>
  Rohit Maheshwari <rohitm@chelsio.com>

I can submit a follow up patch to remove these entries, but thought
maybe the folks over at Chelsio would want to look into this first.

Changes v1 -> v2:
  Use memcpy_from_page() in patches 2/6 and 4/6
  Add new patch for the thunderbolt driver
  Update commit messages and cover letter

[1] https://lore.kernel.org/netdev/99629223-ac1b-0f82-50b8-ea307b3b0197@intel.com/T/#m3da3759652a48f958ab852fa5499009b43ff8fdd

Anirudh Venkataramanan (6):
  ch_ktls: Use memcpy_from_page() instead of k[un]map_atomic()
  sfc: Use kmap_local_page() instead of kmap_atomic()
  cassini: Use page_address() instead of kmap_atomic()
  cassini: Use memcpy_from_page() instead of k[un]map_atomic()
  sunvnet: Use kmap_local_page() instead of kmap_atomic()
  net: thunderbolt: Use kmap_local_page() instead of kmap_atomic()

 .../chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 26 +++++-----
 drivers/net/ethernet/sfc/tx.c                 |  4 +-
 drivers/net/ethernet/sun/cassini.c            | 48 ++++++-------------
 drivers/net/ethernet/sun/sunvnet_common.c     |  4 +-
 drivers/net/thunderbolt.c                     |  8 ++--
 5 files changed, 35 insertions(+), 55 deletions(-)


base-commit: e80bd08fd75a644e2337fb535c1afdb6417357ff
-- 
2.37.2


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

end of thread, other threads:[~2022-11-28 20:22 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23 20:52 [PATCH v2 net-next 0/6] Remove uses of kmap_atomic() Anirudh Venkataramanan
2022-11-23 20:52 ` [PATCH v2 net-next 1/6] ch_ktls: Use memcpy_from_page() instead of k[un]map_atomic() Anirudh Venkataramanan
2022-11-24 10:56   ` Ayush Sawal
2022-11-28 20:22     ` Anirudh Venkataramanan
2022-11-25 15:34   ` Fabio M. De Francesco
2022-11-23 20:52 ` [PATCH v2 net-next 2/6] sfc: Use kmap_local_page() instead of kmap_atomic() Anirudh Venkataramanan
2022-11-24  8:34   ` Martin Habets
2022-11-25 15:37   ` Fabio M. De Francesco
2022-11-23 20:52 ` [PATCH v2 net-next 3/6] cassini: Use page_address() " Anirudh Venkataramanan
2022-11-25 15:38   ` Fabio M. De Francesco
2022-11-23 20:52 ` [PATCH v2 net-next 4/6] cassini: Use memcpy_from_page() instead of k[un]map_atomic() Anirudh Venkataramanan
2022-11-25 15:39   ` Fabio M. De Francesco
2022-11-23 20:52 ` [PATCH v2 net-next 5/6] sunvnet: Use kmap_local_page() instead of kmap_atomic() Anirudh Venkataramanan
2022-11-25 15:40   ` Fabio M. De Francesco
2022-11-23 20:52 ` [PATCH v2 net-next 6/6] net: thunderbolt: " Anirudh Venkataramanan
2022-11-24  9:34   ` Mika Westerberg
2022-11-25 15:41   ` Fabio M. De Francesco
2022-11-25 10:50 ` [PATCH v2 net-next 0/6] Remove uses " patchwork-bot+netdevbpf
2022-11-25 15:47 ` Fabio M. De Francesco

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).