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. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Link: https://lore.kernel.org/r/20200929084944.24146-1-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
aef85b56c3
commit
e84d3896fb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user