diff options
| author | Xie Yongji <[email protected]> | 2021-08-31 10:36:31 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2021-09-06 11:20:57 +0000 |
| commit | d8945ec411209272bcd4ae9e75ea1b078257e492 (patch) | |
| tree | ddee9fc4da7335ccdf380c4799b380207d47007f /scripts/clang-tools/gen_compile_commands.py | |
| parent | vdpa: factor out vhost_vdpa_pa_map() and vhost_vdpa_pa_unmap() (diff) | |
| download | kernel-d8945ec411209272bcd4ae9e75ea1b078257e492.tar.gz kernel-d8945ec411209272bcd4ae9e75ea1b078257e492.zip | |
vdpa: Support transferring virtual addressing during DMA mapping
This patch introduces an attribute for vDPA device to indicate
whether virtual address can be used. If vDPA device driver set
it, vhost-vdpa bus driver will not pin user page and transfer
userspace virtual address instead of physical address during
DMA mapping. And corresponding vma->vm_file and offset will be
also passed as an opaque pointer.
Suggested-by: Jason Wang <[email protected]>
Signed-off-by: Xie Yongji <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
