[PATCH v2 0/6] PCI: hv: VMbus requestor and related fixes
From: Andrea Parri (Microsoft)
Date: Tue Apr 19 2022 - 08:24:12 EST
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/20220407043028.379534-1-parri.andrea@xxxxxxxxx
[2] https://lkml.kernel.org/r/20220328144244.100228-1-parri.andrea@xxxxxxxxx
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(-)
--
2.25.1