]> Git Repo - linux.git/commit
remoteproc: modify rproc_handle_carveout to support pre-registered region
authorLoic Pallardy <[email protected]>
Fri, 27 Jul 2018 13:14:46 +0000 (15:14 +0200)
committerBjorn Andersson <[email protected]>
Wed, 10 Oct 2018 05:41:04 +0000 (22:41 -0700)
commitffa5f9c84810ea175226863f66a51bb2d4502f5b
treef3885db699034d04bbdb25fed447c458911898ca
parentc874bf59add0e6ed1d5d8c1753b9b66d51e3f640
remoteproc: modify rproc_handle_carveout to support pre-registered region

In current version rproc_handle_carveout() function registers carveout
for allocation.
This patch extends rproc_handle_carveout() function to support
pre-registered region. Match is done on region name, then requested
device address and length are checked.
If match found, pre-registered region is associated with resource
table request.
If no name match found, new carveout is registered for allocation.

Signed-off-by: Loic Pallardy <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
drivers/remoteproc/remoteproc_core.c
This page took 0.054311 seconds and 4 git commands to generate.