diff options
author | Xu Yang <xu.yang_2@nxp.com> | 2025-07-04 17:57:49 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-09 12:15:56 +0200 |
commit | 488e6eaab88cfa4b6fd2e2bb72fac9cfdc8c403b (patch) | |
tree | 673c1af8fdcfedf82f0f64d06f986bf11282eb48 /tools/perf/scripts/python/syscall-counts.py | |
parent | d1b07cc0868fe14f4540cbc48c1a7c1a8055e284 (diff) |
usb: core: add dma-noncoherent buffer alloc and free API
This will add usb_alloc_noncoherent() and usb_free_noncoherent()
functions to support alloc and free buffer in a dma-noncoherent way.
To explicit manage the memory ownership for the kernel and device,
this will also add usb_dma_noncoherent_sync_for_cpu/device() functions
and call it at proper time. The management requires the user save
sg_table returned by usb_alloc_noncoherent() to urb->sgt.
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20250704095751.73765-2-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions