diff options
author | Tero Kristo <[email protected]> | 2020-04-20 11:05:59 -0500 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-05-12 16:08:00 -0700 |
commit | db9178a4f8c4e523f824892cb8bab00961b07385 (patch) | |
tree | 2240b9d80471438df2080d5de1489bdee098f0e5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 529798bae7c155d38eec211436df736349dca2ee (diff) |
remoteproc: Fall back to using parent memory pool if no dedicated available
In some cases, like with OMAP remoteproc, we are not creating dedicated
memory pool for the virtio device. Instead, we use the same memory pool
for all shared memories. The current virtio memory pool handling forces
a split between these two, as a separate device is created for it,
causing memory to be allocated from bad location if the dedicated pool
is not available. Fix this by falling back to using the parent device
memory pool if dedicated is not available.
Cc: [email protected]
Reviewed-by: Mathieu Poirier <[email protected]>
Acked-by: Arnaud Pouliquen <[email protected]>
Fixes: 086d08725d34 ("remoteproc: create vdev subdevice with specific dma memory pool")
Signed-off-by: Tero Kristo <[email protected]>
Signed-off-by: Suman Anna <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions