mbox series

[v2,0/6] PCI: hv: VMbus requestor and related fixes

Message ID 20220419122325.10078-1-parri.andrea@gmail.com (mailing list archive)
Headers show
Series PCI: hv: VMbus requestor and related fixes | expand

Message

Andrea Parri April 19, 2022, 12:23 p.m. UTC
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@gmail.com
[2] https://lkml.kernel.org/r/20220328144244.100228-1-parri.andrea@gmail.com

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(-)

Comments

Wei Liu April 25, 2022, 3:52 p.m. UTC | #1
On Tue, Apr 19, 2022 at 02:23:19PM +0200, Andrea Parri (Microsoft) wrote:
[...]
> 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()
> 

Applied to hyperv-next. Thanks.