aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2023-07-17 15:12:10 -0300
committerJason Gunthorpe <[email protected]>2023-07-26 10:20:16 -0300
commite88d4ec154a87884086d3e38f2dfc66aec11bf8c (patch)
tree45a576bc9be567b053a290ec82ed46519acdead5 /lib/test_fortify/write_overflow-strncpy-src.c
parentaddb665924f39f01dc1d6b2de3d21ebbc1232de6 (diff)
iommufd: Add iommufd_device_replace()
Replace allows all the devices in a group to move in one step to a new HWPT. Further, the HWPT move is done without going through a blocking domain so that the IOMMU driver can implement some level of non-distruption to ongoing DMA if that has meaning for it (eg for future special driver domains) Replace uses a lot of the same logic as normal attach, except the actual domain change over has different restrictions, and we are careful to sequence things so that failure is going to leave everything the way it was, and not get trapped in a blocking domain or something if there is ENOMEM. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Tested-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions