]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_ring: disable packed ring on unsupported transports
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:29 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:40 +0000 (22:17 -0800)
commiteab29aa36b4b992f3a023b2cb929aa5e8a51ac34
tree42a1efcb992dc5eda98e69804d9beba7b788047a
parentebed13958c91d3f85b78085c5f488f00d1adee2a
virtio_ring: disable packed ring on unsupported transports

Currently, ccw, vop and remoteproc need some legacy virtio
APIs to create or access virtio rings, which are not supported
by packed ring. So disable packed ring on these transports
for now.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/misc/mic/vop/vop_main.c
drivers/remoteproc/remoteproc_virtio.c
drivers/s390/virtio/virtio_ccw.c