Skip to content

VMBus channel interrupt reassignment

Andrea Parri (Microsoft) linux-hyperv linux-pci linux-scsi lkml netdev 1 version Applied

Status from this message: Applied to hyperv-next. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11Drivers: hv: vmbus: Always handle the VMBus messages on CPU0drivers/hv/connection.c drivers/hv/hv.c drivers/hv/hyperv_vmbus.h +1 more+31 -271 reply
2/11Drivers: hv: vmbus: Don't bind the offer&rescind works to a specific CPUdrivers/hv/channel_mgmt.c drivers/hv/vmbus_drv.c+44 -161 reply
3/11Drivers: hv: vmbus: Replace the per-CPU channel lists with a global array of channelsdrivers/hv/channel_mgmt.c drivers/hv/connection.c drivers/hv/hv.c +3 more+160 -1261 reply
4/11hv_netvsc: Disable NAPI before closing the VMBus channeldrivers/hv/channel.c drivers/net/hyperv/netvsc.c+11 -21 reply
5/11hv_utils: Always execute the fcopy and vss callbacks in a taskletdrivers/hv/hv_fcopy.c drivers/hv/hv_snapshot.c drivers/hv/hyperv_vmbus.h+3 -81 reply
6/11Drivers: hv: vmbus: Use a spin lock for synchronizing channel scheduling vs. channel removaldrivers/hv/channel.c drivers/hv/channel_mgmt.c drivers/hv/vmbus_drv.c +1 more+31 -301 reply
7/11PCI: hv: Prepare hv_compose_msi_msg() for the VMBus-channel-interrupt-to-vCPU reassignment functionalitydrivers/pci/controller/pci-hyperv.c+28 -161 reply
8/11Drivers: hv: vmbus: Remove the unused HV_LOCALIZED channel affinity logicdrivers/hv/channel_mgmt.c include/linux/hyperv.h+25 -1071 reply
9/11Drivers: hv: vmbus: Synchronize init_vp_index() vs. CPU hotplugdrivers/hv/channel_mgmt.c drivers/hv/hv.c+38 -161 reply
10/11Drivers: hv: vmbus: Introduce the CHANNELMSG_MODIFYCHANNEL message typedrivers/hv/channel.c drivers/hv/channel_mgmt.c drivers/hv/hv_trace.h +2 more+163 -41 reply
11/11scsi: storvsc: Re-init stor_chns when a channel interrupt is re-assigneddrivers/hv/vmbus_drv.c drivers/scsi/storvsc_drv.c include/linux/hyperv.h+94 -85 replies

Reviews trailers per patch

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

PatchVitaly KuznetsovStephen HemmingerMichael Kelley
1/11R-b R-b
2/11R-b
3/11R-b
4/11A-b R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/11] VMBus channel interrupt reassignment

Hi all,

This is a follow-up on the RFC submission [1]. The series introduces changes in the VMBus drivers to reassign the CPU that a VMbus channel will interrupt. This feature can be used for load balancing or other purposes (e.g. CPU offlining). The submission integrates feedback in the RFC to amend the handling of the 'array of channels' (patch #3).

Thanks,
Andrea

[1] https://lkml.kernel.org/r/[email protected]

Cc "David S. Miller" <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc Andrew Murray <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>

Andrea Parri (Microsoft) (11):
Drivers: hv: vmbus: Always handle the VMBus messages on CPU0
Drivers: hv: vmbus: Don't bind the offer&rescind works to a specific
CPU
Drivers: hv: vmbus: Replace the per-CPU channel lists with a global
array of channels
hv_netvsc: Disable NAPI before closing the VMBus channel
hv_utils: Always execute the fcopy and vss callbacks in a tasklet
Drivers: hv: vmbus: Use a spin lock for synchronizing channel
scheduling vs. channel removal
PCI: hv: Prepare hv_compose_msi_msg() for the
VMBus-channel-interrupt-to-vCPU reassignment functionality
Drivers: hv: vmbus: Remove the unused HV_LOCALIZED channel affinity
logic
Drivers: hv: vmbus: Synchronize init_vp_index() vs. CPU hotplug
Drivers: hv: vmbus: Introduce the CHANNELMSG_MODIFYCHANNEL message
type
scsi: storvsc: Re-init stor_chns when a channel interrupt is
re-assigned

 drivers/hv/channel.c                |  58 +++--
 drivers/hv/channel_mgmt.c           | 347 +++++++++++++++-------------
 drivers/hv/connection.c             |  58 +----
 drivers/hv/hv.c                     |  16 +-
 drivers/hv/hv_fcopy.c               |   2 +-
 drivers/hv/hv_snapshot.c            |   2 +-
 drivers/hv/hv_trace.h               |  19 ++
 drivers/hv/hyperv_vmbus.h           |  32 ++-
 drivers/hv/vmbus_drv.c              | 241 +++++++++++++++----
 drivers/net/hyperv/netvsc.c         |   7 +-
 drivers/pci/controller/pci-hyperv.c |  44 ++--
 drivers/scsi/storvsc_drv.c          |  95 +++++++-
 include/linux/hyperv.h              |  51 ++--
 13 files changed, 620 insertions(+), 352 deletions(-)
Signature · 1 line
2.24.0