* [PATCH] misc: vop: set VIRTIO_F_ACCESS_PLATFORM for vop driver
@ 2020-09-29 8:49 Sherry Sun
2020-09-29 10:29 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Sherry Sun @ 2020-09-29 8:49 UTC (permalink / raw)
To: hch, sudeep.dutt, ashutosh.dixit, arnd, gregkh; +Cc: linux-kernel, linux-imx
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 <sherry.sun@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
---
drivers/misc/mic/vop/vop_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
index 6722c726b259..714b94f42d38 100644
--- a/drivers/misc/mic/vop/vop_main.c
+++ b/drivers/misc/mic/vop/vop_main.c
@@ -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)
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] misc: vop: set VIRTIO_F_ACCESS_PLATFORM for vop driver
2020-09-29 8:49 [PATCH] misc: vop: set VIRTIO_F_ACCESS_PLATFORM for vop driver Sherry Sun
@ 2020-09-29 10:29 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2020-09-29 10:29 UTC (permalink / raw)
To: Sherry Sun
Cc: hch, sudeep.dutt, ashutosh.dixit, arnd, gregkh, linux-kernel,
linux-imx
On Tue, Sep 29, 2020 at 04:49:44PM +0800, Sherry Sun wrote:
> 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
> implementatio
>
>
> Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-29 10:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 8:49 [PATCH] misc: vop: set VIRTIO_F_ACCESS_PLATFORM for vop driver Sherry Sun
2020-09-29 10:29 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox