| /OK3568_Linux_fs/kernel/drivers/virtio/ |
| H A D | Kconfig | 2 config VIRTIO config 5 This option is selected by any driver which implements the virtio 16 bool "Virtio drivers" 22 tristate "PCI driver for virtio devices" 24 select VIRTIO 26 This driver provides support for virtio based paravirtual device 28 virtio backends. Most QEMU based VMMs should support these devices 34 bool "Support for legacy virtio draft 0.9.X and older devices" 38 Virtio PCI Card 0.9.X Draft (circa 2014) and older device support. 41 both devices conforming to Virtio 1 specification, and legacy devices. [all …]
|
| H A D | virtio_dma_buf.c | 3 * dma-bufs for virtio exported objects 12 * virtio_dma_buf_export - Creates a new dma-buf for a virtio exported object 16 * This wraps dma_buf_export() to allow virtio drivers to create a dma-buf 17 * for an virtio exported object that can be queried by other virtio drivers 41 * virtio_dma_buf_attach - mandatory attach callback for virtio dma-bufs 61 * is_virtio_dma_buf - returns true if the given dma-buf is a virtio dma-buf 74 * virtio_dma_buf_get_uuid - gets a virtio dma-buf's exported object's uuid
|
| H A D | virtio_pci_legacy.c | 3 * Virtio PCI driver - legacy device support 5 * This module allows virtio devices to be used over a virtual PCI device. 19 /* virtio config->get_features() implementation */ 29 /* virtio config->finalize_features() implementation */ 46 /* virtio config->get() implementation */ 147 "platform bug: legacy virtio-mmio must not be used with RAM above 0x%llxGB\n", in setup_vq() 232 * The virtio ring base address is expressed as a 32-bit PFN, in virtio_pci_legacy_probe() 242 rc = pci_request_region(pci_dev, 0, "virtio-pci-legacy"); in virtio_pci_legacy_probe() 253 /* we use the subsystem vendor/device id as the virtio vendor/device in virtio_pci_legacy_probe() 255 * virtio devices and to identify the particular virtio driver by in virtio_pci_legacy_probe()
|
| /OK3568_Linux_fs/kernel/tools/virtio/virtio-trace/ |
| H A D | README | 1 Trace Agent for virtio-trace 7 - splice the page from write_pipe to virtio-console without memory copying 19 write the data to virtio-serial. 28 Makefile: Makefile of trace agent for virtio-trace 38 To use this trace agent for virtio-trace, we need to prepare some virtio-serial 42 virtio-trace uses virtio-serial pipe as trace data paths as to the number 44 # mkdir /tmp/virtio-trace/ 45 # mkfifo /tmp/virtio-trace/trace-path-cpu{0,1,2,...,X}.{in,out} 46 # mkfifo /tmp/virtio-trace/agent-ctl-path.{in,out} 53 2) Set up of virtio-serial pipe in a host [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | virtio_ids.h | 4 * Virtio IDs 32 #define VIRTIO_ID_NET 1 /* virtio net */ 33 #define VIRTIO_ID_BLOCK 2 /* virtio block */ 34 #define VIRTIO_ID_CONSOLE 3 /* virtio console */ 35 #define VIRTIO_ID_RNG 4 /* virtio rng */ 36 #define VIRTIO_ID_BALLOON 5 /* virtio balloon */ 37 #define VIRTIO_ID_RPMSG 7 /* virtio remote processor messaging */ 38 #define VIRTIO_ID_SCSI 8 /* virtio scsi */ 39 #define VIRTIO_ID_9P 9 /* 9p virtio console */ 40 #define VIRTIO_ID_RPROC_SERIAL 11 /* virtio remoteproc serial link */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/virtio/ |
| H A D | virtio_crypto_mgr.c | 2 /* Management for virtio crypto devices (refer to adf_dev_mgr.c) 26 * @vcrypto_dev: Pointer to virtio crypto device. 28 * Function adds virtio crypto device to the global list. 29 * To be used by virtio crypto device specific drivers. 69 * @vcrypto_dev: Pointer to virtio crypto device. 71 * Function removes virtio crypto device from the acceleration framework. 72 * To be used by virtio crypto device specific drivers. 87 * Function returns the first virtio crypto device from the acceleration 90 * To be used by virtio crypto device specific drivers. 109 * @vcrypto_dev: Pointer to virtio crypto device. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | virtio_ids.h | 4 * Virtio IDs 32 #define VIRTIO_ID_NET 1 /* virtio net */ 33 #define VIRTIO_ID_BLOCK 2 /* virtio block */ 34 #define VIRTIO_ID_CONSOLE 3 /* virtio console */ 35 #define VIRTIO_ID_RNG 4 /* virtio rng */ 36 #define VIRTIO_ID_BALLOON 5 /* virtio balloon */ 37 #define VIRTIO_ID_RPMSG 7 /* virtio remote processor messaging */ 38 #define VIRTIO_ID_SCSI 8 /* virtio scsi */ 39 #define VIRTIO_ID_9P 9 /* 9p virtio console */ 40 #define VIRTIO_ID_RPROC_SERIAL 11 /* virtio remoteproc serial link */ [all …]
|
| H A D | mic_common.h | 30 * struct mic_device_desc: Virtio device information shared between the 31 * virtio driver and userspace backend 51 * struct mic_device_ctrl: Per virtio device information in the device page 56 * @vdev_reset: Set to 1 by guest to indicate virtio device has been reset. 76 * struct mic_bootparam: Virtio device independent information in device page 79 * @h2c_config_db: Host to Card Virtio config doorbell set by card 101 * @desc: Array of MIC virtio device descriptors. 111 * @address: Guest/MIC physical address of the virtio ring 142 * - virtio device config space 161 * @vr: The virtio ring.
|
| H A D | mic_ioctl.h | 28 * mic_copy - MIC virtio descriptor copy. 35 * the virtio device. 46 * Add a new virtio device 48 * for the virtio device consisting of: 52 * - virtio device config space 65 * Notify virtio device of a config change
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | virtio_ids.h | 4 * Virtio IDs 32 #define VIRTIO_ID_NET 1 /* virtio net */ 33 #define VIRTIO_ID_BLOCK 2 /* virtio block */ 34 #define VIRTIO_ID_CONSOLE 3 /* virtio console */ 35 #define VIRTIO_ID_RNG 4 /* virtio rng */ 36 #define VIRTIO_ID_BALLOON 5 /* virtio balloon */ 37 #define VIRTIO_ID_RPMSG 7 /* virtio remote processor messaging */ 38 #define VIRTIO_ID_SCSI 8 /* virtio scsi */ 39 #define VIRTIO_ID_9P 9 /* 9p virtio console */ 40 #define VIRTIO_ID_RPROC_SERIAL 11 /* virtio remoteproc serial link */ [all …]
|
| H A D | mic_common.h | 30 * struct mic_device_desc: Virtio device information shared between the 31 * virtio driver and userspace backend 51 * struct mic_device_ctrl: Per virtio device information in the device page 56 * @vdev_reset: Set to 1 by guest to indicate virtio device has been reset. 76 * struct mic_bootparam: Virtio device independent information in device page 79 * @h2c_config_db: Host to Card Virtio config doorbell set by card 101 * @desc: Array of MIC virtio device descriptors. 111 * @address: Guest/MIC physical address of the virtio ring 142 * - virtio device config space 161 * @vr: The virtio ring.
|
| H A D | mic_ioctl.h | 28 * mic_copy - MIC virtio descriptor copy. 35 * the virtio device. 46 * Add a new virtio device 48 * for the virtio device consisting of: 52 * - virtio device config space 65 * Notify virtio device of a config change
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/virtio/ |
| H A D | mmio.txt | 1 * virtio memory mapped device 3 See https://ozlabs.org/~rusty/virtio-spec/ for more details. 7 - compatible: "virtio,mmio" compatibility string 11 Required properties for virtio-iommu: 13 - #iommu-cells: When the node corresponds to a virtio-iommu device, it is 16 "iommus" property. For virtio-iommu #iommu-cells must be 22 have an "iommus" property [1]. Since virtio-iommu itself 23 does not access memory through an IOMMU, the "virtio,mmio" 30 compatible = "virtio,mmio"; 39 compatible = "virtio,mmio";
|
| H A D | iommu.txt | 1 * virtio IOMMU PCI device 3 When virtio-iommu uses the PCI transport, its programming interface is 6 masters. Therefore, the PCI root complex that hosts the virtio-iommu 11 - compatible: Should be "virtio,pci-iommu" 20 For virtio-iommu, #iommu-cells must be 1. 25 virtio-iommu node doesn't have an "iommus" property, and is omitted from 36 compatible = "virtio,pci-iommu";
|
| /OK3568_Linux_fs/kernel/Documentation/virt/kvm/ |
| H A D | s390-diag.rst | 38 DIAGNOSE function code 'X'500' - KVM virtio functions 41 If the function code specifies 0x500, various virtio-related functions 44 General register 1 contains the virtio subfunction code. Supported 45 virtio subfunctions depend on KVM's userspace. Generally, userspace 46 provides either s390-virtio (subcodes 0-2) or virtio-ccw (subcode 3). 52 Subcode 0 - s390-virtio notification and early console printk 55 Subcode 1 - s390-virtio reset 58 Subcode 2 - s390-virtio set status 61 Subcode 3 - virtio-ccw notification 65 the subchannel of the virtio-ccw proxy device to be notified. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arc/boot/dts/ |
| H A D | haps_hs.dts | 69 virtio0: virtio@f0100000 { 70 compatible = "virtio,mmio"; 75 virtio1: virtio@f0102000 { 76 compatible = "virtio,mmio"; 81 virtio2: virtio@f0104000 { 82 compatible = "virtio,mmio"; 87 virtio3: virtio@f0106000 { 88 compatible = "virtio,mmio"; 93 virtio4: virtio@f0108000 { 94 compatible = "virtio,mmio";
|
| /OK3568_Linux_fs/kernel/Documentation/staging/ |
| H A D | remoteproc.rst | 20 duplicated. In addition, this framework also adds rpmsg virtio devices 24 (for more information about the virtio-based rpmsg bus and its drivers, 26 Registration of other types of virtio devices is now also possible. Firmwares 27 just need to publish what kind of virtio devices do they support, and then 29 existing virtio drivers with remote processor backends at a minimal development 158 context, which will look for virtio devices supported by the rproc's 161 If found, those virtio devices will be created and added, so as a result 162 of registering this remote processor, additional virtio drivers might get 211 handlers. If rpmsg/virtio functionality is also desired, then the ->kick handler 257 supported virtio devices (and their configurations). [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/conf/machine/ |
| H A D | qemuarm64.conf | 22 QB_GRAPHICS = "-device virtio-gpu-pci" 24 # Virtio Networking support 26 QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@" 27 # Virtio block device 28 QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-pci,drive=disk… 29 # Virtio serial console 30 QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=vir… 31 QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1…
|
| H A D | qemuarm.conf | 23 QB_GRAPHICS = "-device virtio-gpu-pci" 25 # Virtio Networking support 27 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" 28 # Virtio block device 29 QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=d… 30 # Virtio serial console 31 QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=… 32 QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.…
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/ |
| H A D | 0002-virtio-net-fix-map-leaking-on-error-during-receive.patch | 8 Subject: [PATCH 2/2] virtio-net: fix map leaking on error during receive 10 Commit bedd7e93d0196 ("virtio-net: fix use after unmap/free for sg") 22 Fixes: bedd7e93d0196 ("virtio-net: fix use after unmap/free for sg") 26 hw/net/virtio-net.c | 1 + 29 diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c 31 --- a/hw/net/virtio-net.c 32 +++ b/hw/net/virtio-net.c
|
| H A D | 0007_let_dma_memory_map_function_take_MemTxAttrs_argument.patch | 31 hw/display/virtio-gpu.c | 10 ++++++---- 35 hw/virtio/virtio.c | 6 ++++-- 41 diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c 43 --- a/hw/display/virtio-gpu.c 44 +++ b/hw/display/virtio-gpu.c 149 diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c 151 --- a/hw/virtio/virtio.c 152 +++ b/hw/virtio/virtio.c 161 virtio_error(vdev, "virtio: bogus descriptor or out of resources"); 171 error_report("virtio: error trying to map MMIO memory");
|
| /OK3568_Linux_fs/kernel/net/9p/ |
| H A D | trans_virtio.c | 3 * The Virtio 9p transport driver 10 * Based on virtio console driver 35 #include <linux/virtio.h> 51 * @vdev: virtio dev associated with this channel 52 * @vq: virtio queue associated with this channel 114 * @vq: virtio queue activity was received on 117 * on the virtio channel - most likely a response to request we 148 /* Wakeup if anyone waiting for VirtIO ring space. */ in req_done() 189 /* We don't currently allow canceling of virtio requests */ 259 p9_debug(P9_DEBUG_TRANS, "9p debug: virtio request\n"); in p9_virtio_request() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | virtiofs.rst | 6 virtiofs: virtio-fs host<->guest shared file system 14 VIRTIO "virtio-fs" device for guest<->host file system sharing. It allows a 24 expose the storage network to the guest. The virtio-fs device was designed to 27 Furthermore the virtio-fs device takes advantage of the co-location of the 39 Please see https://virtio-fs.gitlab.io/ for details on how to configure QEMU 58 Since the virtio-fs device uses the FUSE protocol for file system requests, the 62 with the virtio-fs device interface. 75 the virtio-fs device uses a "hiprio" virtqueue specifically for requests that
|
| /OK3568_Linux_fs/kernel/drivers/vhost/ |
| H A D | Kconfig | 14 the host side of a virtio ring. 30 tristate "Host kernel accelerator for virtio net" 48 for use with virtio-scsi guests 51 tristate "vhost virtio-vsock driver" 59 virtio_transport.ko driver loaded to use the virtio-vsock device. 72 guest virtio devices with the vDPA-based backends. 82 ordering from host while using legacy virtio.
|
| /OK3568_Linux_fs/yocto/poky/meta/conf/machine/include/riscv/ |
| H A D | qemuriscv.inc | 34 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" 35 QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=d… 36 QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=… 37 QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0… 39 QB_OPT_APPEND = "-device virtio-tablet-pci -device virtio-keyboard-pci"
|