diff options
| author | Marek Vasut <[email protected]> | 2026-08-11 00:35:03 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2026-08-15 00:55:43 +0200 |
| commit | d38c44964ce41944bdbd58f093328e45c3955325 (patch) | |
| tree | c342db58ec879a9d43f5926ef8afa5d0767c2197 | |
| parent | 78bc754cc9aa8fb1d1afa208c2930e3e6445a959 (diff) | |
remoteproc: renesas: rsip: Improve error print
In case of SCMI protocol error, print SCMI domain number and error
code both as hexadecimal and decimal to make it easier to interpret
the error.
Signed-off-by: Marek Vasut <[email protected]>
| -rw-r--r-- | drivers/remoteproc/renesas_rsip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/remoteproc/renesas_rsip.c b/drivers/remoteproc/renesas_rsip.c index 68b775e5f82..cabcc2822bd 100644 --- a/drivers/remoteproc/renesas_rsip.c +++ b/drivers/remoteproc/renesas_rsip.c @@ -129,8 +129,10 @@ static void scp_cpu_core_start(const u32 core, const u32 ep) /* Read back the result */ status = readl((uintptr_t)shmem->payload); - if (status) - printf("SCP POWER_STATE_SET failed, status=0x%x\n", status); + if (status) { + printf("SCP POWER_STATE_SET domain %d failed, status=0x%x (%d)\n", + scmi_parameter.domain_id, status, status); + } } /** |
