Skip to content

Drivers: hv: vmbus: Miscellaneous cleanups

Andrea Parri (Microsoft) linux-hyperv linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Drivers: hv: vmbus: Remove the target_vp field from the vmbus_channel structdrivers/hv/channel.c drivers/hv/channel_mgmt.c drivers/hv/vmbus_drv.c +1 more+9 -141 reply
2/8Drivers: hv: vmbus: Remove the numa_node field from the vmbus_channel structdrivers/hv/channel_mgmt.c drivers/hv/vmbus_drv.c include/linux/hyperv.h+1 -51 reply
3/8Drivers: hv: vmbus: Replace cpumask_test_cpu(, cpu_online_mask) with cpu_online()drivers/hv/vmbus_drv.c+1 -11 reply
4/8Drivers: hv: vmbus: Remove unnecessary channel->lock critical sections (sc_list readers)drivers/hv/hv.c drivers/hv/vmbus_drv.c+0 -61 reply
5/8Drivers: hv: vmbus: Use channel_mutex in channel_vp_mapping_show()drivers/hv/vmbus_drv.c+3 -41 reply
6/8Drivers: hv: vmbus: Remove unnecessary channel->lock critical sections (sc_list updaters)drivers/hv/channel_mgmt.c+6 -191 reply
7/8scsi: storvsc: Introduce the per-storvsc_device spinlockdrivers/scsi/storvsc_drv.c+11 -55 replies
8/8Drivers: hv: vmbus: Remove the lock field from the vmbus_channel structdrivers/hv/channel.c drivers/hv/channel_mgmt.c include/linux/hyperv.h+1 -121 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMichael KelleyMartin K. Petersen
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b A-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Drivers: hv: vmbus: Miscellaneous cleanups

Hi all,

I went back to my "cleanup list" recently and I wrote these patches:
here you can find, among other things,

1) the removal of the fields 'target_vp' and 'numa_node' from the

     channel data structure, as suggested by Michael back in May;

2) various cleanups for channel->lock, which is actually *removed by the end of this series! ;-)

I'm sure there is room for further "cleanups", ;-) but let me check if these (relatively small) changes make sense first...

Thanks,
Andrea

Andrea Parri (Microsoft) (8):
Drivers: hv: vmbus: Remove the target_vp field from the vmbus_channel
struct
Drivers: hv: vmbus: Remove the numa_node field from the vmbus_channel
struct
Drivers: hv: vmbus: Replace cpumask_test_cpu(, cpu_online_mask) with
cpu_online()
Drivers: hv: vmbus: Remove unnecessary channel->lock critical sections
(sc_list readers)
Drivers: hv: vmbus: Use channel_mutex in channel_vp_mapping_show()
Drivers: hv: vmbus: Remove unnecessary channel->lock critical sections
(sc_list updaters)
scsi: storvsc: Introduce the per-storvsc_device spinlock
Drivers: hv: vmbus: Remove the lock field from the vmbus_channel
struct

 drivers/hv/channel.c       |  9 +++------
 drivers/hv/channel_mgmt.c  | 31 ++++++-------------------------
 drivers/hv/hv.c            |  3 ---
 drivers/hv/vmbus_drv.c     | 17 +++++------------
 drivers/scsi/storvsc_drv.c | 16 +++++++++++-----
 include/linux/hyperv.h     | 22 +++++++---------------
 6 files changed, 32 insertions(+), 66 deletions(-)
Signature · 1 line
2.25.1