aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/vdpa_sim
AgeCommit message (Expand)AuthorFilesLines
2024-03-19vdpa_sim: implement vdpa_config_ops.get_vq_size for vDPA simulatorZhu Lingshan1-0/+12
2024-03-19vdpa_sim: reset must not runSteve Sistare1-1/+2
2023-11-01vdpa_sim_blk: allocate the buffer zeroedStefano Garzarella1-2/+2
2023-11-01vdpa_sim: implement .reset_map supportSi-Wei Liu1-9/+43
2023-10-18vdpa_sim_blk: Fix the potential leak of mgmt_devShawn.Shao1-2/+3
2023-09-03vdpa_sim: offer VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OKEugenio Pérez1-0/+8
2023-04-21vdpa_sim_blk: support shared backendStefano Garzarella1-7/+50
2023-04-21vdpa_sim: move buffer allocation in the devicesStefano Garzarella4-21/+57
2023-04-21vdpa_sim: add support for user VAStefano Garzarella2-8/+90
2023-04-21vdpa_sim: replace the spinlock with a mutex to protect the stateStefano Garzarella4-23/+23
2023-04-21vdpa_sim: use kthread workerStefano Garzarella2-7/+15
2023-04-21vdpa_sim: make devices agnostic for work managementStefano Garzarella4-11/+21
2023-04-04vdpa_sim_net: complete the initialization before register the deviceStefano Garzarella1-4/+9
2023-03-13vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_readyEugenio Pérez1-0/+11
2023-02-20vdpa: Fix a couple of spelling mistakes in some messagesColin Ian King1-1/+1
2023-02-20vdpa_sim: get rid of DMA opsJason Wang2-150/+22
2023-02-20vdpa_sim_net: vendor satisticsJason Wang1-6/+213
2023-02-20vdpa_sim: support vendor statisticsJason Wang2-0/+17
2023-02-20vdpasim: customize allocation sizeJason Wang4-1/+7
2023-02-20vdpa_sim: switch to use __vdpa_alloc_device()Jason Wang1-5/+8
2023-02-20vdpa_sim: use weak barriersJason Wang1-1/+1
2023-02-20vdpa_sim: Implement resume vdpa opSebastien Boeuf2-0/+30
2023-02-20vdpa_sim_net: Offer VIRTIO_NET_F_STATUSEugenio Pérez1-0/+1
2023-02-13vdpa_sim: not reset state in vdpasim_queue_readyEugenio Pérez1-0/+2
2022-12-28vdpa_sim_net: should not drop the multicast/broadcast packetCindy Lu1-0/+3
2022-12-28vdpasim: fix memory leak when freeing IOTLBsJason Wang1-1/+3
2022-12-28vdpa_sim: fix vringh initialization in vdpasim_queue_ready()Stefano Garzarella1-2/+1
2022-12-28vdpa_sim: fix possible memory leak in vdpasim_net_init() and vdpasim_blk_init()ruanjinjie2-2/+6
2022-10-07vdpa_sim_net: support feature provisioningJason Wang4-5/+17
2022-08-11vdpa_sim_blk: add support for discard and write-zeroesStefano Garzarella1-1/+73
2022-08-11vdpa_sim_blk: add support for VIRTIO_BLK_T_FLUSHStefano Garzarella1-0/+5
2022-08-11vdpa_sim_blk: make vdpasim_blk_check_range usable by other requestsStefano Garzarella1-15/+23
2022-08-11vdpa_sim_blk: check if sector is 0 for commands other than read or writeStefano Garzarella1-0/+10
2022-08-11vdpa_sim: Implement suspend vdpa opEugenio Pérez4-0/+21
2022-08-11vdpa_sim: use max_iotlb_entries as a limit in vhost_iotlb_initStefano Garzarella1-2/+2
2022-08-11vdpa_sim_blk: set number of address spaces and virtqueue groupsStefano Garzarella1-0/+6
2022-08-11vdpa_sim_blk: call vringh_complete_iotlb() also in the error pathStefano Garzarella1-5/+9
2022-08-11vdpa_sim_blk: limit the number of request handled per batchStefano Garzarella1-0/+10
2022-08-11vdpa_sim_blk: use dev_dbg() to print errorsStefano Garzarella1-10/+10
2022-05-31vdpasim: Off by one in vdpasim_set_group_asid()Dan Carpenter1-1/+1
2022-05-31vdpasim: allow to enable a vq repeatedlyEugenio Pérez1-1/+4
2022-05-31vdpasim: control virtqueue supportGautam Dawar3-20/+161
2022-05-31vdpa_sim: filter destination mac addressGautam Dawar1-18/+31
2022-05-31vdpa_sim: factor out buffer completion logicGautam Dawar1-15/+18
2022-05-31vdpa_sim: advertise VIRTIO_NET_F_MTUGautam Dawar1-1/+2
2022-05-31vdpa: multiple address spaces supportGautam Dawar1-4/+6
2022-05-31vdpa: introduce virtqueue groupsGautam Dawar2-1/+9
2022-01-14vdpa/vdpa_sim_net: Report max device capabilitiesEli Cohen1-0/+1
2022-01-14vdpa/vdpa_sim: Configure max supported virtqueuesEli Cohen1-0/+1
2022-01-14vdpa: Provide interface to read driver featuresEli Cohen1-6/+15
2021-11-24vdpa_sim: avoid putting an uninitialized iova_domainLongpeng1-2/+5
2021-11-01vdpa_sim_net: Enable user to set mac address and mtuParav Pandit1-16/+19
2021-11-01vdpa: Enable user to set mac and mtu of vdpa deviceParav Pandit2-2/+4
2021-09-06vdpa: Support transferring virtual addressing during DMA mappingXie Yongji1-1/+1
2021-09-06vdpa: Add an opaque pointer for vdpa_config_ops.dma_map()Xie Yongji1-3/+3
2021-09-06vdpa: Add reset callback in vdpa_config_opsXie Yongji1-3/+15
2021-09-05vdpa_sim: Use iova_shift() for the size passed to alloc_iova()Xie Yongji1-1/+2
2021-08-11vdpa_sim: Fix return value check for vdpa_alloc_device()Xie Yongji1-1/+3
2021-07-08vdpa: support packed virtqueue for set/get_vq_state()Jason Wang1-2/+2
2021-07-03vdpa_sim_blk: remove duplicate include of linux/blkdev.hWan Jiabing1-1/+0
2021-05-03vdpa_sim_blk: add support for vdpa management toolStefano Garzarella1-13/+63
2021-05-03vdpa_sim_blk: handle VIRTIO_BLK_T_GET_IDStefano Garzarella1-0/+15
2021-05-03vdpa_sim_blk: implement ramdisk behaviourStefano Garzarella1-18/+146
2021-05-03vdpa: add vdpa simulator for block deviceMax Gurtovoy2-0/+146
2021-05-03vdpa: add get_config_size callback in vdpa_config_opsStefano Garzarella1-0/+9
2021-05-03vdpa_sim: cleanup kiovs in vdpasim_free()Stefano Garzarella1-0/+7
2021-05-03vringh: add 'iotlb_lock' to synchronize iotlb accessesStefano Garzarella1-1/+2
2021-05-03vdpa_sim: use iova module to allocate IOVA addressesStefano Garzarella2-42/+68
2021-03-14vdpa_sim: Skip typecasting from void*Parav Pandit1-2/+1
2021-02-25vdpa: set the virtqueue num during registerJason Wang2-2/+2
2021-02-23vdpa_sim_net: Add support for user supported devicesParav Pandit3-26/+75
2021-02-23vdpa: Extend routine to accept vdpa device nameParav Pandit1-1/+1
2021-02-23vdpa_sim_net: Make mac address array staticParav Pandit1-1/+1
2020-12-18vdpa: split vdpasim to core and net modulesMax Gurtovoy4-215/+289
2020-12-18vdpa_sim: split vdpasim_virtqueue's iov field in out_iov and in_iovStefano Garzarella1-5/+6
2020-12-18vdpa_sim: make vdpasim->buffer size configurableStefano Garzarella1-1/+3
2020-12-18vdpa_sim: use kvmalloc to allocate vdpasim->bufferStefano Garzarella1-2/+2
2020-12-18vdpa_sim: set vringh notify callbackStefano Garzarella1-4/+19
2020-12-18vdpa_sim: add set_config callback in vdpasim_dev_attrStefano Garzarella1-1/+10
2020-12-18vdpa_sim: add get_config callback in vdpasim_dev_attrStefano Garzarella1-14/+21
2020-12-18vdpa_sim: make 'config' generic and usable for any device typeStefano Garzarella1-4/+13
2020-12-18vdpa_sim: store parsed MAC address in a bufferStefano Garzarella1-3/+7
2020-12-18vdpa_sim: add work_fn in vdpasim_dev_attrStefano Garzarella1-2/+5
2020-12-18vdpa_sim: add supported_features field in vdpasim_dev_attrStefano Garzarella1-11/+18
2020-12-18vdpa_sim: add device id field in vdpasim_dev_attrStefano Garzarella1-2/+5
2020-12-18vdpa_sim: add struct vdpasim_dev_attr for device attributesStefano Garzarella1-8/+17
2020-12-18vdpa_sim: rename vdpasim_config_ops variablesStefano Garzarella1-6/+6
2020-12-18vdpa_sim: make IOTLB entries limit configurableStefano Garzarella1-1/+6
2020-12-18vdpa_sim: remove hard-coded virtq countMax Gurtovoy1-5/+13
2020-12-18vdpa_sim: remove unnecessary headers inclusionStefano Garzarella1-7/+0
2020-10-31Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-3/+30
2020-10-30vdpasim: allow to assign a MAC addressLaurent Vivier1-1/+13
2020-10-30vdpasim: fix MAC address configurationLaurent Vivier1-1/+2
2020-10-30vdpa_sim: Fix DMA maskLaurent Vivier1-1/+3
2020-10-23vdpa_sim: implement get_iova_range()Jason Wang1-0/+12
2020-10-06dma-mapping: split <linux/dma-mapping.h>Christoph Hellwig1-1/+1
2020-08-10vdpa: Fix pointer math bug in vdpasim_get_config()Dan Carpenter1-1/+1
2020-08-10vdpa_sim: init iommu lockMichael S. Tsirkin1-0/+1
2020-08-05vdpa: Modify get_vq_state() to return error codeEli Cohen1-2/+3
2020-08-05net/vdpa: Use struct for set/get vq stateEli Cohen1-4/+6
2020-08-05vdpa: remove hard coded virtq numMax Gurtovoy1-2/+2
2020-08-05vdpasim: support batch updatingJason Wang1-3/+37
2020-08-05vdpasim: protect concurrent access to iommu iotlbMax Gurtovoy1-4/+27
2020-08-05vdpa_sim: fix endian-ness of config spaceMichael S. Tsirkin1-5/+28
2020-08-03virtio: VIRTIO_F_IOMMU_PLATFORM -> VIRTIO_F_ACCESS_PLATFORMMichael S. Tsirkin1-2/+2
2020-06-04vdpasim: Fix some coccinelle warningsSamuel Zou1-3/+4
2020-05-11vdpasim: remove unused variable 'ret'YueHaibing1-8/+7
2020-04-17vdpa: allow a 32 bit vq alignmentMichael S. Tsirkin1-1/+1
2020-04-16vdpasim: Return status in vdpasim_get_statusYueHaibing1-1/+1
2020-04-02vdpa: move to drivers/vdpaMichael S. Tsirkin2-0/+631