diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2024-11-13 11:51:35 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-11-14 12:47:16 -0400 |
commit | 051ae5aa73d782a8be2699a11e17c68f28b4e758 (patch) | |
tree | c5bd93c6433275986275dffa542bffdcc5eae124 /mm/pgtable-generic.c | |
parent | 10caa8b45119fa19fa98ea304d49f7e1283062fc (diff) | |
download | lwn-051ae5aa73d782a8be2699a11e17c68f28b4e758.tar.gz lwn-051ae5aa73d782a8be2699a11e17c68f28b4e758.zip |
iommufd: Lock all IOAS objects
Define helpers to lock and unlock all IOAS objects.
This will allow DMA mappings to be updated atomically during live update.
This code is substantially the same as an initial version provided by
Jason, plus fixes.
Link: https://patch.msgid.link/r/1731527497-16091-3-git-send-email-steven.sistare@oracle.com
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions