mlxsw: spectrum_mr: Update egress RIF list before route's action
[linux-2.6-microblaze.git] / drivers / iommu / iommu-sva-lib.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * SVA library for IOMMU drivers
4  */
5 #ifndef _IOMMU_SVA_LIB_H
6 #define _IOMMU_SVA_LIB_H
7
8 #include <linux/ioasid.h>
9 #include <linux/mm_types.h>
10
11 int iommu_sva_alloc_pasid(struct mm_struct *mm, ioasid_t min, ioasid_t max);
12 void iommu_sva_free_pasid(struct mm_struct *mm);
13 struct mm_struct *iommu_sva_find(ioasid_t pasid);
14
15 #endif /* _IOMMU_SVA_LIB_H */