Home
last modified time | relevance | path

Searched +full:virtio +full:- +full:pci (Results 1 – 25 of 90) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/virtio/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
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"
23 depends on PCI
24 select VIRTIO
26 This driver provides support for virtio based paravirtual device
27 drivers over PCI. This requires that your VMM has appropriate PCI
28 virtio backends. Most QEMU based VMMs should support these devices
[all …]
Dvirtio_pci_legacy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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 */
26 return ioread32(vp_dev->ioaddr + VIRTIO_PCI_HOST_FEATURES); in vp_get_features()
29 /* virtio config->finalize_features() implementation */
38 BUG_ON((u32)vdev->features != vdev->features); in vp_finalize_features()
41 iowrite32(vdev->features, vp_dev->ioaddr + VIRTIO_PCI_GUEST_FEATURES); in vp_finalize_features()
46 /* virtio config->get() implementation */
51 void __iomem *ioaddr = vp_dev->ioaddr + in vp_get()
[all …]
Dvirtio_pci_common.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Virtio PCI driver - APIs for common functionality for all device versions
7 * This module allows virtio devices to be used over a virtual PCI device.
21 #include <linux/pci.h>
24 #include <linux/virtio.h>
38 /* MSI-X vector (or none) */
47 /* In legacy mode, these two point to within ->legacy. */
52 /* The IO mapping for the PCI config space (non-legacy mode) */
54 /* Device-specific data (non-legacy mode) */
56 /* Base of vq notifications (non-legacy mode). */
[all …]
Dvirtio_pci_modern.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Virtio PCI driver - modern (virtio 1.0) device support
5 * This module allows virtio devices to be used over a virtual PCI device.
23 * Type-safe wrappers for io accesses.
27 * method, i.e. 32-bit accesses for 32-bit fields, 16-bit accesses
28 * for 16-bit fields and 8-bit accesses for 8-bit fields.
85 dev_err(&dev->dev, in map_capability()
91 if (length - start < minlen) { in map_capability()
92 dev_err(&dev->dev, in map_capability()
98 length -= start; in map_capability()
[all …]
/kernel/linux/linux-4.19/drivers/virtio/
DKconfig1 config VIRTIO config
3 ---help---
4 This option is selected by any driver which implements the virtio
9 bool "Virtio drivers"
15 tristate "PCI driver for virtio devices"
16 depends on PCI
17 select VIRTIO
18 ---help---
19 This driver provides support for virtio based paravirtual device
20 drivers over PCI. This requires that your VMM has appropriate PCI
[all …]
Dvirtio_pci_legacy.c2 * Virtio PCI driver - legacy device support
4 * This module allows virtio devices to be used over a virtual PCI device.
16 * See the COPYING file in the top-level directory.
22 /* virtio config->get_features() implementation */
29 return ioread32(vp_dev->ioaddr + VIRTIO_PCI_HOST_FEATURES); in vp_get_features()
32 /* virtio config->finalize_features() implementation */
41 BUG_ON((u32)vdev->features != vdev->features); in vp_finalize_features()
44 iowrite32(vdev->features, vp_dev->ioaddr + VIRTIO_PCI_GUEST_FEATURES); in vp_finalize_features()
49 /* virtio config->get() implementation */
54 void __iomem *ioaddr = vp_dev->ioaddr + in vp_get()
[all …]
Dvirtio_pci_common.h4 * Virtio PCI driver - APIs for common functionality for all device versions
6 * This module allows virtio devices to be used over a virtual PCI device.
18 * See the COPYING file in the top-level directory.
24 #include <linux/pci.h>
27 #include <linux/virtio.h>
41 /* MSI-X vector (or none) */
50 /* In legacy mode, these two point to within ->legacy. */
55 /* The IO mapping for the PCI config space (non-legacy mode) */
57 /* Device-specific data (non-legacy mode) */
59 /* Base of vq notifications (non-legacy mode). */
[all …]
Dvirtio_pci_modern.c2 * Virtio PCI driver - modern (virtio 1.0) device support
4 * This module allows virtio devices to be used over a virtual PCI device.
16 * See the COPYING file in the top-level directory.
25 * Type-safe wrappers for io accesses.
29 * method, i.e. 32-bit accesses for 32-bit fields, 16-bit accesses
30 * for 16-bit fields and 8-bit accesses for 8-bit fields.
87 dev_err(&dev->dev, in map_capability()
93 if (length - start < minlen) { in map_capability()
94 dev_err(&dev->dev, in map_capability()
100 length -= start; in map_capability()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/virtio/
Diommu.txt1 * virtio IOMMU PCI device
3 When virtio-iommu uses the PCI transport, its programming interface is
4 discovered dynamically by the PCI probing infrastructure. However the
6 masters. Therefore, the PCI root complex that hosts the virtio-iommu
11 - compatible: Should be "virtio,pci-iommu"
12 - reg: PCI address of the IOMMU. As defined in the PCI Bus
13 Binding reference [1], the reg property is a five-cell
18 - #iommu-cells: Each platform DMA master managed by the IOMMU is assigned
20 For virtio-iommu, #iommu-cells must be 1.
24 - DMA from the IOMMU device isn't managed by another IOMMU. Therefore the
[all …]
Dmmio.txt1 * virtio memory mapped device
3 See https://ozlabs.org/~rusty/virtio-spec/ for more details.
7 - compatible: "virtio,mmio" compatibility string
8 - reg: control registers base address and size including configuration space
9 - interrupts: interrupt generated by the device
11 Required properties for virtio-iommu:
13 - #iommu-cells: When the node corresponds to a virtio-iommu device, it is
14 linked to DMA masters using the "iommus" or "iommu-map"
15 properties [1][2]. #iommu-cells specifies the size of the
16 "iommus" property. For virtio-iommu #iommu-cells must be
[all …]
/kernel/linux/linux-4.19/drivers/misc/mic/
DKconfig7 depends on 64BIT && PCI && X86 && X86_DEV_DMA_OPS
18 <http://software.intel.com/en-us/mic-developer>.
24 depends on 64BIT && PCI && X86 && X86_DEV_DMA_OPS
35 <http://software.intel.com/en-us/mic-developer>.
41 depends on 64BIT && PCI && X86 && X86_DEV_DMA_OPS
52 <http://software.intel.com/en-us/mic-developer>.
58 depends on 64BIT && PCI && X86
72 <http://software.intel.com/en-us/mic-developer>.
80 select VIRTIO
85 virtio devices. Intel MIC X100 devices are currently supported.
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dnet_failover.rst1 .. SPDX-License-Identifier: GPL-2.0
19 'pci' device. The user accesses the network interface via 'failover' netdev.
28 virtio-net accelerated datapath: STANDBY mode
31 net_failover enables hypervisor controlled accelerated datapath to virtio-net
35 feature on the virtio-net interface and assign the same MAC address to both
36 virtio-net and VF interfaces.
45 <model type='virtio'/>
48 <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
53 <address type='pci' domain='0x0000' bus='0x42' slot='0x02' function='0x5'/>
55 <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
[all …]
/kernel/linux/linux-4.19/Documentation/networking/
Dnet_failover.rst1 .. SPDX-License-Identifier: GPL-2.0
19 'pci' device. The user accesses the network interface via 'failover' netdev.
28 virtio-net accelerated datapath: STANDBY mode
31 net_failover enables hypervisor controlled accelerated datapath to virtio-net
35 feature on the virtio-net interface and assign the same MAC address to both
36 virtio-net and VF interfaces.
45 <model type='virtio'/>
48 <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
53 <address type='pci' domain='0x0000' bus='0x42' slot='0x02' function='0x5'/>
55 <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_drv.c31 #include <linux/pci.h>
42 static int virtio_gpu_modeset = -1;
49 struct pci_dev *pdev = to_pci_dev(vdev->dev.parent); in virtio_gpu_pci_quirk()
50 const char *pname = dev_name(&pdev->dev); in virtio_gpu_pci_quirk()
51 bool vga = (pdev->class >> 8) == PCI_CLASS_DISPLAY_VGA; in virtio_gpu_pci_quirk()
54 DRM_INFO("pci: %s detected at %s\n", in virtio_gpu_pci_quirk()
55 vga ? "virtio-vga" : "virtio-gpu-pci", in virtio_gpu_pci_quirk()
57 dev->pdev = pdev; in virtio_gpu_pci_quirk()
64 * The following comment covers, why virtio cannot rely on it. in virtio_gpu_pci_quirk()
66 * Unlike the other virtual GPU drivers, virtio abstracts the in virtio_gpu_pci_quirk()
[all …]
/kernel/linux/linux-5.10/Documentation/virt/
Dne_overview.rst1 .. SPDX-License-Identifier: GPL-2.0
26 1. An enclave abstraction process - a user space process running in the primary
30 There is a NE emulated PCI device exposed to the primary VM. The driver for this
31 new PCI device is included in the NE driver.
33 The ioctl logic is mapped to PCI device commands e.g. the NE_START_ENCLAVE ioctl
34 maps to an enclave start PCI command. The PCI device commands are then
39 2. The enclave itself - a VM running on the same host as the primary VM that
55 using virtio-vsock [5]. The primary VM has virtio-pci vsock emulated device,
56 while the enclave VM has a virtio-mmio vsock emulated device. The vsock device
57 uses eventfd for signaling. The enclave VM sees the usual interfaces - local
[all …]
/kernel/linux/linux-4.19/tools/virtio/virtio-trace/
DREADME1 Trace Agent for virtio-trace
6 - splice a page of ring-buffer to read_pipe without memory copying
7 - splice the page from write_pipe to virtio-console without memory copying
8 - write trace data to stdout by using -o option
9 - controlled by start/stop orders from a Host
18 5) The read/write threads start to read trace data from ring-buffers and
19 write the data to virtio-serial.
28 Makefile: Makefile of trace agent for virtio-trace
29 trace-agent.c: includes main function, sets up for operating trace agent
30 trace-agent.h: includes all structures and some macros
[all …]
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
DREADME1 Trace Agent for virtio-trace
6 - splice a page of ring-buffer to read_pipe without memory copying
7 - splice the page from write_pipe to virtio-console without memory copying
8 - write trace data to stdout by using -o option
9 - controlled by start/stop orders from a Host
18 5) The read/write threads start to read trace data from ring-buffers and
19 write the data to virtio-serial.
28 Makefile: Makefile of trace agent for virtio-trace
29 trace-agent.c: includes main function, sets up for operating trace agent
30 trace-agent.h: includes all structures and some macros
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/virtio/
Dvirtgpu_drm_bus.c26 #include <linux/pci.h>
40 ap->ranges[0].base = pci_resource_start(pci_dev, 0); in virtio_pci_kick_out_firmware_fb()
41 ap->ranges[0].size = pci_resource_len(pci_dev, 0); in virtio_pci_kick_out_firmware_fb()
43 primary = pci_dev->resource[PCI_ROM_RESOURCE].flags in virtio_pci_kick_out_firmware_fb()
56 dev = drm_dev_alloc(driver, &vdev->dev); in drm_virtio_init()
59 vdev->priv = dev; in drm_virtio_init()
61 if (strcmp(vdev->dev.parent->bus->name, "pci") == 0) { in drm_virtio_init()
62 struct pci_dev *pdev = to_pci_dev(vdev->dev.parent); in drm_virtio_init()
63 const char *pname = dev_name(&pdev->dev); in drm_virtio_init()
64 bool vga = (pdev->class >> 8) == PCI_CLASS_DISPLAY_VGA; in drm_virtio_init()
[all …]
/kernel/linux/linux-4.19/drivers/block/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
10 ---help---
30 ---help---
54 If you have a SWIM-3 (Super Woz Integrated Machine 3; from Apple)
80 tristate "SEGA Dreamcast GD-ROM drive"
85 "GD-ROM" by SEGA to signify it is capable of reading special disks
94 ---help---
95 There are many external CD-ROM and disk devices that connect through
101 If you have said Y to the "Parallel-port support" configuration
107 you may still build the individual protocol modules and high-level
[all …]
/kernel/linux/linux-5.10/tools/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
12 @echo ' acpi - ACPI tools'
13 @echo ' bpf - misc BPF tools'
14 @echo ' cgroup - cgroup tools'
15 @echo ' cpupower - a tool for all things x86 CPU power'
16 @echo ' debugging - tools for debugging'
17 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
18 @echo ' firmware - Firmware tools'
19 @echo ' freefall - laptop accelerometer program for disk protection'
20 @echo ' gpio - GPIO tools'
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/
Dvirtio_pci.h2 * Virtio PCI driver
4 * This module allows virtio devices to be used over a virtual PCI device.
46 /* A 32-bit r/o bitmask of the features supported by the host */
49 /* A 32-bit r/w bitmask of features activated by the guest */
52 /* A 32-bit r/w PFN for the currently selected queue */
55 /* A 16-bit r/o queue size for the currently selected queue */
58 /* A 16-bit r/w queue selector */
61 /* A 16-bit r/w queue notifier */
64 /* An 8-bit device status register. */
67 /* An 8-bit r/o interrupt status register. Reading the value will return the
[all …]
Dvirtio_mmio.h2 * Virtio platform device driver
6 * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007
42 /* Magic value ("virt" string) - Read Only */
45 /* Virtio device version - Read Only */
48 /* Virtio device ID - Read Only */
51 /* Virtio vendor ID - Read Only */
55 * (32 bits per set) - Read Only */
58 /* Device (host) features set selector - Write Only */
62 * (32 bits per set) - Write Only */
65 /* Activated features set selector - Write Only */
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dvirtio_pci.h2 * Virtio PCI driver
4 * This module allows virtio devices to be used over a virtual PCI device.
46 /* A 32-bit r/o bitmask of the features supported by the host */
49 /* A 32-bit r/w bitmask of features activated by the guest */
52 /* A 32-bit r/w PFN for the currently selected queue */
55 /* A 16-bit r/o queue size for the currently selected queue */
58 /* A 16-bit r/w queue selector */
61 /* A 16-bit r/w queue notifier */
64 /* An 8-bit device status register. */
67 /* An 8-bit r/o interrupt status register. Reading the value will return the
[all …]
Dvirtio_mmio.h2 * Virtio platform device driver
6 * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007
42 /* Magic value ("virt" string) - Read Only */
45 /* Virtio device version - Read Only */
48 /* Virtio device ID - Read Only */
51 /* Virtio vendor ID - Read Only */
55 * (32 bits per set) - Read Only */
58 /* Device (host) features set selector - Write Only */
62 * (32 bits per set) - Write Only */
65 /* Activated features set selector - Write Only */
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/cirrus/
DKconfig3 depends on DRM && PCI && MMU
13 https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/
16 - stdvga (DRM_BOCHS, qemu -vga std, default in qemu 2.2+)
17 - qxl (DRM_QXL, qemu -vga qxl, works best with spice)
18 - virtio (DRM_VIRTIO_GPU), qemu -vga virtio)

1234