diff options
| author | Lu Baolu <baolu.lu@linux.intel.com> | 2019-05-25 08:41:30 +0300 | 
|---|---|---|
| committer | Joerg Roedel <jroedel@suse.de> | 2019-05-28 11:19:10 +0300 | 
| commit | 98b2fffb5e274d73e47d495da2caf213cfa28fc8 (patch) | |
| tree | 0bee16b84eed0634da7d6d1270d09c3680c5db1d /lib/mpi/mpi-cmp.c | |
| parent | 942067f1b6b97b1e97cd073b0e2815bc499656db (diff) | |
| download | linux-98b2fffb5e274d73e47d495da2caf213cfa28fc8.tar.xz | |
iommu/vt-d: Handle 32bit device with identity default domain
The iommu driver doesn't know whether the bit width of a PCI
device is sufficient for access to the whole system memory.
Hence, the driver checks this when the driver calls into the
dma APIs. If a device is using an identity domain, but the
bit width is less than the system requirement, we need to use
a dma domain instead. This also applies after we delegated
the domain life cycle management to the upper layer.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
