lkml.org 
[lkml]   [2017]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/4] firmware: tegra: add checks for BPMP error return code
    Date
    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

    \
     
     \ /
      Last update: 2017-09-07 11:32    [W:3.425 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site