platform: tegra: mc: handle dec and sec mc err combo
Krishna Reddy [Wed, 23 Sep 2015 21:55:25 +0000 (14:55 -0700)]
Hanlde DECERR_EMEM and SECURTY_VIOLATION error combination.

Bug 1675932

Change-Id: I762b3bfa153ea41af35881fad2c7c9306b0fc8d5
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/804003
(cherry picked from commit 9b1002220dcc62e7f18b2e7db76976318f0592d6)
Reviewed-on: http://git-master/r/820460
GVS: Gerrit_Virtual_Submit

drivers/platform/tegra/mc/mcerr.c

index 4ce1d45..4e4dc37 100644 (file)
@@ -88,6 +88,9 @@ static const struct mc_error mc_errors[] = {
        MC_ERR(MC_INT_DECERR_EMEM,
               "EMEM address decode error",
               0, MC_ERR_STATUS, MC_ERR_ADR),
+       MC_ERR(MC_INT_DECERR_EMEM | MC_INT_SECURITY_VIOLATION,
+              "EMEM address decode error",
+              0, MC_ERR_STATUS, MC_ERR_ADR),
        MC_ERR(MC_INT_DECERR_VPR,
               "MC request violates VPR requirements",
               0, MC_ERR_VPR_STATUS, MC_ERR_VPR_ADR),