Messages in this thread | | | From | Timo Alho <> | Subject | [PATCH 0/4] firmware: tegra: add checks for BPMP error return code | Date | Thu, 7 Sep 2017 12:31:00 +0300 |
| |
Hi Thierry,
There is a bug in the BPMP driver as error code in response message is not being checked.
Patch 1 adds the error code as part of tegra_bpmp_message struct and propagates that code to callers
Patches 2 through 4 add code to client drivers to check the error code appropriately
BR, Timo
Timo Alho (4): firmware: tegra: propagate error code to caller clk: tegra: check BPMP response return code reset: tegra: check BPMP response return code soc/tegra: bpmp: check BPMP response return code
drivers/clk/tegra/clk-bpmp.c | 15 ++++++++++----- drivers/firmware/tegra/bpmp.c | 22 ++++++++++++++++------ drivers/reset/tegra/reset-bpmp.c | 9 ++++++++- drivers/soc/tegra/powergate-bpmp.c | 15 +++++++++++++-- include/soc/tegra/bpmp.h | 1 + 5 files changed, 48 insertions(+), 14 deletions(-)
-- 2.7.4
| |