ARM: tegra: mc: Make error handling make more sense
authorAlex Waterman <alexw@nvidia.com>
Tue, 23 Jul 2013 19:12:30 +0000 (12:12 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:38:17 +0000 (13:38 -0700)
commit753787b4e4968d6f3024a24682343cb853e99a56
treeb932002fa29412e9c81534c347236b58f6365f04
parente740c72166d7576c74bbfb373791fb90cd12f5ee
ARM: tegra: mc: Make error handling make more sense

On T114 and later the errors being reported by the MC are starting
to grow in complexity. This takes that complexity and boils it down
into something more manageable for developers debugging SMMU and
other faults generated by the MC.

The aim of this patch is to make the errors more understandable and
correctly reflect the errors actually generated. The previous
approach to error handling was mis-representing certain errors.

Change-Id: Ie5b96d1a0ead344a3d1fa120e30b3152bfe23b70
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/252617
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
arch/arm/mach-tegra/mcerr-t11.c
arch/arm/mach-tegra/mcerr-t14.c
arch/arm/mach-tegra/mcerr.c
arch/arm/mach-tegra/mcerr.h