aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorAshutosh Dixit <[email protected]>2024-06-17 18:46:05 -0700
committerAshutosh Dixit <[email protected]>2024-06-18 12:40:41 -0700
commit392bf22238ff88506f410c464ba0c7a84e9de471 (patch)
tree0ebc1a36b4f364e1934ebfcb7c7693be8f22f385 /tools/testing/selftests/net/lib/py/utils.py
parentdd6b4718c3bab611588922ae8a7736c58eafcc93 (diff)
drm/xe/oa/uapi: OA buffer mmap
Allow the OA buffer to be mmap'd to userspace. This is needed for the MMIO trigger use case. Even otherwise, with whitelisted OA head/tail ptr registers, userspace can receive/interpret OA data from the mmap'd buffer without issuing read()'s on the OA stream fd. v2: Remove unmap_mapping_range from xe_oa_release (Thomas H) Use vm_flags_mod (Umesh) Acked-by: Rodrigo Vivi <[email protected]> Suggested-by: Umesh Nerlige Ramappa <[email protected]> Reviewed-by: Umesh Nerlige Ramappa <[email protected]> Signed-off-by: Ashutosh Dixit <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions