diff options
author | Nicolin Chen <nicolinc@nvidia.com> | 2024-11-05 23:04:17 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-11-08 20:25:34 +0300 |
commit | d1b3dad9de7962f7bea861f27e352bac17b68bed (patch) | |
tree | 15f3f2e187cbbc18806285c06a7784ffa8a92a4e /tools/perf/scripts/python/stackcollapse.py | |
parent | c9d6ee6699fd6626b0974143a72c3406276e1c65 (diff) | |
download | linux-d1b3dad9de7962f7bea861f27e352bac17b68bed.tar.xz |
iommufd: Move struct iommufd_object to public iommufd header
Prepare for an embedded structure design for driver-level iommufd_viommu
objects:
// include/linux/iommufd.h
struct iommufd_viommu {
struct iommufd_object obj;
....
};
// Some IOMMU driver
struct iommu_driver_viommu {
struct iommufd_viommu core;
....
};
It has to expose struct iommufd_object and enum iommufd_object_type from
the core-level private header to the public iommufd header.
Link: https://patch.msgid.link/r/54a43b0768089d690104530754f499ca05ce0074.1730836219.git.nicolinc@nvidia.com
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions