diff options
author | Joerg Roedel <jroedel@suse.de> | 2014-08-05 16:38:38 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-08-26 11:37:37 +0200 |
commit | 50917e265ebd2ea33bc34b22b3981f1e88415eae (patch) | |
tree | 87038b03e515d2c7c436ecfcde23953c0baedcc8 /drivers/iommu/amd_iommu_types.h | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef (diff) | |
download | linux-stable-50917e265ebd2ea33bc34b22b3981f1e88415eae.tar.gz linux-stable-50917e265ebd2ea33bc34b22b3981f1e88415eae.tar.bz2 linux-stable-50917e265ebd2ea33bc34b22b3981f1e88415eae.zip |
iommu/amd: Move struct iommu_dev_data to amd_iommu.c
The struct is only used there, so it doesn't need to be in
the header file.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
-rw-r--r-- | drivers/iommu/amd_iommu_types.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index 8e43b7cba133..cec51a8ba844 100644 --- a/drivers/iommu/amd_iommu_types.h +++ b/drivers/iommu/amd_iommu_types.h @@ -418,27 +418,6 @@ struct protection_domain { }; /* - * This struct contains device specific data for the IOMMU - */ -struct iommu_dev_data { - struct list_head list; /* For domain->dev_list */ - struct list_head dev_data_list; /* For global dev_data_list */ - struct iommu_dev_data *alias_data;/* The alias dev_data */ - struct protection_domain *domain; /* Domain the device is bound to */ - atomic_t bind; /* Domain attach reference count */ - u16 devid; /* PCI Device ID */ - bool iommu_v2; /* Device can make use of IOMMUv2 */ - bool passthrough; /* Default for device is pt_domain */ - struct { - bool enabled; - int qdep; - } ats; /* ATS state */ - bool pri_tlp; /* PASID TLB required for - PPR completions */ - u32 errata; /* Bitmap for errata to apply */ -}; - -/* * For dynamic growth the aperture size is split into ranges of 128MB of * DMA address space each. This struct represents one such range. */ |