index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
virtio
/
virtio_ring.c
Age
Commit message (
Expand
)
Author
Files
Lines
10 days
virtio_ring: enable premapped mode whatever use_dma_api
Xuan Zhuo
1
-6
/
+1
2024-03-19
virtio: packed: fix unmap leak for indirect desc table
Xuan Zhuo
1
-3
/
+3
2023-12-04
virtio_ring: fix syncs DMA memory with different direction
Xuan Zhuo
1
-4
/
+2
2023-09-03
virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
Yuan Yao
1
-1
/
+1
2023-09-03
virtio_ring: introduce dma sync api for virtqueue
Xuan Zhuo
1
-0
/
+76
2023-09-03
virtio_ring: introduce dma map api for virtqueue
Xuan Zhuo
1
-0
/
+69
2023-09-03
virtio_ring: introduce virtqueue_reset()
Xuan Zhuo
1
-0
/
+33
2023-09-03
virtio_ring: separate the logic of reset/enable from virtqueue_resize
Xuan Zhuo
1
-19
/
+39
2023-09-03
virtio_ring: correct the expression of the description of virtqueue_resize()
Xuan Zhuo
1
-1
/
+1
2023-09-03
virtio_ring: skip unmap for premapped
Xuan Zhuo
1
-14
/
+28
2023-09-03
virtio_ring: introduce virtqueue_dma_dev()
Xuan Zhuo
1
-0
/
+17
2023-09-03
virtio_ring: support add premapped buf
Xuan Zhuo
1
-2
/
+17
2023-09-03
virtio_ring: introduce virtqueue_set_dma_premapped()
Xuan Zhuo
1
-0
/
+53
2023-09-03
virtio_ring: put mapping error check in vring_map_one_sg
Xuan Zhuo
1
-15
/
+22
2023-09-03
virtio_ring: check use_dma_api before unmap desc for indirect
Xuan Zhuo
1
-2
/
+4
2023-04-21
virtio: add VIRTIO_F_NOTIFICATION_DATA feature support
Viktor Prutyanov
1
-0
/
+19
2023-04-21
virtio_ring: don't update event idx on get_buf
Albert Huang
1
-6
/
+16
2023-04-21
virtio_ring: Use const to annotate read-only pointer params
Feng Liu
1
-18
/
+18
2023-04-21
virtio_ring: Avoid using inline for small functions
Feng Liu
1
-7
/
+7
2023-02-20
virtio_ring: per virtqueue dma device
Jason Wang
1
-40
/
+93
2022-12-28
virtio_ring: use helper function is_power_of_2()
Shaoqin Huang
1
-1
/
+1
2022-10-10
Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds
1
-1
/
+9
2022-10-07
virtio_ring: make vring_alloc_queue_packed prettier
Deming Wang
1
-3
/
+3
2022-10-07
virtio_ring: split: Operators use unified style
Deming Wang
1
-1
/
+1
2022-10-03
virtio: kmsan: check/unpoison scatterlist in vring_map_one_sg()
Alexander Potapenko
1
-1
/
+9
2022-08-16
virtio: kerneldocs fixes and enhancements
Ricardo CaƱuelo
1
-0
/
+8
2022-08-11
virtio_ring: struct virtqueue introduce reset
Xuan Zhuo
1
-0
/
+2
2022-08-11
virtio: allow to unbreak/break virtqueue individually
Xuan Zhuo
1
-0
/
+24
2022-08-11
virtio_ring: introduce virtqueue_resize()
Xuan Zhuo
1
-0
/
+69
2022-08-11
virtio_ring: packed: introduce virtqueue_resize_packed()
Xuan Zhuo
1
-0
/
+30
2022-08-11
virtio_ring: packed: introduce virtqueue_reinit_packed()
Xuan Zhuo
1
-0
/
+12
2022-08-11
virtio_ring: packed: extract the logic of attach vring
Xuan Zhuo
1
-15
/
+10
2022-08-11
virtio_ring: packed: extract the logic of vring init
Xuan Zhuo
1
-11
/
+17
2022-08-11
virtio_ring: packed: extract the logic of alloc state and extra
Xuan Zhuo
1
-14
/
+34
2022-08-11
virtio_ring: packed: extract the logic of alloc queue
Xuan Zhuo
1
-29
/
+51
2022-08-11
virtio_ring: packed: introduce vring_free_packed
Xuan Zhuo
1
-0
/
+22
2022-08-11
virtio_ring: split: introduce virtqueue_resize_split()
Xuan Zhuo
1
-0
/
+34
2022-08-11
virtio_ring: split: reserve vring_align, may_reduce_num
Xuan Zhuo
1
-0
/
+10
2022-08-11
virtio_ring: split: introduce virtqueue_reinit_split()
Xuan Zhuo
1
-0
/
+23
2022-08-11
virtio_ring: split: extract the logic of attach vring
Xuan Zhuo
1
-13
/
+10
2022-08-11
virtio_ring: split: extract the logic of vring init
Xuan Zhuo
1
-10
/
+21
2022-08-11
virtio_ring: split: extract the logic of alloc state and extra
Xuan Zhuo
1
-16
/
+36
2022-08-11
virtio_ring: split: extract the logic of alloc queue
Xuan Zhuo
1
-25
/
+40
2022-08-11
virtio_ring: split: introduce vring_free_split()
Xuan Zhuo
1
-0
/
+11
2022-08-11
virtio_ring: split: __vring_new_virtqueue() accept struct vring_virtqueue_split
Xuan Zhuo
1
-14
/
+15
2022-08-11
virtio_ring: split: stop __vring_new_virtqueue as export symbol
Xuan Zhuo
1
-9
/
+16
2022-08-11
virtio_ring: introduce virtqueue_init()
Xuan Zhuo
1
-16
/
+22
2022-08-11
virtio_ring: split vring_virtqueue
Xuan Zhuo
1
-56
/
+60
2022-08-11
virtio_ring: extract the logic of freeing vring
Xuan Zhuo
1
-5
/
+13
2022-08-11
virtio_ring: update the document of the virtqueue_detach_unused_buf for queue...
Xuan Zhuo
1
-2
/
+2
2022-08-11
virtio_ring: remove the arg vq of vring_alloc_desc_extra()
Xuan Zhuo
1
-4
/
+3
2022-06-27
virtio_ring: make vring_create_virtqueue_split prettier
Deming Wang
1
-1
/
+1
2022-06-24
virtio: disable notification hardening by default
Jason Wang
1
-0
/
+12
2022-06-24
virtio_ring : keep used_wrap_counter in vq->last_used_idx
huangjie.albert
1
-28
/
+47
2022-05-31
virtio: harden vring IRQ
Jason Wang
1
-4
/
+7
2022-05-31
virtio: allow to unbreak virtqueue
Jason Wang
1
-0
/
+22
2022-05-31
virtio: Replace unsigned with unsigned int
Solomon Tan
1
-6
/
+6
2022-05-31
virtio_ring: add unlikely annotation for free descs check
Xianting Tian
1
-1
/
+1
2022-05-31
virtio_ring: remove unnecessary to_vvq call in vring hot path
Xianting Tian
1
-5
/
+3
2022-03-28
virtio_ring: remove flags check for unmap packed indirect desc
Xuan Zhuo
1
-13
/
+5
2022-03-28
virtio_ring: remove flags check for unmap split indirect desc
Xuan Zhuo
1
-13
/
+5
2022-03-28
virtio_ring: rename vring_unmap_state_packed() to vring_unmap_extra_packed()
Xuan Zhuo
1
-9
/
+8
2022-01-14
virtio_ring: mark ring unused on error
Michael S. Tsirkin
1
-1
/
+3
2021-12-08
virtio_ring: Fix querying of maximum DMA mapping size for virtio device
Will Deacon
1
-1
/
+1
2021-11-24
Revert "virtio_ring: validate used buffer length"
Michael S. Tsirkin
1
-60
/
+0
2021-11-01
virtio_ring: validate used buffer length
Jason Wang
1
-0
/
+60
2021-11-01
virtio_ring: fix typos in vring_desc_extra
Jason Wang
1
-2
/
+2
2021-11-01
virtio_ring: check desc == NULL when using indirect with packed
Xuan Zhuo
1
-3
/
+11
2021-11-01
virtio_ring: make virtqueue_add_indirect_packed prettier
Xuan Zhuo
1
-6
/
+6
2021-10-27
virtio-ring: fix DMA metadata flags
Vincent Whitchurch
1
-1
/
+1
2021-08-11
virtio_ring: pull in spinlock header
Michael S. Tsirkin
1
-0
/
+1
2021-08-10
virtio: Protect vqs list access
Parav Pandit
1
-0
/
+8
2021-08-10
virtio: Keep vring_del_virtqueue() mirror of VQ create
Parav Pandit
1
-1
/
+2
2021-08-10
virtio: Improve vq->broken access to avoid any compiler optimization
Parav Pandit
1
-2
/
+4
2021-07-08
virtio-ring: store DMA metadata in desc_extra for split virtqueue
Jason Wang
1
-25
/
+87
2021-07-08
virtio: use err label in __vring_new_virtqueue()
Jason Wang
1
-4
/
+6
2021-07-08
virtio_ring: introduce virtqueue_desc_add_split()
Jason Wang
1
-15
/
+24
2021-07-08
virtio_ring: secure handling of mapping errors
Jason Wang
1
-1
/
+4
2021-07-08
virtio-ring: factor out desc_extra allocation
Jason Wang
1
-10
/
+20
2021-07-08
virtio_ring: rename vring_desc_extra_packed
Jason Wang
1
-5
/
+5
2021-07-08
virtio-ring: maintain next in extra state for packed virtqueue
Jason Wang
1
-7
/
+8
2021-07-03
virtio: fix up virtio_disable_cb
Michael S. Tsirkin
1
-1
/
+25
2021-07-03
virtio_ring: Fix kernel-doc
Yang Li
1
-1
/
+1
2020-12-18
virtio_ring: Fix two use after free bugs
Dan Carpenter
1
-2
/
+2
2020-12-18
virtio_ring: Cut and paste bugs in vring_create_virtqueue_packed()
Dan Carpenter
1
-2
/
+2
2020-08-11
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Linus Torvalds
1
-2
/
+5
2020-08-05
virtio_ring: Avoid loop when vq is broken in virtqueue_poll
Mao Wenan
1
-0
/
+3
2020-08-03
virtio: virtio_has_iommu_quirk -> virtio_has_dma_quirk
Michael S. Tsirkin
1
-1
/
+1
2020-08-03
virtio: VIRTIO_F_IOMMU_PLATFORM -> VIRTIO_F_ACCESS_PLATFORM
Michael S. Tsirkin
1
-1
/
+1
2020-07-16
treewide: Remove uninitialized_var() usage
Kees Cook
1
-3
/
+3
2020-03-08
virtio_ring: Fix mem leak with vring_new_virtqueue()
Suman Anna
1
-2
/
+2
2019-11-19
virtio_ring: fix return code on DMA mapping fails
Halil Pasic
1
-2
/
+2
2019-10-28
virtio_ring: fix stalls for packed rings
Marvin Liu
1
-4
/
+3
2019-09-09
virtio_ring: fix unmap of indirect descriptors
Matthias Lange
1
-2
/
+6
2019-05-24
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102
Thomas Gleixner
1
-14
/
+1
2019-05-12
virtio/virtio_ring: do some comment fixes
Jiang Biao
1
-13
/
+14
2019-05-12
virtio_ring: Fix potential mem leak in virtqueue_add_indirect_packed
YueHaibing
1
-0
/
+1
2019-04-08
virtio: Honour 'may_reduce_num' in vring_create_virtqueue
Cornelia Huck
1
-0
/
+2
2019-03-06
virtio: Introduce virtio_max_dma_size()
Joerg Roedel
1
-0
/
+11
2019-02-05
virtio: drop internal struct from UAPI
Michael S. Tsirkin
1
-1
/
+6
2019-01-24
virtio: support VIRTIO_F_ORDER_PLATFORM
Tiwei Bie
1
-0
/
+8
2018-11-26
virtio_ring: advertize packed ring layout
Tiwei Bie
1
-0
/
+2
2018-11-26
virtio_ring: leverage event idx in packed ring
Tiwei Bie
1
-6
/
+71
2018-11-26
virtio_ring: introduce packed ring support
Tiwei Bie
1
-30
/
+870
2018-11-26
virtio_ring: cache whether we will use DMA API
Tiwei Bie
1
-4
/
+8
2018-11-26
virtio_ring: extract split ring handling from ring creation
Tiwei Bie
1
-99
/
+121
2018-11-26
virtio_ring: allocate desc state for split ring separately
Tiwei Bie
1
-18
/
+27
2018-11-26
virtio_ring: introduce helper for indirect feature
Tiwei Bie
1
-3
/
+13
2018-11-26
virtio_ring: introduce debug helpers
Tiwei Bie
1
-22
/
+27
2018-11-26
virtio_ring: put split ring fields in a sub struct
Tiwei Bie
1
-65
/
+91
2018-11-26
virtio_ring: put split ring functions together
Tiwei Bie
1
-254
/
+271
2018-11-26
virtio_ring: add _split suffix for split ring functions
Tiwei Bie
1
-96
/
+155
2018-06-12
treewide: kmalloc() -> kmalloc_array()
Kees Cook
1
-1
/
+1
2018-04-05
headers: untangle kmemleak.h from mm.h
Randy Dunlap
1
-1
/
+0
2018-03-01
virtio_ring: fix num_free handling in error case
Tiwei Bie
1
-2
/
+0
2017-09-07
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Linus Torvalds
1
-2
/
+3
2017-08-24
scsi: virtio: Reduce BUG if total_sg > virtqueue size to WARN.
Richard W.M. Jones
1
-2
/
+3
2017-07-24
virtio_ring: allow to store zero as the ctx
Jason Wang
1
-1
/
+1
2017-05-02
virtio: allow extra context per descriptor
Michael S. Tsirkin
1
-13
/
+57
2017-05-02
virtio: add context flag to find vqs
Michael S. Tsirkin
1
-2
/
+5
2017-02-03
Revert "vring: Force use of DMA API for ARM-based systems with legacy devices"
Michael S. Tsirkin
1
-7
/
+0
2017-01-25
vring: Force use of DMA API for ARM-based systems with legacy devices
Will Deacon
1
-0
/
+7
2016-12-16
virtio_ring: fix description of virtqueue_get_buf
Felipe Franciosi
1
-1
/
+1
2016-12-15
virtio_ring: fix complaint by sparse
Gonglei
1
-2
/
+2
2016-10-31
virtio_ring: mark vring_dma_dev inline
Michael S. Tsirkin
1
-1
/
+1
2016-10-31
virtio_ring: Make interrupt suppression spec compliant
Ladi Prosek
1
-5
/
+9
2016-09-09
virtio: mark vring_dma_dev() static
Baoyou Xie
1
-1
/
+1
2016-08-09
virtio: fix error handling for debug builds
Michael S. Tsirkin
1
-0
/
+1
2016-08-09
virtio: fix memory leak in virtqueue_add()
Wei Yongjun
1
-0
/
+2
2016-08-01
virtio: new feature to detect IOMMU device quirk
Michael S. Tsirkin
1
-1
/
+14
2016-05-01
virtio: Silence uninitialized variable warning
Dan Carpenter
1
-1
/
+1
2016-03-02
vring: Use the DMA API on Xen
Andy Lutomirski
1
-0
/
+12
2016-03-02
virtio: Add improved queue allocation API
Andy Lutomirski
1
-30
/
+179
2016-03-02
virtio_ring: Support DMA APIs
Andy Lutomirski
1
-35
/
+165
2016-03-02
vring: Introduce vring_use_dma_api()
Andy Lutomirski
1
-0
/
+24
2016-01-12
virtio_ring: use virt_store_mb
Michael S. Tsirkin
1
-6
/
+9
2015-12-07
virtio_ring: shadow available ring flags & index
Venkatesh Srinivas
1
-12
/
+34
2015-12-07
virtio: Do not drop __GFP_HIGH in alloc_indirect
Michal Hocko
1
-1
/
+1
2015-02-11
virtio: Avoid possible kernel panic if DEBUG is enabled.
Tetsuo Handa
1
-3
/
+3
2015-01-21
virtio_ring: coding style fix
Michael S. Tsirkin
1
-2
/
+1
2014-12-09
virtio: make VIRTIO_F_VERSION_1 a transport bit
Michael S. Tsirkin
1
-0
/
+2
2014-12-09
virtio: allow transports to get avail/used addresses
Cornelia Huck
1
-0
/
+16
2014-12-09
virtio_ring: switch to new memory access APIs
Michael S. Tsirkin
1
-44
/
+45
2014-12-09
virtio: use u32, not bitmap for features
Michael S. Tsirkin
1
-1
/
+1
2014-09-13
virtio_ring: unify direct/indirect code paths.
Rusty Russell
1
-76
/
+52
2014-09-13
virtio_ring: assume sgs are always well-formed.
Rusty Russell
1
-49
/
+19
2014-04-28
virtio: virtio_break_device() to mark all virtqueues broken.
Rusty Russell
1
-0
/
+15
2014-03-13
virtio: fail adding buffer on broken queues.
Rusty Russell
1
-3
/
+8
2014-03-13
tools/virtio: fix missing kmemleak_ignore symbol
Joel Stanley
1
-0
/
+1
2013-11-05
virtio_ring: adapt to notify() returning bool
Heinz Graalfs
1
-1
/
+1
2013-10-29
virtio_ring: add new function virtqueue_is_broken()
Heinz Graalfs
1
-0
/
+8
2013-10-29
virtio_ring: let virtqueue_{kick()/notify()} return a bool
Heinz Graalfs
1
-4
/
+16
2013-10-29
virtio_ring: change host notification API
Heinz Graalfs
1
-2
/
+2
2013-10-17
virtio_ring: plug kmemleak false positive.
Rusty Russell
1
-0
/
+2
2013-07-09
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Linus Torvalds
1
-12
/
+44
2013-07-09
virtio: support unlocked queue poll
Michael S. Tsirkin
1
-12
/
+44
2013-05-20
virtio: remove virtqueue_add_buf().
Rusty Russell
1
-34
/
+3
2013-03-20
virtio_ring: virtqueue_add_outbuf / virtqueue_add_inbuf.
Rusty Russell
1
-0
/
+44
2013-03-20
virtio_ring: virtqueue_add_sgs, to add multiple sgs.
Rusty Russell
1
-63
/
+157
2013-03-20
virtio_ring: expose virtio barriers for use in vringh.
Rusty Russell
1
-27
/
+6
2012-12-18
virtio: make virtqueue_add_buf() returning 0 on success, not capacity.
Rusty Russell
1
-5
/
+2
2012-12-18
virtio: move queue_index and num_free fields into core struct virtqueue.
Rusty Russell
1
-23
/
+11
2012-10-22
virtio: force vring descriptors to be allocated from lowmem
Will Deacon
1
-0
/
+7
2012-09-28
virtio-ring: move queue_index to vring_virtqueue
Jason Wang
1
-1
/
+13
2012-01-28
virtio: correct the memory barrier in virtqueue_kick_prepare()
Jason Wang
1
-3
/
+3
2012-01-28
virtio: fix typos of memory barriers
Jason Wang
1
-1
/
+1
2012-01-12
virtio: add debugging if driver doesn't kick.
Rusty Russell
1
-0
/
+31
2012-01-12
virtio: expose added descriptors immediately.
Rusty Russell
1
-6
/
+14
2012-01-12
virtio: avoid modulus operation.
Rusty Russell
1
-4
/
+6
2012-01-12
virtio: support unlocked queue kick
Rusty Russell
1
-12
/
+48
2012-01-12
virtio: rename virtqueue_add_buf_gfp to virtqueue_add_buf
Rusty Russell
1
-11
/
+11
2012-01-12
virtio: document functions better.
Rusty Russell
1
-1
/
+91
2012-01-12
virtio: harsher barriers for rpmsg.
Rusty Russell
1
-13
/
+21
2011-10-31
virtio: Add module.h to drivers/virtio users.
Paul Gortmaker
1
-0
/
+1
2011-10-24
Add ethtool -g support to virtio_net
Rick Jones
1
-0
/
+10
2011-05-30
virtio: add api for delayed callbacks
Michael S. Tsirkin
1
-0
/
+27
2011-05-30
virtio_ring: support event idx feature
Michael S. Tsirkin
1
-2
/
+24
2011-04-21
virtio: Decrement avail idx on buffer detach
Amit Shah
1
-0
/
+1
2010-11-24
virtio: return correct capacity to users
Michael S. Tsirkin
1
-3
/
+0
2010-07-26
virtio: fix oops on OOM
Michael S. Tsirkin
1
-2
/
+3
2010-06-23
virtio: return ENOMEM on out of memory
Michael S. Tsirkin
1
-1
/
+1
2010-05-19
virtio: add_buf_gfp
Michael S. Tsirkin
1
-9
/
+11
2010-05-19
virtio_ring: remove a level of indirection
Michael S. Tsirkin
1
-20
/
+16
2010-03-30
include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...
Tejun Heo
1
-0
/
+1
2010-02-24
virtio: Initialize vq->data entries to NULL
Amit Shah
1
-1
/
+4
2010-02-24
virtio: Add ability to detach unused buffers from vrings
Shirley Ma
1
-0
/
+25
2010-02-24
virtio: use smp_XX barriers on SMP
Michael S. Tsirkin
1
-4
/
+22
2010-02-24
virtio: remove bogus barriers from DEBUG version of virtio_ring.c
Rusty Russell
1
-2
/
+1
2009-10-29
virtio: order used ring after used index read
Michael S. Tsirkin
1
-0
/
+3
2009-09-23
virtio: make add_buf return capacity remaining
Rusty Russell
1
-1
/
+5
2009-06-12
virtio: indirect ring entries (VIRTIO_RING_F_INDIRECT_DESC)
Mark McLoughlin
1
-2
/
+73
2009-06-12
virtio: add names to virtqueue struct, mapping from devices to queues.
Rusty Russell
1
-7
/
+20
2009-03-30
virtio: more neatening of virtio_ring macros.
Rusty Russell
1
-3
/
+9
2009-03-30
virtio: fix BAD_RING, START_US and END_USE macros
Roel Kluin
1
-8
/
+8
2008-12-30
virtio: hand virtio ring alignment as argument to vring_new_virtqueue
Rusty Russell
1
-1
/
+2
2008-07-25
virtio: Add transport feature handling stub for virtio_ring.
Rusty Russell
1
-0
/
+16
2008-07-25
virtio: don't always force a notification when ring is full
Rusty Russell
1
-2
/
+5
2008-05-30
virtio: force callback on empty.
Rusty Russell
1
-7
/
+0
2008-05-30
virtio_net: another race with virtio_net and enable_cb
Christian Borntraeger
1
-1
/
+0
2008-05-02
virtio: ignore corrupted virtqueues rather than spinning.
Rusty Russell
1
-0
/
+5
[next]