projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regulator: stw481x-vmmc: Set missing .of_match_table to stw481x_vmmc_match
[firefly-linux-kernel-4.4.55.git]
/
Documentation
/
vfio.txt
diff --git
a/Documentation/vfio.txt
b/Documentation/vfio.txt
index d7993dcf8537c657f0ad635410a25698d7b8d584..b9ca02370d466762310ed9415babf364355d5468 100644
(file)
--- a/
Documentation/vfio.txt
+++ b/
Documentation/vfio.txt
@@
-167,8
+167,8
@@
group and can access them as follows:
int container, group, device, i;
struct vfio_group_status group_status =
{ .argsz = sizeof(group_status) };
int container, group, device, i;
struct vfio_group_status group_status =
{ .argsz = sizeof(group_status) };
- struct vfio_iommu_
x86
_info iommu_info = { .argsz = sizeof(iommu_info) };
- struct vfio_iommu_
x86
_dma_map dma_map = { .argsz = sizeof(dma_map) };
+ struct vfio_iommu_
type1
_info iommu_info = { .argsz = sizeof(iommu_info) };
+ struct vfio_iommu_
type1
_dma_map dma_map = { .argsz = sizeof(dma_map) };
struct vfio_device_info device_info = { .argsz = sizeof(device_info) };
/* Create a new container */
struct vfio_device_info device_info = { .argsz = sizeof(device_info) };
/* Create a new container */
@@
-193,7
+193,7
@@
group and can access them as follows:
ioctl(group, VFIO_GROUP_SET_CONTAINER, &container);
/* Enable the IOMMU model we want */
ioctl(group, VFIO_GROUP_SET_CONTAINER, &container);
/* Enable the IOMMU model we want */
- ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)
+ ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)
;
/* Get addition IOMMU info */
ioctl(container, VFIO_IOMMU_GET_INFO, &iommu_info);
/* Get addition IOMMU info */
ioctl(container, VFIO_IOMMU_GET_INFO, &iommu_info);
@@
-229,7
+229,7
@@
group and can access them as follows:
irq.index = i;
irq.index = i;
- ioctl(device, VFIO_DEVICE_GET_IRQ_INFO, &
reg
);
+ ioctl(device, VFIO_DEVICE_GET_IRQ_INFO, &
irq
);
/* Setup IRQs... eventfds, VFIO_DEVICE_SET_IRQS */
}
/* Setup IRQs... eventfds, VFIO_DEVICE_SET_IRQS */
}