Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remoteproc: remove the single rpmsg vdev limitation
Now that the resource table supports publishing a virtio device in a single resource entry, firmware images can start supporting more than a single vdev. This patch removes the single vdev limitation of the remoteproc framework so multi-vdev firmwares can be leveraged: VDEV resource entries are parsed when the rproc is registered, and as a result their vrings are set up and the virtio devices are registered (and they go away when the rproc goes away). Moreover, we no longer only support VIRTIO_ID_RPMSG vdevs; any virtio device type goes now. As a result, there's no more any rpmsg-specific APIs or code in remoteproc: it all becomes generic virtio handling. Signed-off-by: Ohad Ben-Cohen <[email protected]> Cc: Brian Swetland <[email protected]> Cc: Iliyan Malchev <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Grant Likely <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Mark Grosen <[email protected]> Cc: John Williams <[email protected]> Cc: Michal Simek <[email protected]> Cc: Loic PALLARDY <[email protected]> Cc: Ludovic BARRE <[email protected]> Cc: Omar Ramirez Luna <[email protected]> Cc: Guzman Lugo Fernando <[email protected]> Cc: Anna Suman <[email protected]> Cc: Clark Rob <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Saravana Kannan <[email protected]> Cc: David Brown <[email protected]> Cc: Kieran Bingham <[email protected]> Cc: Tony Lindgren <[email protected]>
- Loading branch information