Skip to content

Hyper-V: root VM iommu kernel only driver

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 Latest3 patches 7 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: hv: Export hv_build_devid_type_pci() and change return typearch/x86/hyperv/irqdomain.c arch/x86/include/asm/mshyperv.h+11 -41 reply
2/3mshv: Import data structs around device domains from hyperv headersinclude/hyperv/hvgdk_mini.h include/hyperv/hvhdk_mini.h+99 -03 replies
3/3x86/hyperv: Implement root VM IOMMU kernel only driverarch/x86/kernel/pci-dma.c drivers/iommu/Kconfig drivers/iommu/hyperv/Kconfig +4 more+673 -03 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSouradeep ChakrabartiEaswar Hariharan
1/3R-b R-b
2/3
3/3

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

Read the v0 thread

Cover letter [PATCH V0 0/3] Hyper-V: root VM iommu kernel only driver

This short series introduces hyperv root VM iommu kernel only driver. This driver acts as liason between the hypervisor and iommu layer. Details are both in the actual commit and in the comments in the file implementing it.

Thanks,
-Mukesh

V0: based on upstream hyperv-next commit be0cfab740e5

Mukesh R (3):
PCI: hv: Export hv_build_devid_type_pci() and change return type
mshv: Import data structs around device domains from hyperv headers x86/hyperv: Implement Hyper-V virtual IOMMU on root VMs

 arch/x86/hyperv/irqdomain.c          |   9 +-
 arch/x86/include/asm/mshyperv.h      |   6 +
 arch/x86/kernel/pci-dma.c            |   2 +
 drivers/iommu/Kconfig                |   1 +
 drivers/iommu/hyperv/Kconfig         |  15 +
 drivers/iommu/hyperv/Makefile        |   1 +
 drivers/iommu/hyperv/hv-iommu-root.c | 645 +++++++++++++++++++++++++++
 include/asm-generic/mshyperv.h       |   3 +
 include/hyperv/hvgdk_mini.h          |   9 +
 include/hyperv/hvhdk_mini.h          |  90 ++++
 include/linux/hyperv.h               |   6 +
 11 files changed, 783 insertions(+), 4 deletions(-)
 create mode 100644 drivers/iommu/hyperv/Kconfig
 create mode 100644 drivers/iommu/hyperv/hv-iommu-root.c
Signature · 1 line
2.51.2.vfs.0.1