diff options
| author | Jason Gunthorpe <[email protected]> | 2024-11-14 19:55:30 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2024-11-22 18:43:45 +0000 |
| commit | 64214c2b95364d26cdff045d8bbefd37380edbe1 (patch) | |
| tree | 15141f250e8dea847afd15e2d096ff96a7b15dfb /net/unix/af_unix.c | |
| parent | Merge tag 'iommu-updates-v6.13' of ssh://gitolite.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-64214c2b95364d26cdff045d8bbefd37380edbe1.tar.gz kernel-64214c2b95364d26cdff045d8bbefd37380edbe1.zip | |
iommu: Add ops->domain_alloc_nested()
It turns out all the drivers that are using this immediately call into
another function, so just make that function directly into the op. This
makes paging=NULL for domain_alloc_user and we can remove the argument in
the next patch.
The function mirrors the similar op in the viommu that allocates a nested
domain on top of the viommu's nesting parent. This version supports cases
where a viommu is not being used.
Link: https://patch.msgid.link/r/[email protected]
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
