Home
last modified time | relevance | path

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

12

/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 …]
Dvirtio_pci_common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Virtio PCI driver - common functionality for all device versions
5 * This module allows virtio devices to be used over a virtual PCI device.
24 "Force legacy mode for transitional virtio 1 devices");
33 if (vp_dev->intx_enabled) in vp_synchronize_vectors()
34 synchronize_irq(vp_dev->pci_dev->irq); in vp_synchronize_vectors()
36 for (i = 0; i < vp_dev->msix_vectors; ++i) in vp_synchronize_vectors()
37 synchronize_irq(pci_irq_vector(vp_dev->pci_dev, i)); in vp_synchronize_vectors()
45 iowrite16(vq->index, (void __iomem *)vq->priv); in vp_notify()
54 virtio_config_changed(&vp_dev->vdev); in vp_config_changed()
[all …]
Dvirtio_mmio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Virtio memory mapped device driver
5 * Copyright 2011-2014, ARM Ltd.
7 * This module allows virtio devices to be used over a virtual, memory mapped
15 * .name = "virtio-mmio",
16 * .id = -1,
34 * compatible = "virtio,mmio";
39 * 3. Kernel module (or command line) parameter. Can be used more than once -
52 * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007
55 #define pr_fmt(fmt) "virtio-mmio: " fmt
[all …]
/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 …]
/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 …]
/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 …]
/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 …]
/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 …]
/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 …]
/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 …]
/linux-5.10/drivers/iommu/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 # The IOVA library may also be used by non-IOMMU_API users
6 # The IOASID library may also be used by non-IOMMU_API users
39 sizes at both stage-1 and stage-2, as well as address spaces
40 up to 48-bits in size.
46 Enable self-tests for LPAE page table allocator. This performs
47 a series of page-table consistency checks during boot.
56 Enable support for the ARM Short-descriptor pagetable format.
57 This supports 32-bit virtual and physical addresses mapped using
58 2-level tables with 4KB pages/1MB sections, and contiguous entries
[all …]
/linux-5.10/drivers/gpu/drm/tiny/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 depends on DRM && PCI && MMU
15 https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/
18 - stdvga (DRM_BOCHS, qemu -vga std, default in qemu 2.2+)
19 - qxl (DRM_QXL, qemu -vga qxl, works best with spice)
20 - virtio (DRM_VIRTIO_GPU), qemu -vga virtio)
40 * YX350HV15-T 3.5" 340x350 TFT (Adafruit 3.5")
52 * No-name 2.2" color screen module
65 * YX240QV29-T 2.4" 240x320 TFT (Adafruit 2.4")
91 DRM driver for the Multi-Inno MI0283QT display panel
[all …]
/linux-5.10/arch/mips/boot/dts/loongson/
Dloongson64v_4core_virtio.dts1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/interrupt-controller/irq.h>
5 /dts-v1/;
7 compatible = "loongson,loongson64v-4core-virtio";
8 #address-cells = <2>;
9 #size-cells = <2>;
11 cpuintc: interrupt-controller {
12 #address-cells = <0>;
13 #interrupt-cells = <1>;
14 interrupt-controller;
[all …]
/linux-5.10/drivers/char/hw_random/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 module will be called rng-core. This provides a device
28 This driver provides kernel-side support for a generic Random
31 the default FPGA bitstream on the TS-7800 has such functionality.
34 module will be called timeriomem-rng.
40 depends on (X86 || IA64) && PCI
43 This driver provides kernel-side support for the Random Number
44 Generator hardware found on Intel i8xx-based motherboards.
47 module will be called intel-rng.
53 depends on (X86 || PPC_MAPLE) && PCI
[all …]
/linux-5.10/drivers/block/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
34 <file:Documentation/admin-guide/blockdev/floppy.rst>.
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
95 There are many external CD-ROM and disk devices that connect through
99 Read <file:Documentation/admin-guide/blockdev/paride.rst> for more information.
101 If you have said Y to the "Parallel-port support" configuration
107 you may still build the individual protocol modules and high-level
112 least one high-level driver (e.g. "Parallel port IDE disks",
[all …]
/linux-5.10/arch/s390/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
117 select DMA_OPS if PCI
184 select IOMMU_HELPER if PCI
185 select IOMMU_SUPPORT if PCI
187 select NEED_DMA_MAP_STATE if PCI
188 select NEED_SG_DMA_LENGTH if PCI
191 select PCI_DOMAINS if PCI
192 select PCI_MSI if PCI
261 depends on $(cc-option,-march=z900)
270 depends on $(cc-option,-march=z990)
[all …]
/linux-5.10/drivers/net/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 # All the following symbols are dependent on NETDEVICES - do not repeat
62 This is essentially a bit-bucket device (i.e. traffic you send to
130 section 6.2 of the NET-3-HOWTO, available from
138 depends on SCSI && PCI
166 tristate "MAC-VLAN support"
172 iproute2 package starting with the iproute2-2.6.23 release:
180 tristate "MAC-VLAN based tap driver"
186 on the MAC-VLAN network interface, called macvtap. A macvtap device
200 tristate "IP-VLAN support"
[all …]
/linux-5.10/fs/fuse/
Dvirtio_fs.c1 // SPDX-License-Identifier: GPL-2.0
3 * virtio-fs: Virtio Filesystem
9 #include <linux/pci.h>
12 #include <linux/virtio.h>
21 /* List of virtio-fs device instances and a lock for the list. Also provides
34 /* Per-virtqueue state */
37 struct virtqueue *vq; /* protected by ->lock */
49 /* A virtio-fs device instance */
98 struct fuse_fs_context *ctx = fc->fs_private; in virtio_fs_parse_param()
107 ctx->dax = 1; in virtio_fs_parse_param()
[all …]
/linux-5.10/Documentation/devicetree/bindings/pci/
Dhost-generic-pci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic PCI host controller
10 - Will Deacon <will@kernel.org>
13 Firmware-initialised PCI host controllers and PCI emulations, such as the
14 virtio-pci implementations found in kvmtool and other para-virtualised
21 Configuration Space is assumed to be memory-mapped (as opposed to being
23 geography of a PCI bus address by concatenating the various components to
[all …]
/linux-5.10/drivers/char/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
27 int "ttyprintk log level (1-7)"
40 Also read the Printing-HOWTO, available from
48 <file:Documentation/admin-guide/parport.rst>. The module will be called lp.
77 tristate "Support for user-space parallel port device drivers"
82 port, for instance deviceid (which displays Plug-and-Play device
86 It is safe to say N to this -- it is not needed for normal printing
87 or parallel port CD-ROM/disk support.
95 tristate "Virtio console"
98 select VIRTIO
[all …]

12