aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
AgeCommit message (Expand)AuthorFilesLines
7 daysMerge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+3
2025-11-27vhost: Fix kthread worker cgroup failure handlingMike Christie1-1/+3
2025-11-26vhost: rewind next_avail_head while discarding descriptorsJason Wang1-14/+62
2025-08-05vhost: initialize vq->nheads properlyJason Wang1-0/+1
2025-08-01Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-44/+333
2025-08-01vhost: basic in order supportJason Wang1-21/+99
2025-08-01vhost: fail early when __vhost_add_used() failsJason Wang1-0/+3
2025-08-01vhost: Reintroduce kthread API and add mode selectionCindy Lu1-18/+226
2025-08-01vhost: Fix typosAlok Tiwari1-5/+5
2025-07-08vhost-net: allow configuring extended featuresPaolo Abeni1-1/+1
2025-05-18vhost: modify vhost_log_write() for broader usersDongli Zhang1-8/+20
2025-03-01vhost: return task creation error instead of NULLKeith Busch1-1/+1
2024-07-09vhost: move smp_rmb() into vhost_get_avail_idx()Michael S. Tsirkin1-63/+42
2024-05-22vhost_task: Handle SIGKILL by flushing work and exitingMike Christie1-4/+50
2024-05-22vhost: Release worker mutex during flushesMike Christie1-14/+30
2024-05-22vhost: Use virtqueue mutex for swapping workerMike Christie1-6/+12
2024-05-22vhost: Remove vhost_vq_flushMike Christie1-12/+0
2024-04-08vhost: correct misleading printing informationXianting Tian1-1/+1
2024-04-08vhost: Add smp_rmb() in vhost_enable_notify()Gavin Shan1-1/+11
2024-04-08vhost: Add smp_rmb() in vhost_vq_avail_empty()Gavin Shan1-1/+11
2023-11-28eventfd: simplify eventfd_signal()Christian Brauner1-5/+5
2023-10-18vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATEEric Auger1-3/+1
2023-07-03vhost: Allow worker switching while work is queueingMike Christie1-42/+111
2023-07-03vhost: allow userspace to create workersMike Christie1-1/+141
2023-07-03vhost: replace single worker pointer with xarrayMike Christie1-16/+48
2023-07-03vhost: add helper to parse userspace vring state/fileMike Christie1-7/+22
2023-07-03vhost: remove vhost_work_queueMike Christie1-6/+0
2023-07-03vhost: convert poll work to be vq basedMike Christie1-3/+5
2023-07-03vhost: take worker or vq for flushingMike Christie1-2/+13
2023-07-03vhost: take worker or vq instead of dev for queueingMike Christie1-16/+28
2023-07-03vhost, vhost_net: add helper to check if vq has workMike Christie1-3/+3
2023-07-03vhost: add vhost_worker pointer to vhost_virtqueueMike Christie1-7/+14
2023-07-03vhost: dynamically allocate vhost_workerMike Christie1-23/+43
2023-07-03vhost: create worker at end of vhost_dev_set_ownerMike Christie1-6/+13
2023-06-09vhost: support PACKED when setting-getting vring_baseShannon Nelson1-5/+13
2023-06-08vhost: Fix worker hangs due to missed wake up callsMike Christie1-0/+2
2023-06-08vhost: Fix crash during early vhost_transport_send_pkt callsMike Christie1-33/+17
2023-06-07vhost: use kzalloc() instead of kmalloc() followed by memset()Prathu Baronia1-3/+2
2023-06-01fork, vhost: Use CLONE_THREAD to fix freezer/ps regressionMike Christie1-17/+5
2023-04-28Merge tag 'sched-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+1
2023-04-27Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-4/+2
2023-04-24Merge tag 'v6.4/kernel.user_worker' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-64/+60
2023-04-21vhost: use struct_size and size_add to compute flex array sizesJacob Keller1-4/+2
2023-03-30docs: move x86 documentation into Documentation/arch/Jonathan Corbet1-1/+1
2023-03-23vhost: use vhost_tasks for worker threadsMike Christie1-47/+13
2023-03-23vhost: move worker thread fields to new structMike Christie1-34/+64
2023-03-22vhost: Fix livepatch timeouts in vhost_worker()Josh Poimboeuf1-2/+1
2023-02-20vhost: remove unused parameteLiming Wu1-1/+1
2023-01-27vhost/net: Clear the pending messages when the backend is removedEric Auger1-1/+2
2022-12-28vhost: fix range used in translate_desc()Stefano Garzarella1-2/+2
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-3/+3
2022-11-25[vhost] fix 'direction' argument of iov_iter_{init,bvec}()Al Viro1-3/+3
2022-05-31vhost: rename vhost_work_dev_flushMike Christie1-5/+5
2022-05-31vhost: flush dev once during vhost_dev_stopMike Christie1-3/+3
2022-05-31vhost: get rid of vhost_poll_flush() wrapperAndrey Ryabinin1-10/+2
2022-05-31vhost-vdpa: support ASID based IOTLB APIGautam Dawar1-1/+1
2022-05-31vhost: support ASID in IOTLB APIGautam Dawar1-5/+18
2022-03-28vhost: cache avail index in vhost_enable_notify()Stefano Garzarella1-1/+2
2022-03-10vhost: allow batching hint without sizeJason Wang1-1/+3
2022-03-06vhost: remove avail_event arg from vhost_update_avail_event()Stefano Garzarella1-2/+2
2022-03-06vhost: fix hung thread due to erroneous iotlb entriesAnirudh Rayabharam1-0/+5
2021-08-11vhost: Fix the calculation in vhost_overflow()Xie Yongji1-2/+8
2021-07-03vhost: remove work arg from vhost_work_flushMike Christie1-4/+4
2021-03-14vhost: Fix vhost_vq_reset()Laurent Vivier1-1/+1
2020-11-15vhost: add helper to check if a vq has been setupMike Christie1-0/+6
2020-10-21vhost_vdpa: remove unnecessary spin_lock in vhost_vring_callZhu Lingshan1-3/+0
2020-10-21vhost: reduce stack usage in log_usedLi Wang1-1/+1
2020-10-04vhost: Don't call log_access_ok() when using IOTLBGreg Kurz1-5/+18
2020-10-04vhost: Use vhost_get_used_size() in vhost_vring_set_addr()Greg Kurz1-2/+1
2020-10-04vhost: Don't call access_ok() when using IOTLBGreg Kurz1-4/+5
2020-09-01vhost: fix typo in error messageYunsheng Lin1-1/+1
2020-08-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-7/+32
2020-08-05vhost: generialize backend features setting/gettingJason Wang1-0/+15
2020-08-05vhost: introduce vhost_vring_callZhu Lingshan1-6/+16
2020-08-05vhost: Use flex_array_size() helper in copy_from_user()Gustavo A. R. Silva1-1/+1
2020-07-21vhost: Remove redundant use of read_barrier_depends() barrierWill Deacon1-5/+0
2020-06-11Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-6/+2
2020-06-10kernel: set USER_DS in kthread_use_mmChristoph Hellwig1-3/+0
2020-06-10kernel: better document the use_mm/unuse_mm API contractChristoph Hellwig1-2/+2
2020-06-10kernel: move use_mm/unuse_mm to kthread.cChristoph Hellwig1-1/+0
2020-06-10Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-30/+68
2020-06-08vhost: convert get_user_pages() --> pin_user_pages()John Hubbard1-3/+2
2020-06-06vhost: replace -1 with VHOST_FILE_UNBIND in ioctlsZhu Lingshan1-4/+4
2020-06-04vhost: (cosmetic) remove a superfluous variable initialisationGuennadi Liakhovetski1-1/+1
2020-06-04vhost: use mmgrab() instead of mmget() for non worker deviceJason Wang1-8/+34
2020-06-04vhost: allow device that does not depend on vhost workerJason Wang1-13/+25
2020-06-02virtio: force spec specified alignment on typesMichael S. Tsirkin1-4/+4
2020-05-15vhost: missing __user tagsMichael S. Tsirkin1-2/+2
2020-04-01vhost: factor out IOTLBJason Wang1-152/+69
2020-04-01vhost: allow per device message handlerJason Wang1-2/+10
2019-12-04vhost, kcov: collect coverage from vhost_workerAndrey Konovalov1-0/+6
2019-09-14Revert "vhost: block speculation of translated descriptors"Michael S. Tsirkin1-4/+2
2019-09-11vhost: make sure log_num < in_numyongduan1-2/+2
2019-09-11vhost: block speculation of translated descriptorsMichael S. Tsirkin1-2/+4
2019-09-04Revert "vhost: access vq metadata through kernel virtual address"Michael S. Tsirkin1-512/+3
2019-09-04vhost: Remove unnecessary variableYunsheng Lin1-3/+2
2019-07-17Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-123/+727
2019-07-09Merge tag 'docs-5.3' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482Thomas Gleixner1-2/+1
2019-06-14Merge tag 'v5.2-rc4' into mauroJonathan Corbet1-1/+19
2019-06-08docs: fix broken documentation linksMauro Carvalho Chehab1-1/+1
2019-06-05vhost: access vq metadata through kernel virtual addressJason Wang1-3/+512
2019-06-05vhost: factor out setting vring addr and numJason Wang1-74/+103
2019-06-05vhost: introduce helpers to get the size of metadata areaJason Wang1-18/+33
2019-06-05vhost: rename vq_iotlb_prefetch() to vq_meta_prefetch()Jason Wang1-2/+2
2019-06-05vhost: fine grain userspace memory accessorsJason Wang1-17/+77
2019-06-05vhost: generalize adding used elemJason Wang1-10/+1
2019-05-27vhost: introduce vhost_exceeds_weight()Jason Wang1-1/+19
2019-05-14mm/gup: change GUP fast to use flags rather than a write 'bool'Ira Weiny1-1/+1
2019-04-10vhost: reject zero size iova rangeJason Wang1-1/+5
2019-03-06vhost: silence an unused-variable warningArnd Bergmann1-1/+1
2019-02-19vhost: correctly check the return value of translate_desc() in log_used()Jason Wang1-1/+1
2019-01-28vhost: fix OOB in get_rx_bufs()Jason Wang1-3/+4
2019-01-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-14/+83
2019-01-17vhost: log dirty page correctlyJason Wang1-14/+83
2019-01-14vhost: return EINVAL if iovecs size does not match the message sizePavel Tikhomirov1-2/+6
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-8/+8
2018-12-12Revert "net: vhost: lock the vqs one by one"Jason Wang1-4/+17
2018-12-12vhost: make sure used idx is seen before log in vhost_add_used_n()Jason Wang1-0/+2
2018-12-03vhost: fix IOTLB lockingJean-Philippe Brucker1-3/+0
2018-10-31vhost: Fix Spectre V1 vulnerabilityJason Wang1-0/+2
2018-09-26net: vhost: lock the vqs one by oneTonghao Zhang1-17/+7
2018-08-25vhost: correctly check the iova range when waking virtqueueJason Wang1-1/+1
2018-08-09Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+6
2018-08-08vhost: reset metadata cache when initializing new IOTLBJason Wang1-3/+6
2018-08-06vhost: switch to use new message formatJason Wang1-18/+53
2018-06-16Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-0/+3
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-4/+7
2018-06-12Convert vhost to struct_sizeMatthew Wilcox1-1/+2
2018-06-12vhost: fix info leak due to uninitialized memoryMichael S. Tsirkin1-0/+3
2018-06-04Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-1/+1
2018-05-26fs: add new vfs_poll and file_can_poll helpersChristoph Hellwig1-1/+1
2018-05-24vhost: synchronize IOTLB message with dev cleanupJason Wang1-0/+3
2018-04-11vhost: return bool from *_access_ok() functionsStefan Hajnoczi1-33/+33
2018-04-11vhost: fix vhost_vq_access_ok() log checkStefan Hajnoczi1-3/+5
2018-04-11vhost: Fix vhost_copy_to_user()Eric Auger1-1/+1
2018-04-06Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+1
2018-03-29vhost: validate log when IOTLB is enabledJason Wang1-8/+6
2018-03-27vhost: correctly remove wait queue during poll failureJason Wang1-2/+1
2018-03-20vhost: fix vhost ioctl signature to build with clangSonny Rao1-1/+1
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-5/+5
2018-02-08Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-52/+16
2018-02-01vhost: don't hold onto file pointer for VHOST_SET_LOG_FDEric Biggers1-19/+5
2018-02-01vhost: don't hold onto file pointer for VHOST_SET_VRING_ERREric Biggers1-14/+4
2018-02-01vhost: don't hold onto file pointer for VHOST_SET_VRING_CALLEric Biggers1-15/+5
2018-02-01vhost: remove unused lock check flag in vhost_dev_cleanup()夷则(Caspar)1-3/+2
2018-02-01vhost: Remove the unused variable.Tonghao Zhang1-1/+0
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-6/+6
2018-01-30Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+1
2018-01-24vhost: do not try to access device IOTLB when not initializedJason Wang1-0/+4
2018-01-24vhost: use mutex_lock_nested() in vhost_dev_lock_vqs()Jason Wang1-1/+1
2017-12-05drivers/vhost: Remove now-redundant read_barrier_depends()Paul E. McKenney1-6/+1
2017-11-28the rest of drivers/*: annotate ->poll() instancesAl Viro1-2/+2
2017-11-27vhost: annotate vhost_pollAl Viro1-1/+1
2017-11-27annotate poll-related wait keysAl Viro1-2/+2
2017-11-27anntotate the places where ->poll() return values goAl Viro1-2/+2
2017-11-14vhost: fix end of range for access_okMichael S. Tsirkin1-2/+2
2017-09-08lib/interval_tree: fast overlap detectionDavidlohr Bueso1-1/+1
2017-07-29Revert "vhost: cache used event for better performance"Jason Wang1-22/+6
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-1/+1
2017-05-08mm: support __GFP_REPEAT in kvmalloc_node for >32kBMichal Hocko1-12/+3
2017-03-03Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-0/+2
2017-03-02Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-41/+132
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02vhost: introduce O(1) vq metadata cacheJason Wang1-26/+110
2017-02-27vhost: try avoiding avail index access when getting descriptorJason Wang1-16/+23
2017-02-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+4
2017-02-03vhost: fix initialization for vq->is_leHalil Pasic1-6/+4
2017-01-18vhost: better detection of available buffersJason Wang1-2/+6
2016-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+1
2016-12-16vhost: cache used event for better performanceJason Wang1-6/+22
2016-12-15vhost: add missing __user annotationsMichael S. Tsirkin1-5/+5
2016-12-15vhost: make interval tree static inlineMichael S. Tsirkin1-1/+1
2016-12-08vhost: remove unnecessary smp_mb from vhost_work_queuePeng Tao1-1/+1
2016-12-05[iov_iter] new primitives - copy_from_iter_full() and friendsAl Viro1-2/+1
2016-08-02vhost: detect 32 bit integer wrap aroundMichael S. Tsirkin1-2/+14
2016-08-02vhost: new device IOTLB APIJason Wang1-43/+593
2016-08-02vhost: convert pre sorted vhost memory array to interval treeJason Wang1-81/+101
2016-08-02vhost: introduce vhost memory accessorsJason Wang1-15/+35
2016-08-01vhost: lockless enqueuingJason Wang1-27/+25
2016-08-01vhost: simplify work flushingJason Wang1-32/+21
2016-03-11vhost_net: basic polling supportJason Wang1-0/+14
2016-03-11vhost: introduce vhost_vq_avail_empty()Jason Wang1-0/+14
2016-03-11vhost: introduce vhost_has_work()Jason Wang1-0/+7
2016-03-02vhost: rename vhost_init_used()Greg Kurz1-2/+2
2016-03-02vhost: rename cross-endian helpersGreg Kurz1-6/+24
2016-03-02vhost: fix error path in vhost_init_used()Greg Kurz1-4/+11
2015-12-07vhost: replace % with & on data pathMichael S. Tsirkin1-3/+3
2015-12-07vhost: relax log address alignmentMichael S. Tsirkin1-1/+1
2015-07-27vhost: fix error handling for memory region allocIgor Mammedov1-4/+1
2015-07-27vhost: actually track log eventfd fileMarc-André Lureau1-0/+1
2015-07-13vhost: add max_mem_regions module parameterIgor Mammedov1-2/+6
2015-07-13vhost: extend memory regions allocation to vmallocIgor Mammedov1-4/+17
2015-07-01vhost: use binary search instead of linear in find_region()Igor Mammedov1-10/+28
2015-06-01vhost: cross-endian support for legacy devicesGreg Kurz1-1/+84
2015-02-04vhost: switch vhost get_indirect() to iov_iter, kill memcpy_fromiovec()Al Viro1-2/+4
2014-12-29vhost: relax used address alignmentMichael S. Tsirkin1-3/+7
2014-12-09vhost: virtio 1.0 endian-ness supportMichael S. Tsirkin1-37/+49
2014-12-09vhost: switch to __get/__put_user exclusivelyMichael S. Tsirkin1-3/+10