aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/slab.py
diff options
context:
space:
mode:
authorJoao Martins <[email protected]>2023-10-24 14:51:01 +0100
committerJason Gunthorpe <[email protected]>2023-10-24 11:58:43 -0300
commit134288158a415cd863b1c32c7dcddc0a1dc32aab (patch)
tree62ab69390d932d118bf41638c715f8c90046a38c /scripts/gdb/linux/slab.py
parent609848132c71316df3260d1ec066539c21bba585 (diff)
iommu/amd: Add domain_alloc_user based domain allocation
Add the domain_alloc_user op implementation. To that end, refactor amd_iommu_domain_alloc() to receive a dev pointer and flags, while renaming it too, such that it becomes a common function shared with domain_alloc_user() implementation. The sole difference with domain_alloc_user() is that we initialize also other fields that iommu_domain_alloc() does. It lets it return the iommu domain correctly initialized in one function. This is in preparation to add dirty enforcement on AMD implementation of domain_alloc_user. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joao Martins <[email protected]> Reviewed-by: Suravee Suthikulpanit <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions