]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: virtio: Anchor vring life cycle in vdev
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 20 Oct 2016 02:40:07 +0000 (19:40 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Nov 2016 05:52:16 +0000 (21:52 -0800)
commit39cdf4413fe69cd70feff5d61cb5a3f4753b93a6
tree26f3c715c9ec1875d68b7999de047979a72a4104
parentc00d7ca8127032d4a888b0cd9ac2e88d0ea94f00
remoteproc: virtio: Anchor vring life cycle in vdev

Instead of having the vrings being allocated and freed as they are
requested by the virtio device tie their life cycle to the vdev
resource. This allows us to decouple the vdev resource management from
the virtio device management.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c
drivers/remoteproc/remoteproc_virtio.c