Commit c87b5973 authored by Yi Liu's avatar Yi Liu Committed by Jason Zeng
Browse files

iommufd: Flow user flags for domain allocation to domain_alloc_user()

mainline inclusion
from mainline-v6.7-rc1
commit 89d63875d80ea127280c60dd4cd101af1d9b6557
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8Y6AM
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?89d63875d80ea127280c60dd4cd101af1d9b6557

--------------------------------

Extends iommufd_hw_pagetable_alloc() to accept user flags, the uAPI will
provide the flags.

Intel-SIG: 89d63875d80e iommufd: Flow user flags for domain allocation to domain_alloc_user()
Backport IOMMUFD Dirty Tracking

Link: https://lore.kernel.org/r/20230928071528.26258-4-yi.l.liu@intel.com


Reviewed-by: default avatarKevin Tian <kevin.tian@intel.com>
Signed-off-by: default avatarYi Liu <yi.l.liu@intel.com>
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
[ jz: amend commit log ]
Signed-off-by: default avatarJason Zeng <jason.zeng@intel.com>
parent ce6c7742
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment