linux/drivers/firmware/xilinx
Tanmay Shah a48df51d23 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: bca4b02ef9 ("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>
2026-04-30 15:12:46 -06:00
..
Kconfig
Makefile firmware: zynqmp: Move crypto API's to separate file 2026-01-23 13:48:43 +08:00
zynqmp-crypto.c firmware: xilinx: Add firmware API's to support aes-gcm in Versal device 2026-01-23 13:48:43 +08:00
zynqmp-debug.c firmware: xilinx: Add debugfs support for PM_GET_NODE_STATUS 2025-08-29 09:57:31 +02:00
zynqmp-debug.h firmware: xilinx: Switch Michal Simek's email to new one 2023-05-31 20:27:24 +01:00
zynqmp-ufs.c scsi: firmware: xilinx: Add APIs for UFS PHY initialization 2025-10-29 23:00:48 -04:00
zynqmp.c remoteproc: xlnx: Check remote core state 2026-04-30 15:12:46 -06:00