.. | .. |
---|
67 | 67 | #define VIRTIO_F_VERSION_1 32 |
---|
68 | 68 | |
---|
69 | 69 | /* |
---|
70 | | - * If clear - device has the IOMMU bypass quirk feature. |
---|
71 | | - * If set - use platform tools to detect the IOMMU. |
---|
| 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. |
---|
72 | 72 | * |
---|
73 | 73 | * Note the reverse polarity (compared to most other features), |
---|
74 | 74 | * this is for compatibility with legacy systems. |
---|
75 | 75 | */ |
---|
76 | | -#define VIRTIO_F_IOMMU_PLATFORM 33 |
---|
| 76 | +#define VIRTIO_F_ACCESS_PLATFORM 33 |
---|
| 77 | +#ifndef __KERNEL__ |
---|
| 78 | +/* Legacy name for VIRTIO_F_ACCESS_PLATFORM (for compatibility with old userspace) */ |
---|
| 79 | +#define VIRTIO_F_IOMMU_PLATFORM VIRTIO_F_ACCESS_PLATFORM |
---|
| 80 | +#endif /* __KERNEL__ */ |
---|
| 81 | + |
---|
| 82 | +/* This feature indicates support for the packed virtqueue layout. */ |
---|
| 83 | +#define VIRTIO_F_RING_PACKED 34 |
---|
| 84 | + |
---|
| 85 | +/* |
---|
| 86 | + * This feature indicates that memory accesses by the driver and the |
---|
| 87 | + * device are ordered in a way described by the platform. |
---|
| 88 | + */ |
---|
| 89 | +#define VIRTIO_F_ORDER_PLATFORM 36 |
---|
77 | 90 | |
---|
78 | 91 | /* |
---|
79 | 92 | * Does the device support Single Root I/O Virtualization? |
---|