diff options
author | Jacob Pan <[email protected]> | 2020-09-25 09:32:43 -0700 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-10-01 14:52:46 +0200 |
commit | 1e6aaae93e9ddb9dc664993eb949b1da94cab3a5 (patch) | |
tree | caccb1d2082bc18b81deeeba0b4df6f90bafa68c /tools/perf/scripts/python/syscall-counts.py | |
parent | d0023e3ee28d12b2b0af4856c405f3d13fb59d1c (diff) |
iommu/uapi: Add argsz for user filled data
As IOMMU UAPI gets extended, user data size may increase. To support
backward compatibiliy, this patch introduces a size field to each UAPI
data structures. It is *always* the responsibility for the user to fill in
the correct size. Padding fields are adjusted to ensure 8 byte alignment.
Specific scenarios for user data handling are documented in:
Documentation/userspace-api/iommu.rst
As there is no current users of the API, struct version is not
incremented.
Signed-off-by: Liu Yi L <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions