diff options
author | Yi Liu <[email protected]> | 2023-07-18 03:55:35 -0700 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2023-07-25 10:17:48 -0600 |
commit | eda175dfe2484c1e79afaee0f65eeebfb9f89a53 (patch) | |
tree | 0f01680a30f08db970294d291138fd490911fb95 /net/lapb/lapb_iface.c | |
parent | 6e6c513fe1d8b53417aa84a56fac5bbda8b3a720 (diff) |
iommufd: Reserve all negative IDs in the iommufd xarray
With this reservation, IOMMUFD users can encode the negative IDs for
specific purposes. e.g. VFIO needs two reserved values to tell userspace
the ID returned is not valid but has other meaning.
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Yanting Jiang <[email protected]>
Tested-by: Terrence Xu <[email protected]>
Tested-by: Zhenzhong Duan <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions