diff options
author | 2023-10-25 21:39:32 -0700 | |
---|---|---|
committer | 2023-10-26 11:15:56 -0300 | |
commit | 89db31635c87a7856e205c7ebf9f562e4bb206fe (patch) | |
tree | df2e285a2158adbb768e3d2f559d675a7f9a085e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommufd/device: Wrap IOMMUFD_OBJ_HWPT_PAGING-only configurations (diff) | |
download | wireguard-linux-89db31635c87a7856e205c7ebf9f562e4bb206fe.tar.xz wireguard-linux-89db31635c87a7856e205c7ebf9f562e4bb206fe.zip |
iommufd: Derive iommufd_hwpt_paging from iommufd_hw_pagetable
To prepare for IOMMUFD_OBJ_HWPT_NESTED, derive struct iommufd_hwpt_paging
from struct iommufd_hw_pagetable, by leaving the common members in struct
iommufd_hw_pagetable. Add a __iommufd_object_alloc and to_hwpt_paging()
helpers for the new structure.
Then, update "hwpt" to "hwpt_paging" throughout the files, accordingly.
Link: https://lore.kernel.org/r/20231026043938.63898-5-yi.l.liu@intel.com
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions