Skip to content

PCI passthru on Hyper-V (Part II)

Mukesh R linux-arch linux-hyperv linux-iommu linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Changes in v1 from the cover letter

o rebase to above V3 of Part I
o check for NULL irqdata->parent_data->chip before calling irq_chip_unmask_parent().

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mshv: Import declarations for irq remap and add irqbypass supportdrivers/hv/Kconfig drivers/hv/mshv_eventfd.h include/hyperv/hvgdk_mini.h +1 more+24 -01 reply
2/3hyperv: Implement irq remap for passthru devicesarch/x86/hyperv/irqdomain.c drivers/hv/mshv_eventfd.c drivers/iommu/hyperv-iommu-root.c +2 more+464 -41 reply
3/3mshv: Implement guest irq migration for passthru devicesdrivers/hv/mshv_eventfd.c+76 -21 reply

Reviews trailers per patch

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

PatchSouradeep Chakrabarti
1/3R-b
2/3R-b
3/3R-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 V1 0/3] PCI passthru on Hyper-V (Part II)

This patch series implements interrupt remapping part of the PCI passthru feature on Hyper-V when Linux is running as a privileged VM. These patches complement Part I of the feature at:

https://lore.kernel.org/linux-hyperv/[email protected]/T/#t

Testing and other details are listed there.

Changes in V1:
o rebase to above V3 of Part I
o check for NULL irqdata->parent_data->chip before calling irq_chip_unmask_parent().

Thanks,
-Mukesh

Mukesh R (3):
mshv: Import declarations for irq remap and add irqbypass support
hyperv: Implement irq remap for passthru devices
mshv: Implement guest irq migration for passthru devices

 arch/x86/hyperv/irqdomain.c         |  18 +-
 drivers/hv/Kconfig                  |   1 +
 drivers/hv/mshv_eventfd.c           | 501 +++++++++++++++++++++++++++-
 drivers/hv/mshv_eventfd.h           |   3 +
 drivers/iommu/hyperv-iommu-root.c   |  14 +
 drivers/pci/controller/pci-hyperv.c |  10 +
 include/asm-generic/mshyperv.h      |   3 +
 include/hyperv/hvgdk_mini.h         |   3 +
 include/hyperv/hvhdk.h              |  17 +
 9 files changed, 564 insertions(+), 6 deletions(-)
Signature · 1 line
2.51.2.vfs.0.1