aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-11-14 19:55:31 +0000
committerJason Gunthorpe <[email protected]>2024-11-22 18:43:45 +0000
commitd53764723ecd639a0cc0c5ad24146847fc09f78d (patch)
tree9247f09e4cd461935d7caca9eb0887bd17780fd0 /security/selinux/hooks.c
parentiommu: Add ops->domain_alloc_nested() (diff)
downloadkernel-d53764723ecd639a0cc0c5ad24146847fc09f78d.tar.gz
kernel-d53764723ecd639a0cc0c5ad24146847fc09f78d.zip
iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags()
Now that the main domain allocating path is calling this function it doesn't make sense to leave it named _user. Change the name to alloc_paging_flags() to mirror the new iommu_paging_domain_alloc_flags() function. A driver should implement only one of ops->domain_alloc_paging() or ops->domain_alloc_paging_flags(). The former is a simpler interface with less boiler plate that the majority of drivers use. The latter is for drivers with a greater feature set (PASID, multiple page table support, advanced iommufd support, nesting, etc). Additional patches will be needed to achieve this. Link: https://patch.msgid.link/r/[email protected] Reviewed-by: Lu Baolu <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions