RFC stackable dma_ops for x86
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest9 patches 34 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | x86/iommu: add necessary types for stackable dma_opsinclude/ | +26 | 0 replies | |
| 2/9 | x86/iommu: add stackable dma_ops registration interfacearch/ include/ | +34 | 0 replies | |
| 3/9 | x86/iommu: change PCI-NOMMU to use dma_ops register interfacearch/ | +12 | 0 replies | |
| 4/9 | x86/iommu: change SWIOTLB to use dma_ops register interfacearch/ arch/ include/ | +21 | 0 replies | |
| 5/9 | x86/iommu: change GART to use dma_ops register interfacearch/ | +9 | 0 replies | |
| 6/9 | x86/iommu: change Calgary to use dma_ops register interfacearch/ | +11 | 6 replies | |
| 7/9 | x86/iommu: change AMD IOMMU to use dma_ops register interfacearch/ | +3 | 0 replies | |
| 8/9 | x86/iommu: change Intel IOMMU to use dma_ops register interfacedrivers/ | +8 | 0 replies | |
| 9/9 | x86/iommu: use dma_ops_list in get_dma_opsarch/ include/ include/ | +36 | 18 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9][RFC] stackable dma_ops for x86
Hi,
this patch series implements stackable dma_ops on x86. This is useful to be able to fall back to a different dma_ops implementation if one can not handle a particular device (as necessary for example with paravirtualized device passthrough or if a hardware IOMMU only handles a subset of available devices).
The patch series is split to change the different iommu implementations in different patches. This should make it easier for the specific maintainers to review the part that changes their code.
Thanks for review and comments,
Joerg
diffstat:
arch/x86/kernel/amd_iommu.c | 5 ++- arch/x86/kernel/pci-calgary_64.c | 21 ++++++------ arch/x86/kernel/pci-dma.c | 63 +++++++++++++++++++++++++++++++++++++- arch/x86/kernel/pci-gart_64.c | 9 +++++ arch/x86/kernel/pci-nommu.c | 12 +++++++ arch/x86/kernel/pci-swiotlb_64.c | 16 +++++++++- drivers/pci/intel-iommu.c | 8 +++++ include/asm-x86/device.h | 6 ++-- include/asm-x86/dma-mapping.h | 43 +++++++++++++++++++++---- include/asm-x86/swiotlb.h | 1 + 10 files changed, 160 insertions(+), 24 deletions(-)