aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2022-07-12 08:09:05 +0800
committerJoerg Roedel <[email protected]>2022-07-15 10:21:41 +0200
commitba949f4cd4c39c587e9b722ac7eb7f7e8a42dace (patch)
tree96b7897e53c3057ae03fc0959a1d57689d4b4a66 /scripts/gdb/linux/utils.py
parent913432f217c843a69ff9d11a6474a7982033087b (diff)
iommu/vt-d: Refactor iommu information of each domain
When a DMA domain is attached to a device, it needs to allocate a domain ID from its IOMMU. Currently, the domain ID information is stored in two static arrays embedded in the domain structure. This can lead to memory waste when the driver is running on a small platform. This optimizes these static arrays by replacing them with an xarray and consuming memory on demand. Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Steve Wahl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions