diff options
| author | Tanmay Shah <tanmay.shah@amd.com> | 2026-04-29 01:18:56 +0300 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2026-05-01 00:12:46 +0300 |
| commit | a48df51d23138388900995add2854cda4aa68e55 (patch) | |
| tree | d60ddaf3fcb3a85317d4eaaa4624706f53470326 /include/linux/timer.h | |
| parent | f4d97de947a1ba0d60b9b61f26ecd2e8fc173139 (diff) | |
| download | linux-a48df51d23138388900995add2854cda4aa68e55.tar.xz | |
remoteproc: xlnx: Check remote core state
The remote state is set to RPROC_DETACHED if the resource table is found
in the memory. However, this can be wrong if the remote is not started,
but firmware is still loaded in the memory. Use PM_GET_NODE_STATUS call
to the firmware to request the state of the RPU node. If the RPU is
actually out of reset and running, only then move the remote state to
RPROC_DETACHED, otherwise keep the remote state to RPROC_OFFLINE.
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Fixes: bca4b02ef92e ("remoteproc: xlnx: Add attach detach support")
Reviewed-by: Beleswar Padhi <b-padhi@ti.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20260428221855.313752-1-tanmay.shah@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions
