diff options
author | Jason Gunthorpe <[email protected]> | 2022-11-29 16:29:29 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-11-30 20:16:49 -0400 |
commit | 2ff4bed7fee72ba1abfcff5f11ae8f8e570353f2 (patch) | |
tree | e932c21eef44174131e88a1f8cc5ffc5175589fb /tools/perf/scripts/python/check-perf-trace.py | |
parent | 658234de0d2ed3a1b86d793f4772e38a2e039b35 (diff) |
iommufd: File descriptor, context, kconfig and makefiles
This is the basic infrastructure of a new miscdevice to hold the iommufd
IOCTL API.
It provides:
- A miscdevice to create file descriptors to run the IOCTL interface over
- A table based ioctl dispatch and centralized extendable pre-validation
step
- An xarray mapping userspace ID's to kernel objects. The design has
multiple inter-related objects held within in a single IOMMUFD fd
- A simple usage count to build a graph of object relations and protect
against hostile userspace racing ioctls
The only IOCTL provided in this patch is the generic 'destroy any object
by handle' operation.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Yi Liu <[email protected]>
Tested-by: Lixiao Yang <[email protected]>
Tested-by: Matthew Rosato <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions