| /linux/Documentation/devicetree/bindings/virtio/ |
| H A D | pci-iommu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/virtio/pci-iommu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: virtio-iommu device using the virtio-pci transport 10 - Jean-Philippe Brucker <jean-philippe@linaro.org> 13 When virtio-iommu uses the PCI transport, its programming interface is 15 device tree statically describes the relation between IOMMU and DMA 16 masters. Therefore, the PCI root complex that hosts the virtio-iommu 17 contains a child node representing the IOMMU device explicitly. [all …]
|
| H A D | mmio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/virtio/mmio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: virtio memory mapped devices 10 - Jean-Philippe Brucker <jean-philippe@linaro.org> 13 See https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=virtio for 18 const: virtio,mmio 23 dma-coherent: true 28 '#iommu-cells': [all …]
|
| /linux/include/linux/ |
| H A D | remoteproc.h | 40 #include <linux/virtio.h> 47 * struct resource_table - firmware resource table header 81 * struct fw_rsc_hdr - firmware resource entry header 95 * enum fw_resource_type - types of resource entries 99 * @RSC_DEVMEM: request to iommu_map a memory-based peripheral. 102 * @RSC_VDEV: declare support for a virtio device, and serve as its 103 * virtio header. 126 #define FW_RSC_ADDR_ANY (-1) 129 * struct fw_rsc_carveout - physically contiguous memory request 133 * @flags: iommu protection flags [all …]
|
| H A D | mmzone.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/pageblock-flags.h> 20 #include <linux/page-flags-layout.h> 23 #include <linux/page-flags.h> 28 /* Free memory management - zoned buddy allocator. */ 99 * __dump_folio() in mm/debug.c passes a folio pointer to on-stack struct folio, 103 (get_pfnblock_migratetype(&folio->page, pfn) == MIGRATE_CMA) 136 get_pageblock_migratetype(&folio->page) 220 NR_KERNEL_MISC_RECLAIMABLE, /* reclaimable non-slab kernel pages */ 228 NR_SECONDARY_PAGETABLE, /* secondary pagetables, KVM & IOMMU */ [all …]
|
| /linux/drivers/iommu/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 # The IOVA library may also be used by non-IOMMU_API users 15 bool "IOMMU Hardware Support" 26 menu "Generic IOMMU Pagetable Support" 40 sizes at both stage-1 and stage-2, as well as address spaces 41 up to 48-bits in size. 49 a series of page-table consistency checks. 58 Enable support for the ARM Short-descriptor pagetable format. 59 This supports 32-bit virtual and physical addresses mapped using 60 2-level tables with 4KB pages/1MB sections, and contiguous entries [all …]
|
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-y += arm/ iommufd/ 3 obj-$(CONFIG_AMD_IOMMU) += amd/ 4 obj-$(CONFIG_INTEL_IOMMU) += intel/ 5 obj-$(CONFIG_RISCV_IOMMU) += riscv/ 6 obj-$(CONFIG_GENERIC_PT) += generic_pt/fmt/ 7 obj-$(CONFIG_IOMMU_API) += iommu.o 8 obj-$(CONFIG_IOMMU_SUPPORT) += iommu-pages.o 9 obj-$(CONFIG_IOMMU_API) += iommu-traces.o 10 obj-$(CONFIG_IOMMU_API) += iommu-sysfs.o [all …]
|
| H A D | virtio-iommu.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Virtio driver for the paravirtualized IOMMU 11 #include <linux/dma-map-ops.h> 14 #include <linux/iommu.h> 18 #include <linux/virtio.h> 25 #include "dma-iommu.h" 35 struct iommu_device iommu; member 106 struct virtio_iommu_req_tail *tail = buf + len - sizeof(*tail); in viommu_get_req_errno() 108 switch (tail->status) { in viommu_get_req_errno() 112 return -ENOSYS; in viommu_get_req_errno() [all …]
|
| /linux/Documentation/arch/s390/ |
| H A D | vfio-ccw.rst | 2 vfio-ccw: the basic infrastructure 6 ------------ 9 Linux/s390. Motivation for vfio-ccw is to passthrough subchannels to a 16 - Channel programs run asynchronously on a separate (co)processor. 17 - The channel subsystem will access any memory designated by the caller 18 in the channel program directly, i.e. there is no iommu involved. 22 added to an iommu group, so as to make itself able to be managed by the 31 - A good start to know Channel I/O in general: 33 - s390 architecture: 34 s390 Principles of Operation manual (IBM Form. No. SA22-7832) [all …]
|
| /linux/Documentation/devicetree/bindings/iommu/ |
| H A D | xen,grant-dma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iommu/xen,grant-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xen specific IOMMU for virtualized devices (e.g. virtio) 10 - Stefano Stabellini <sstabellini@kernel.org> 13 The Xen IOMMU represents the Xen grant table interface. Grant mappings 14 are to be used with devices connected to the Xen IOMMU using the "iommus" 20 const: xen,grant-dma 22 '#iommu-cells': [all …]
|
| /linux/drivers/vhost/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 an IOMMU in software. 14 the host side of a virtio ring. 35 tristate "Host kernel accelerator for virtio net" 54 for use with virtio-scsi guests 57 tristate "vhost virtio-vsock driver" 65 virtio_transport.ko driver loaded to use the virtio-vsock device. 71 tristate "Vhost driver for vDPA-based backend" 78 guest virtio devices with the vDPA-based backends. 84 bool "Cross-endian support for vhost" [all …]
|
| /linux/drivers/xen/ |
| H A D | grant-dma-ops.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Xen grant DMA-mapping layer - contains special DMA-mapping routines 5 * (e.g. virtio) in Xen guests 11 #include <linux/dma-map-ops.h> 17 #include <linux/virtio.h> 19 #include <xen/xen-ops.h> 70 * DMA ops for Xen frontends (e.g. virtio). 72 * Used to act as a kind of software IOMMU for Xen guests by using grants as 92 if (unlikely(data->broken)) in xen_grant_dma_alloc() 107 gnttab_grant_foreign_access_ref(grant + i, data->backend_domid, in xen_grant_dma_alloc() [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Ohad Ben-Cohen <ohad@wizery.com> 12 * Suman Anna <s-anna@ti.com> 22 #include <linux/dma-mapping.h> 26 #include <linux/iommu.h> 74 * This is the IOMMU fault handler we register with the IOMMU API 76 * an IOMMU). 78 * IOMMU core will invoke this handler whenever the remote processor 86 dev_err(dev, "iommu fault: da 0x%lx flags 0x%x\n", iova, flags); in rproc_iommu_fault() 91 * Let the iommu core know we're not really handling this fault; in rproc_iommu_fault() [all …]
|
| /linux/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 66 /* virtio config according to device type */ 68 struct vhost_iotlb *iommu; member 76 /* spinlock to synchronize iommu table */ 84 /* TODO: cross-endian support */ 88 (vdpasim->features & (1ULL << VIRTIO_F_VERSION_1)); in vdpasim_is_little_endian()
|
| /linux/include/uapi/linux/ |
| H A D | virtio_config.h | 29 /* Virtio devices use a standardized configuration space to define their 49 * Virtio feature bits VIRTIO_TRANSPORT_F_START through 52 * rest are per-device feature bits. 70 * If clear - device has the platform DMA (e.g. IOMMU) bypass quirk feature. 71 * If set - use platform DMA tools to access the memory.
|
| H A D | virtio_iommu.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 3 * Virtio-iommu definition v0.12 147 * Tail follows the variable-length properties array. No padding,
|
| /linux/drivers/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 # Rewritten to use lists instead of if-statements. 9 obj-y += cache/ 10 obj-y += irqchip/ 11 obj-y += bus/ 13 obj-$(CONFIG_GENERIC_PHY) += phy/ 16 obj-$(CONFIG_PINCTRL) += pinctrl/ 17 obj-$(CONFIG_GPIOLIB) += gpio/ 18 obj-y += pwm/ 21 obj-y += leds/ [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | host-generic-pci.yaml | 1 # 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# 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 26 For CAM, this 24-bit offset is: 41 - description: [all …]
|
| /linux/drivers/virtio/ |
| H A D | virtio_ring.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Virtio ring implementation. 6 #include <linux/virtio.h> 13 #include <linux/dma-mapping.h> 22 dev_err(&(_vq)->vq.vdev->dev, \ 23 "%s:"fmt, (_vq)->vq.name, ##args); \ 29 if ((_vq)->in_use) \ 31 (_vq)->vq.name, (_vq)->in_use); \ 32 (_vq)->in_use = __LINE__; \ 35 do { BUG_ON(!(_vq)->in_use); (_vq)->in_use = 0; } while(0) [all …]
|
| /linux/ |
| H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 39 Documentation/arch/m68k/kernel-options.rst. 49 PARISC The PA-RISC architecture is enabled. 64 the Documentation/scsi/ sub-directory. 80 VMMIO Driver for memory mapped virtio devices is enabled. 83 X86-32 X86-32, aka i386 architecture is enabled. 84 X86-64 X86-64 architecture is enabled. 85 X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64) 94 KNL Is a kernel start-up parameter. 114 force -- enable ACPI if default was off 115 on -- enable ACPI but allow fallback to DT [arm64,riscv64] [all …]
|
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation 24 - System ioctls: These query and set global attributes which affect the 28 - VM ioctls: These query and set attributes that affect an entire virtual 35 - vcpu ioctls: These query and set attributes that control the operation 43 - device ioctls: These query and set attributes that control the operation 92 facility that allows backward-compatible extensions to the API to be 133 ----------------------- 150 ----------------- 189 address used by the VM. The IPA_Bits is encoded in bits[7-0] of the [all …]
|