diff options
author | 2024-11-14 15:55:30 -0400 | |
---|---|---|
committer | 2024-11-22 14:43:45 -0400 | |
commit | 64214c2b95364d26cdff045d8bbefd37380edbe1 (patch) | |
tree | 15141f250e8dea847afd15e2d096ff96a7b15dfb /net/lapb/lapb_timer.c | |
parent | Merge tag 'iommu-updates-v6.13' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/iommu/linux into iommufd.git (diff) | |
download | wireguard-linux-64214c2b95364d26cdff045d8bbefd37380edbe1.tar.xz wireguard-linux-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/1-v1-c252ebdeb57b+329-iommu_paging_flags_jgg@nvidia.com
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions