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)
commit3a814fdf271552a5c4641f812ff7e2dd8ad09ee4
tree42a1efcb992dc5eda98e69804d9beba7b788047a
parentf51f982682e2a612fa642dfee47cc8da63677148
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