diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2015-08-27 15:33:03 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-10-06 12:20:24 +0200 |
commit | 8128f23c436d0dd4f72412e1bf9256e424479dc3 (patch) | |
tree | fa98a41a6b55c0108fa8f5724a8edc4d124a56ff /arch/s390/include/asm/pci.h | |
parent | 049e6dde7e57f0054fdc49102e7ef4830c698b46 (diff) | |
download | talos-op-linux-8128f23c436d0dd4f72412e1bf9256e424479dc3.tar.gz talos-op-linux-8128f23c436d0dd4f72412e1bf9256e424479dc3.zip |
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.h')
-rw-r--r-- | arch/s390/include/asm/pci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h index 34d960353a08..c873e682b67f 100644 --- a/arch/s390/include/asm/pci.h +++ b/arch/s390/include/asm/pci.h @@ -62,6 +62,8 @@ struct zpci_bar_struct { u8 size; /* order 2 exponent */ }; +struct s390_domain; + /* Private data per function */ struct zpci_dev { struct pci_dev *pdev; @@ -118,6 +120,8 @@ struct zpci_dev { struct dentry *debugfs_dev; struct dentry *debugfs_perf; + + struct s390_domain *s390_domain; /* s390 IOMMU domain data */ }; static inline bool zdev_enabled(struct zpci_dev *zdev) |