Skip to content

AMD IOMMU support for KVM device assignment

Joerg Roedel kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21AMD IOMMU: rename iommu_map to iommu_map_pagearch/x86/kernel/amd_iommu.c+5 -50 replies
2/21AMD IOMMU: fix iommu_map_page functionarch/x86/kernel/amd_iommu.c+1 -10 replies
3/21AMD IOMMU: fix loop counter in free_pagetable functionarch/x86/kernel/amd_iommu.c+1 -10 replies
4/21AMD IOMMU: make dma_ops_free_pagetable genericarch/x86/kernel/amd_iommu.c+5 -30 replies
5/21AMD IOMMU: add domain id free functionarch/x86/kernel/amd_iommu.c+10 -00 replies
6/21AMD IOMMU: refactor completion wait handling into separate functionsarch/x86/kernel/amd_iommu.c+44 -210 replies
7/21AMD IOMMU: move invalidation command building to a separate functionarch/x86/kernel/amd_iommu.c+16 -100 replies
8/21AMD IOMMU: add iommu_flush_domain functionarch/x86/kernel/amd_iommu.c+22 -00 replies
9/21AMD IOMMU: add protection domain flagsarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu.c+10 -50 replies
10/21AMD IOMMU: add checks for dma_ops domain to dma_ops functionsarch/x86/kernel/amd_iommu.c+21 -00 replies
11/21AMD IOMMU: add device reference counting for protection domainsarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu.c+3 -10 replies
12/21AMD IOMMU: add device detach helper functionsarch/x86/kernel/amd_iommu.c+41 -00 replies
13/21AMD IOMMU: add domain cleanup helper functionarch/x86/kernel/amd_iommu.c+14 -00 replies
14/21AMD IOMMU: add domain init function for IOMMU APIarch/x86/kernel/amd_iommu.c+28 -00 replies
15/21AMD IOMMU: add domain destroy function for IOMMU APIarch/x86/kernel/amd_iommu.c+21 -00 replies
16/21AMD IOMMU: add device detach function for IOMMU APIarch/x86/kernel/amd_iommu.c+27 -00 replies
17/21AMD IOMMU: add device attach function for IOMMU APIarch/x86/kernel/amd_iommu.c+35 -00 replies
18/21AMD IOMMU: add domain map function for IOMMU APIarch/x86/kernel/amd_iommu.c+28 -00 replies
19/21AMD IOMMU: add domain unmap function for IOMMU APIarch/x86/kernel/amd_iommu.c+39 -00 replies
20/21AMD IOMMU: add domain address lookup function for IOMMU APIarch/x86/kernel/amd_iommu.c+31 -00 replies
21/21AMD IOMMU: register functions for the IOMMU APIarch/x86/kernel/amd_iommu.c+14 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/21] AMD IOMMU support for KVM device assignment

This patchset implements KVM device assignment support in the AMD IOMMU driver. It uses the generic interface from the iommu-api patchset and was successfully tested using an 10GBit network card passed through to an KVM guest.

diffstat:

 arch/x86/include/asm/amd_iommu_types.h |   15 +-
 arch/x86/kernel/amd_iommu.c            |  448 +++++++++++++++++++++++++++++---
 2 files changed, 416 insertions(+), 47 deletions(-)