• Sumit Gupta's avatar
    soc/tegra: cbb: Check firewall before enabling error reporting · 2927cf85
    Sumit Gupta authored
    To enable error reporting for a fabric to CCPLEX, we need to write its
    register for enabling error interrupt to CCPLEX during boot and later
    clear the error status register after error occurs. If a fabric's
    registers are protected and not accessible from CCPLEX, then accessing
    the registers will cause CBB firewall error.
    
    Add support to check whether write access from CCPLEX to the registers
    of a fabric is not blocked by it's firewall before enabling error
    reporting to CCPLEX for that fabric.
    
    Fixes: fc2f151d ("soc/tegra: cbb: Add driver for Tegra234 CBB 2.0")
    Signed-off-by: default avatarSumit Gupta <sumitg@nvidia.com>
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    2927cf85
tegra234-cbb.c 32.6 KB