misc: vop: set VIRTIO_F_ACCESS_PLATFORM for vop driver
PATCH 1/1 misc: vop: set VIRTIO_F_ACCESS_PLATFORM for vop driver
Set VIRTIO_F_ACCESS_PLATFORM feature for vop driver, as the DMA mapping details shouldn't decide on the virtio implementation, but the host PCIe implementation.
Signed-off-by Sherry Sun <[email protected]>
Signed-off-by Joakim Zhang <[email protected]>
--- drivers/misc/mic/vop/vop_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/misc/mic/vop/vop_main.c +1 -0
@@ -124,6 +124,7 @@ static void vop_transport_features(struct virtio_device *vdev)* creates virtio rings on preallocated memory. */ __virtio_clear_bit (vdev,VIRTIO_F_RING_PACKED ); +__virtio_set_bit (vdev,VIRTIO_F_ACCESS_PLATFORM ); }static int vop_finalize_features (struct virtio_device *vdev)
Signature · 1 line
2.17.1
Quoted 7 lines · Sherry Sun
Set
VIRTIO_F_ACCESS_PLATFORMfeature for vop driver, as the DMA mapping details shouldn't decide on the virtio implementation, but the host PCIe implementatioSigned-off-by Sherry Sun <[email protected]>Signed-off-by Joakim Zhang <[email protected]>
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>