diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-02-12 19:37:40 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-03-24 14:05:35 +0100 |
commit | 718f7bf7ca31277fbe5fdf49b6fa897736b7f36d (patch) | |
tree | 73d29ef2f606f19d052a7a9f5c17f87417fb46ee /arch/arm/mach-stm32mp | |
parent | 658fde8a36ff1f1e95b8f0cbe7382b6f2b83725a (diff) | |
download | u-boot-718f7bf7ca31277fbe5fdf49b6fa897736b7f36d.zip u-boot-718f7bf7ca31277fbe5fdf49b6fa897736b7f36d.tar.gz u-boot-718f7bf7ca31277fbe5fdf49b6fa897736b7f36d.tar.bz2 |
arm: stm32mp: improve the error message for smc
Add the SMC code and operation for trace on errors.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp')
-rw-r--r-- | arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h b/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h index 7b9167c..4ad14f9 100644 --- a/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h +++ b/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h @@ -46,8 +46,8 @@ static inline u32 stm32_smc(u32 svc, u8 op, u32 data1, u32 data2, u32 *result) arm_smccc_smc(svc, op, data1, data2, 0, 0, 0, 0, &res); if (res.a0) { - pr_err("%s: Failed to exec in secure mode (err = %ld)\n", - __func__, res.a0); + pr_err("%s: Failed to exec svc=%x op=%x in secure mode (err = %ld)\n", + __func__, svc, op, res.a0); return -EINVAL; } if (result) |