summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/pci_dma.h
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2015-08-27 16:33:03 +0300
committerJoerg Roedel <jroedel@suse.de>2015-10-06 13:20:24 +0300
commit8128f23c436d0dd4f72412e1bf9256e424479dc3 (patch)
treefa98a41a6b55c0108fa8f5724a8edc4d124a56ff /arch/s390/include/asm/pci_dma.h
parent049e6dde7e57f0054fdc49102e7ef4830c698b46 (diff)
downloadlinux-8128f23c436d0dd4f72412e1bf9256e424479dc3.tar.xz
iommu/s390: Add iommu api for s390 pci devices
This adds an IOMMU API implementation for s390 PCI devices. Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/s390/include/asm/pci_dma.h')
-rw-r--r--arch/s390/include/asm/pci_dma.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/include/asm/pci_dma.h b/arch/s390/include/asm/pci_dma.h
index 30b4c179c38c..7a7abf1a5537 100644
--- a/arch/s390/include/asm/pci_dma.h
+++ b/arch/s390/include/asm/pci_dma.h
@@ -192,5 +192,8 @@ static inline unsigned long *get_st_pto(unsigned long entry)
/* Prototypes */
int zpci_dma_init_device(struct zpci_dev *);
void zpci_dma_exit_device(struct zpci_dev *);
-
+void dma_free_seg_table(unsigned long);
+unsigned long *dma_alloc_cpu_table(void);
+void dma_cleanup_tables(unsigned long *);
+void dma_update_cpu_trans(unsigned long *, void *, dma_addr_t, int);
#endif