diff options
| author | Jason Gunthorpe <[email protected]> | 2021-03-29 19:00:16 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-03-29 20:48:00 +0000 |
| commit | e0146a108ce4d2c22b9510fd12268e3ee72a0161 (patch) | |
| tree | 8901d5b77d1a3c63501ee53754621e09d12d7f79 /lib/xarray.c | |
| parent | vfio/type1: Empty batch for pfnmap pages (diff) | |
| download | kernel-e0146a108ce4d2c22b9510fd12268e3ee72a0161.tar.gz kernel-e0146a108ce4d2c22b9510fd12268e3ee72a0161.zip | |
vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
Compiling the nvlink stuff relies on the SPAPR_TCE_IOMMU otherwise there
are compile errors:
drivers/vfio/pci/vfio_pci_nvlink2.c:101:10: error: implicit declaration of function 'mm_iommu_put' [-Werror,-Wimplicit-function-declaration]
ret = mm_iommu_put(data->mm, data->mem);
As PPC only defines these functions when the config is set.
Previously this wasn't a problem by chance as SPAPR_TCE_IOMMU was the only
IOMMU that could have satisfied IOMMU_API on POWERNV.
Fixes: 179209fa1270 ("vfio: IOMMU_API should be selected")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
