diff options
| author | Lu Baolu <[email protected]> | 2022-10-31 08:59:06 +0800 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2022-11-03 15:47:44 +0100 |
| commit | 22d2c7afb3697a68c7fc05c935ef662dee06dc60 (patch) | |
| tree | 7877f4524e9b3f2d32ab72e9761dcfdaa3b7cb63 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 1adf3cc20d693569ebee90fd91fa34b0570fcd6f (diff) | |
iommu: Add max_pasids field in struct dev_iommu
Use this field to save the number of PASIDs that a device is able to
consume. It is a generic attribute of a device and lifting it into the
per-device dev_iommu struct could help to avoid the boilerplate code
in various IOMMU drivers.
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Yi Liu <[email protected]>
Tested-by: Zhangfei Gao <[email protected]>
Tested-by: Tony Zhu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions