Message ID | 20221123205219.31748-1-anirudh.venkataramanan@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | Remove uses of kmap_atomic() | expand |
Hello: This series was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Wed, 23 Nov 2022 12:52:13 -0800 you wrote: > 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. > > [...] Here is the summary with links: - [v2,net-next,1/6] ch_ktls: Use memcpy_from_page() instead of k[un]map_atomic() https://git.kernel.org/netdev/net-next/c/51337ef07a40 - [v2,net-next,2/6] sfc: Use kmap_local_page() instead of kmap_atomic() https://git.kernel.org/netdev/net-next/c/f61e6d3ca4da - [v2,net-next,3/6] cassini: Use page_address() instead of kmap_atomic() https://git.kernel.org/netdev/net-next/c/c191445874bb - [v2,net-next,4/6] cassini: Use memcpy_from_page() instead of k[un]map_atomic() https://git.kernel.org/netdev/net-next/c/e3128591b55a - [v2,net-next,5/6] sunvnet: Use kmap_local_page() instead of kmap_atomic() https://git.kernel.org/netdev/net-next/c/350d351389e9 - [v2,net-next,6/6] net: thunderbolt: Use kmap_local_page() instead of kmap_atomic() https://git.kernel.org/netdev/net-next/c/c3a8d375f3b9 You are awesome, thank you!
On mercoledì 23 novembre 2022 21:52:13 CET Anirudh Venkataramanan wrote: > 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 I noticed too late that your patches were already applied. The message from the patchwork bot was the latest. I'm sorry for the noise: my tags were unnecessary but I didn't yet know :-( However, again thanks for helping with these conversions, Fabio