aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio
AgeCommit message (Expand)AuthorFilesLines
2024-04-08virtio: store owner from modules with register_virtio_driver()Krzysztof Kozlowski1-2/+4
2024-03-19virtio: packed: fix unmap leak for indirect desc tableXuan Zhuo1-3/+3
2024-03-19virtio: make virtio_bus constRicardo B. Marliere1-1/+1
2024-03-19virtio_vdpa: create vqs with the actual sizeZhu Lingshan1-1/+4
2024-03-19virtio: reenable config if freezing device failedDavid Hildenbrand1-1/+3
2024-01-18Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds2-11/+80
2024-01-18Merge tag 'vfio-v6.8-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds8-8/+618
2024-01-10virtio_balloon: stay awake while adjusting balloonDavid Stevens1-10/+47
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-5/+5
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov2-5/+5
2023-12-27virtio: Add support for no-reset virtio PCI PMDavid Stevens1-1/+33
2023-12-19virtio-pci: Introduce APIs to execute legacy IO admin commandsYishai Hadas4-0/+258
2023-12-19virtio-pci: Initialize the supported admin commandsYishai Hadas3-2/+71
2023-12-19virtio-pci: Introduce admin command sending functionFeng Liu2-2/+147
2023-12-19virtio-pci: Introduce admin virtqueueFeng Liu5-8/+146
2023-12-04virtio_ring: fix syncs DMA memory with different directionXuan Zhuo1-4/+2
2023-11-16Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds2-6/+7
2023-11-05Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds4-3/+43
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-10/+14
2023-11-01virtio_pci: Switch away from deprecated irq_set_affinity_hintJakub Sitnicki1-3/+3
2023-11-01virtio_pci: move structure to a headerMichael S. Tsirkin1-3/+4
2023-11-01vhost-vdpa: clean iotlb map during reset for older userspaceSi-Wei Liu1-1/+1
2023-11-01virtio_pci: add check for common cfg sizeXuan Zhuo2-1/+37
2023-11-01virtio_pci: add build offset check for the new common cfg itemsXuan Zhuo1-0/+4
2023-11-01virtio-balloon: correct the comment of virtballoon_migratepage()Xueshi Hu1-1/+1
2023-10-18virtio_pci: fix the common cfg map sizeXuan Zhuo1-1/+1
2023-10-18virtio_balloon: Fix endless deflation and inflation on arm64Gavin Shan1-1/+5
2023-10-18virtio-mmio: fix memory leak of vm_devMaximilian Heyne1-5/+14
2023-10-04virtio_balloon: dynamically allocate the virtio-balloon shrinkerQi Zheng1-10/+14
2023-09-03virtio_ring: fix avail_wrap_counter in virtqueue_add_packedYuan Yao1-1/+1
2023-09-03virtio_vdpa: build affinity masks conditionallyJason Wang1-6/+11
2023-09-03virtio_ring: introduce dma sync api for virtqueueXuan Zhuo1-0/+76
2023-09-03virtio_ring: introduce dma map api for virtqueueXuan Zhuo1-0/+69
2023-09-03virtio_ring: introduce virtqueue_reset()Xuan Zhuo1-0/+33
2023-09-03virtio_ring: separate the logic of reset/enable from virtqueue_resizeXuan Zhuo1-19/+39
2023-09-03virtio_ring: correct the expression of the description of virtqueue_resize()Xuan Zhuo1-1/+1
2023-09-03virtio_ring: skip unmap for premappedXuan Zhuo1-14/+28
2023-09-03virtio_ring: introduce virtqueue_dma_dev()Xuan Zhuo1-0/+17
2023-09-03virtio_ring: support add premapped bufXuan Zhuo1-2/+17
2023-09-03virtio_ring: introduce virtqueue_set_dma_premapped()Xuan Zhuo1-0/+53
2023-09-03virtio_ring: put mapping error check in vring_map_one_sgXuan Zhuo1-15/+22
2023-09-03virtio_ring: check use_dma_api before unmap desc for indirectXuan Zhuo1-2/+4
2023-08-10virtio-mem: check if the config changed before fake offlining memoryDavid Hildenbrand1-3/+12
2023-08-10virtio-mem: keep retrying on offline_and_remove_memory() errors in Sub Block ...David Hildenbrand1-19/+73
2023-08-10virtio-mem: convert most offline_and_remove_memory() errors to -EBUSYDavid Hildenbrand1-4/+8
2023-08-10virtio-mem: remove unsafe unplug in Big Block Mode (BBM)David Hildenbrand1-31/+20
2023-08-10virtio-vdpa: Fix cpumask memory leak in virtio_vdpa_find_vqs()Gal Pressman1-0/+2
2023-08-10virtio-pci: Fix legacy device flag setting error in probeFeng Liu2-2/+1
2023-08-10virtio-mmio: don't break lifecycle of vm_devWolfram Sang1-3/+2
2023-06-27virtio: allow caller to override device DMA mask in vp_modernShannon Nelson1-1/+2
2023-06-27virtio: allow caller to override device id in vp_modernShannon Nelson1-11/+19
2023-06-27virtio_pci: Optimize virtio_pci_device structure sizeFeng Liu1-3/+4
2023-06-27virtio-vdpa: Fix unchecked call to NULL set_vq_affinityDragos Tatulea1-1/+3
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-7/+7
2023-04-27Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds4-39/+210
2023-04-21virtio-vdpa: add VIRTIO_F_NOTIFICATION_DATA feature supportAlvaro Karsz1-2/+21
2023-04-21virtio: add VIRTIO_F_NOTIFICATION_DATA feature supportViktor Prutyanov3-2/+52
2023-04-21virtio_ring: don't update event idx on get_bufAlbert Huang1-6/+16
2023-04-21vdpa: Add eventfd for the vdpa callbackXie Yongji1-0/+1
2023-04-21virtio-vdpa: Support interrupt affinity spreading mechanismXie Yongji1-0/+68
2023-04-21vdpa: Add set/get_vq_affinity callbacks in vdpa_config_opsXie Yongji1-0/+28
2023-04-21virtio_ring: Allow non power of 2 sizes for packed virtqueueFeng Liu1-5/+0
2023-04-21virtio_ring: Use const to annotate read-only pointer paramsFeng Liu1-18/+18
2023-04-21virtio_ring: Avoid using inline for small functionsFeng Liu1-7/+7
2023-04-06virtio-mmio: Add explicit include for of.hRob Herring1-0/+1
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov2-7/+7
2023-02-25Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds2-43/+103
2023-02-20virtio-vdpa: support per vq dma deviceJason Wang1-3/+10
2023-02-20virtio_ring: per virtqueue dma deviceJason Wang1-40/+93
2023-01-27driver core: make struct bus_type.uevent() take a const *Greg Kroah-Hartman1-2/+2
2022-12-28virtio: Implementing attribute show with sysfs_emitDawei Li1-6/+6
2022-12-28virtio_pci: modify ENOENT to EINVALAngus Chen1-1/+1
2022-12-28virtio_ring: use helper function is_power_of_2()Shaoqin Huang1-1/+1
2022-12-28virtio_pci: use helper function is_power_of_2()Shaoqin Huang1-1/+1
2022-10-13virtio_pci: use irq to detect interrupt supportMichael S. Tsirkin1-2/+2
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+9
2022-10-07virtio_pci: don't try to use intxif pin is zeroAngus Chen1-0/+3
2022-10-07virtio_ring: make vring_alloc_queue_packed prettierDeming Wang1-3/+3
2022-10-07virtio_ring: split: Operators use unified styleDeming Wang1-1/+1
2022-10-03virtio: kmsan: check/unpoison scatterlist in vring_map_one_sg()Alexander Potapenko1-1/+9
2022-08-16virtio: kerneldocs fixes and enhancementsRicardo Cañuelo1-0/+8
2022-08-16virtio: Revert "virtio: find_vqs() add arg sizes"Michael S. Tsirkin5-9/+4
2022-08-16virtio_vdpa: Revert "virtio_vdpa: support the arg sizes of find_vqs()"Michael S. Tsirkin1-9/+6
2022-08-16virtio_pci: Revert "virtio_pci: support the arg sizes of find_vqs()"Michael S. Tsirkin4-23/+12
2022-08-16virtio-mmio: Revert "virtio_mmio: support the arg sizes of find_vqs()"Michael S. Tsirkin1-6/+2
2022-08-12Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds10-261/+791
2022-08-11virtio_vdpa: support the arg sizes of find_vqs()Bo Liu1-6/+9
2022-08-11virtio: Check dev_set_name() return valueBo Liu1-1/+3
2022-08-11virtio_mmio: support the arg sizes of find_vqs()Xuan Zhuo1-2/+6
2022-08-11virtio_pci: support the arg sizes of find_vqs()Xuan Zhuo4-12/+23
2022-08-11virtio: find_vqs() add arg sizesXuan Zhuo5-4/+9
2022-08-11virtio_pci: support VIRTIO_F_RING_RESETXuan Zhuo2-3/+97
2022-08-11virtio_pci: extract the logic of active vq for modern pciXuan Zhuo1-18/+28
2022-08-11virtio_pci: introduce helper to get/set queue resetXuan Zhuo1-0/+39
2022-08-11virtio_ring: struct virtqueue introduce resetXuan Zhuo1-0/+2
2022-08-11virtio: allow to unbreak/break virtqueue individuallyXuan Zhuo1-0/+24
2022-08-11virtio_ring: introduce virtqueue_resize()Xuan Zhuo1-0/+69
2022-08-11virtio_ring: packed: introduce virtqueue_resize_packed()Xuan Zhuo1-0/+30
2022-08-11virtio_ring: packed: introduce virtqueue_reinit_packed()Xuan Zhuo1-0/+12
2022-08-11virtio_ring: packed: extract the logic of attach vringXuan Zhuo1-15/+10
2022-08-11virtio_ring: packed: extract the logic of vring initXuan Zhuo1-11/+17
2022-08-11virtio_ring: packed: extract the logic of alloc state and extraXuan Zhuo1-14/+34
2022-08-11virtio_ring: packed: extract the logic of alloc queueXuan Zhuo1-29/+51
2022-08-11virtio_ring: packed: introduce vring_free_packedXuan Zhuo1-0/+22
2022-08-11virtio_ring: split: introduce virtqueue_resize_split()Xuan Zhuo1-0/+34
2022-08-11virtio_ring: split: reserve vring_align, may_reduce_numXuan Zhuo1-0/+10
2022-08-11virtio_ring: split: introduce virtqueue_reinit_split()Xuan Zhuo1-0/+23
2022-08-11virtio_ring: split: extract the logic of attach vringXuan Zhuo1-13/+10
2022-08-11virtio_ring: split: extract the logic of vring initXuan Zhuo1-10/+21
2022-08-11virtio_ring: split: extract the logic of alloc state and extraXuan Zhuo1-16/+36
2022-08-11virtio_ring: split: extract the logic of alloc queueXuan Zhuo1-25/+40
2022-08-11virtio_ring: split: introduce vring_free_split()Xuan Zhuo1-0/+11
2022-08-11virtio_ring: split: __vring_new_virtqueue() accept struct vring_virtqueue_splitXuan Zhuo1-14/+15
2022-08-11virtio_ring: split: stop __vring_new_virtqueue as export symbolXuan Zhuo1-9/+16
2022-08-11virtio_ring: introduce virtqueue_init()Xuan Zhuo1-16/+22
2022-08-11virtio_ring: split vring_virtqueueXuan Zhuo1-56/+60
2022-08-11virtio_ring: extract the logic of freeing vringXuan Zhuo1-5/+13
2022-08-11virtio_ring: update the document of the virtqueue_detach_unused_buf for queue...Xuan Zhuo1-2/+2
2022-08-11virtio: record the maximum queue num supported by the device.Xuan Zhuo4-0/+8
2022-08-11drivers/virtio: Clarify CONFIG_VIRTIO_MEM for unsupported architecturesDavid Hildenbrand1-3/+5
2022-08-11virtio_mmio: add support to set IRQ of a virtio device as wakeup sourceMinghao Xue1-0/+3
2022-08-11virtio: VIRTIO_HARDEN_NOTIFICATION is brokenMichael S. Tsirkin1-1/+2
2022-08-11virtio_ring: remove the arg vq of vring_alloc_desc_extra()Xuan Zhuo1-4/+3
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-5/+3
2022-08-04Merge tag 'for-linus-6.0-rc1-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds4-2/+25
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-45/+2
2022-08-02mm: Convert all PageMovable users to movable_operationsMatthew Wilcox (Oracle)1-45/+2
2022-08-01virtio: replace restricted mem access flag with callbackJuergen Gross4-2/+25
2022-07-29mm: use is_zone_movable_page() helperKefeng Wang1-4/+2
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-1/+1
2022-06-27virtio_ring: make vring_create_virtqueue_split prettierDeming Wang1-1/+1
2022-06-27virtio_mmio: Restore guest page size on resumeStephan Gerhold1-0/+3
2022-06-27virtio_mmio: Add missing PM calls to freeze/restoreStephan Gerhold1-0/+23
2022-06-24virtio: disable notification hardening by defaultJason Wang3-0/+27
2022-06-24virtio: Remove unnecessary variable assignmentsBo Liu1-2/+0
2022-06-24virtio_ring : keep used_wrap_counter in vq->last_used_idxhuangjie.albert1-28/+47
2022-06-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds2-2/+3
2022-06-09virtio: Fix all occurences of the "the the" typoBo Liu2-2/+2
2022-06-08virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failedchengkaitao1-0/+1
2022-06-06virtio: replace arch_has_restricted_virtio_memory_access()Juergen Gross2-9/+2
2022-05-31virtio: Directly use ida_alloc()/free()keliu1-3/+3
2022-05-31virtio: harden vring IRQJason Wang4-7/+29
2022-05-31virtio: allow to unbreak virtqueueJason Wang1-0/+22
2022-05-31virtio-mmio: implement synchronize_cbs()Jason Wang1-0/+8
2022-05-31virtio-pci: implement synchronize_cbs()Jason Wang2-0/+3
2022-05-31virtio: use virtio_reset_device() when possibleJason Wang1-2/+2
2022-05-31virtio: use virtio_device_ready() in virtio_device_restore()Stefano Garzarella1-2/+3
2022-05-31virtio: Replace long long int with long longSolomon Tan1-1/+1
2022-05-31virtio: Replace unsigned with unsigned intSolomon Tan9-46/+46
2022-05-31virtio-pci: Remove wrong address verification in vp_del_vqs()Murilo Opsfelder Araujo1-2/+1
2022-05-31virtio: pci: Fix an error handling path in vp_modern_probe()Christophe JAILLET1-0/+1
2022-05-31virtio-vdpa: don't set callback if virtio doesn't need itGautam Dawar1-1/+1
2022-05-31virtio_ring: add unlikely annotation for free descs checkXianting Tian1-1/+1
2022-05-31virtio_ring: remove unnecessary to_vvq call in vring hot pathXianting Tian1-5/+3
2022-05-13drivers: virtio_mem: use pageblock size as the minimum virtio_mem size.Zi Yan1-3/+3
2022-04-05Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-3/+2
2022-03-31Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds8-97/+55
2022-03-30Revert "virtio: use virtio_device_ready() in virtio_device_restore()"Michael S. Tsirkin1-3/+2
2022-03-28virtio: pci: check bar values read from virtio config spaceKeir Fraser2-4/+17
2022-03-28Revert "virtio_pci: harden MSI-X interrupts"Jason Wang4-32/+12
2022-03-28Revert "virtio-pci: harden INTX interrupts"Jason Wang2-22/+2
2022-03-28virtio: use virtio_device_ready() in virtio_device_restore()Stefano Garzarella1-2/+3
2022-03-28virtio_ring: remove flags check for unmap packed indirect descXuan Zhuo1-13/+5
2022-03-28virtio_ring: remove flags check for unmap split indirect descXuan Zhuo1-13/+5
2022-03-28virtio_ring: rename vring_unmap_state_packed() to vring_unmap_extra_packed()Xuan Zhuo1-9/+8
2022-03-28drivers/virtio: Enable virtio mem for ARM64Gavin Shan1-3/+4
2022-03-22mm: enforce pageblock_order < MAX_ORDERDavid Hildenbrand1-6/+3
2022-03-06virtio: drop default for virtio-memMichael S. Tsirkin1-1/+0
2022-03-04vdpa: factor out vdpa_set_features_unlocked for vdpa internal useSi-Wei Liu1-1/+1
2022-03-04virtio: document virtio_reset_deviceMichael S. Tsirkin1-0/+16
2022-03-04virtio: acknowledge all features before accessMichael S. Tsirkin1-17/+22
2022-03-04virtio: unexport virtio_finalize_featuresMichael S. Tsirkin1-2/+1
2022-01-14vdpa: Allow to configure max data virtqueuesEli Cohen1-1/+1
2022-01-14vdpa: Sync calls set/get config/status with cf_mutexEli Cohen1-2/+1
2022-01-14vdpa: Provide interface to read driver featuresEli Cohen1-1/+1
2022-01-14virtio_ring: mark ring unused on errorMichael S. Tsirkin1-1/+3
2022-01-14virtio/virtio_pci_legacy_dev: ensure the correct return valuePeng Hao1-1/+3
2022-01-14virtio/virtio_mem: handle a possible NULL as a memcpy parameterPeng Hao1-1/+1
2022-01-14virtio: fix a typo in function "vp_modern_remove" comments.Dapeng Mi1-1/+1
2022-01-14virtio-pci: fix the confusing error message王贇1-1/+1
2022-01-14virtio-mem: prepare fake page onlining code for granularity smaller than MAX_...David Hildenbrand1-13/+13
2022-01-14virtio-mem: prepare page onlining code for granularity smaller than MAX_ORDER...David Hildenbrand1-24/+62
2022-01-14virtio: wrap config->reset callsMichael S. Tsirkin4-3/+9
2021-12-08virtio_ring: Fix querying of maximum DMA mapping size for virtio deviceWill Deacon1-1/+1
2021-11-24Revert "virtio_ring: validate used buffer length"Michael S. Tsirkin1-60/+0
2021-11-10virtio-mem: support VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLEDavid Hildenbrand1-0/+1
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds2-85/+217
2021-11-09virtio-mem: disallow mapping virtio-mem memory via /dev/memDavid Hildenbrand2-1/+4
2021-11-09virtio-mem: kdump mode to sanitize /proc/vmcore accessDavid Hildenbrand1-12/+124
2021-11-09virtio-mem: factor out hotplug specifics from virtio_mem_remove() into virtio...David Hildenbrand1-3/+10
2021-11-09virtio-mem: factor out hotplug specifics from virtio_mem_probe() into virtio_...David Hildenbrand1-42/+45
2021-11-09virtio-mem: factor out hotplug specifics from virtio_mem_init() into virtio_m...David Hildenbrand1-37/+44
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-11-06mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSEDavid Hildenbrand1-1/+1
2021-11-04Merge tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2021-11-01vdpa: Introduce and use vdpa device get, set config helpersParav Pandit1-2/+1
2021-11-01virtio_ring: validate used buffer lengthJason Wang1-0/+60
2021-11-01virtio_ring: fix typos in vring_desc_extraJason Wang1-2/+2
2021-11-01virtio-pci: harden INTX interruptsJason Wang2-2/+22
2021-11-01virtio_pci: harden MSI-X interruptsJason Wang4-12/+32