summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2024-11-04 04:40:23 +0300
committerJoerg Roedel <jroedel@suse.de>2024-11-05 15:32:16 +0300
commita98db518dde246e01ead53617dc0a30d6aaa3752 (patch)
tree697febcf29984ac783a9299f9ff4af5027359d2c /tools/perf/scripts/python/exported-sql-viewer.py
parent9ecfcac1fe15e097cfd74663bcb8fbeaf3cc2910 (diff)
downloadlinux-a98db518dde246e01ead53617dc0a30d6aaa3752.tar.xz
iommu/vt-d: Enhance compatibility check for paging domain attach
The driver now supports domain_alloc_paging, ensuring that a valid device pointer is provided whenever a paging domain is allocated. Additionally, the dmar_domain attributes are set up at the time of allocation. Consistent with the established semantics in the IOMMU core, if a domain is attached to a device and found to be incompatible with the IOMMU hardware capabilities, the operation will return an -EINVAL error. This implicitly advises the caller to allocate a new domain for the device and attempt the domain attachment again. Rename prepare_domain_attach_device() to a more meaningful name. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20241021085125.192333-4-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions