Skip to content

PCI: hv: VMbus requestor and related fixes

Andrea Parri (Microsoft) linux-hyperv linux-pci lkml 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesApplied
  2. v16 patches 11 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6Drivers: hv: vmbus: Fix handling of messages with transaction ID of zerodrivers/hv/channel.c+4 -20 replies
2/6PCI: hv: Use vmbus_requestor to generate transaction IDs for VMbus hardeningdrivers/pci/controller/pci-hyperv.c+29 -102 replies
3/6Drivers: hv: vmbus: Introduce vmbus_sendpacket_getid()drivers/hv/channel.c drivers/hv/hyperv_vmbus.h drivers/hv/ring_buffer.c +1 more+51 -100 replies
4/6Drivers: hv: vmbus: Introduce vmbus_request_addr_match()drivers/hv/channel.c include/linux/hyperv.h+52 -181 reply
5/6Drivers: hv: vmbus: Introduce {lock,unlock}_requestor()drivers/hv/channel.c include/linux/hyperv.h+20 -60 replies
6/6PCI: hv: Fix synchronization between channel callback and hv_compose_msi_msg()drivers/pci/controller/pci-hyperv.c+27 -61 reply

Reviews trailers per patch

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

PatchMichael KelleyLorenzo Pieralisi
1/6R-b
2/6R-b A-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/6] PCI: hv: VMbus requestor and related fixes

Changes since v1 [1]:
- Use dev_err() in hv_pci_onchannelcallback()
- Remove Fixes: tag from patch #6
- Add Reviewed-by: tags

Changes since RFC [2]:
- Rebase on hyperv-fixes (although more likely -next material)
- Fix handling of messages with transaction ID of 0
- Avoid reading trans_id from the ring buffer
- Move hv_pci_request_addr_match()&co. to VMbus
- Introduce primitives to lock and unlock the requestor
- Improve comments and log messages

Applies to v5.18-rc3.

Thanks,
Andrea

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

Andrea Parri (Microsoft) (6):
Drivers: hv: vmbus: Fix handling of messages with transaction ID of
zero
PCI: hv: Use vmbus_requestor to generate transaction IDs for VMbus
hardening
Drivers: hv: vmbus: Introduce vmbus_sendpacket_getid()
Drivers: hv: vmbus: Introduce vmbus_request_addr_match()
Drivers: hv: vmbus: Introduce {lock,unlock}_requestor()
PCI: hv: Fix synchronization between channel callback and
hv_compose_msi_msg()

 drivers/hv/channel.c                | 116 +++++++++++++++++++++-------
 drivers/hv/hyperv_vmbus.h           |   2 +-
 drivers/hv/ring_buffer.c            |  14 +++-
 drivers/pci/controller/pci-hyperv.c |  68 ++++++++++++----
 include/linux/hyperv.h              |  27 +++++++
 5 files changed, 179 insertions(+), 48 deletions(-)
Signature · 1 line
2.25.1