aboutsummaryrefslogtreecommitdiff
path: root/remoteproc/ethosu_remoteproc.c
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2023-06-05 16:28:07 +0200
committerMikael Olsson <mikael.olsson@arm.com>2023-09-25 15:03:18 +0200
commit53d224abf0b034d91faf5b0c410cada40c65234b (patch)
tree300de7ab1e298fe24b5a1eee305d33fff57dfcff /remoteproc/ethosu_remoteproc.c
parent9d0ea8bc126833da28508a0836d02fa437489bab (diff)
downloadethos-u-linux-driver-stack-53d224abf0b034d91faf5b0c410cada40c65234b.tar.gz
Fix DMA configuration in NPU Linux kernel driver
Currently, when the NPU driver allocates buffers for the NPU subsystem, it does not provide DMA addresses that can be used by the subsystem. Instead, the DMA address is set to the Linux Kernel physical address and must be translated by the firmware before use. The correct DMA address is not provided because the device instance created by the NPU driver has not been DMA configured so it does not know about the subsystem's address requirements. To resolve this, the device will now inherit the DMA configuration from the parent rproc device. Change-Id: Ibcbf30e812e72ebf8672bbe9dde3a9f9abdaa417 Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'remoteproc/ethosu_remoteproc.c')
0 files changed, 0 insertions, 0 deletions