aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2023-07-17 15:12:01 -0300
committerJason Gunthorpe <[email protected]>2023-07-26 10:19:32 -0300
commit34f327a985ff11e538aa52b3e4842328815ce5de (patch)
tree30e9633081b3d5ed213aa8bf4978f59882c8db60 /lib/test_fortify/write_overflow-memcpy.c
parent8d0e2e9d93d2b25b62c7fb6faf8c3cc31c6c6626 (diff)
iommufd: Keep track of each device's reserved regions instead of groups
The driver facing API in the iommu core makes the reserved regions per-device. An algorithm in the core code consolidates the regions of all the devices in a group to return the group view. To allow for devices to be hotplugged into the group iommufd would re-load the entire group's reserved regions for each device, just in case they changed. Further iommufd already has to deal with duplicated/overlapping reserved regions as it must union all the groups together. Thus simplify all of this to just use the device reserved regions interface directly from the iommu driver. Link: https://lore.kernel.org/r/[email protected] Suggested-by: Kevin Tian <[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-memcpy.c')
0 files changed, 0 insertions, 0 deletions