History

remoteproc: create vdev subdevice with specific dma memory pool

This patch creates a dedicated vdev subdevice for each vdev declared in firmware resource table and associates carveout named "vdev%dbuffer" (with %d vdev index in resource table) if any as dma coherent memory pool. Then vdev subdevice is used as parent for virtio device.

Loic Pallardy committed 7 years ago

Commit 086d0871 parent 621eafd4 files · +87 −4Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/remoteproc.h+1−0
@@ -554,6 +554,7 @@ struct rproc_vdev { · 553 unmodified lines
554 struct kref refcount;554 struct kref refcount;
555 555
556 struct rproc_subdev subdev;556 struct rproc_subdev subdev;
557 struct device dev;
557 558
558 unsigned int id;559 unsigned int id;
559 struct list_head node;560 struct list_head node;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t