diff options
author | Yazen Ghannam <Yazen.Ghannam@amd.com> | 2016-11-28 12:59:53 -0600 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-11-29 18:05:48 +0100 |
commit | 713ad54675fdfd7358dbcae21ab4788a014c6e23 (patch) | |
tree | db72a151b31b099a0ef044c2ca2b939c27463ab1 /drivers/edac/amd64_edac.h | |
parent | d27f3a348e3677b7d5ee6954ebafce679b011164 (diff) | |
download | blackbird-op-linux-713ad54675fdfd7358dbcae21ab4788a014c6e23.tar.gz blackbird-op-linux-713ad54675fdfd7358dbcae21ab4788a014c6e23.zip |
EDAC, amd64: Define and register UMC error decode function
How we need to decode UMC errors is different from how we decode bus
errors, so let's define a new function for this. We also need a way to
determine the UMC channel since we're not guaranteed that there is a
fixed relation between channel and MCA bank.
Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: Aravind Gopalakrishnan <aravindksg.lkml@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1480359593-80369-1-git-send-email-Yazen.Ghannam@amd.com
[ Fold in decode_synd_reg(), simplify. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index cb91d0b06d23..c3b004a53eea 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -382,6 +382,8 @@ enum err_codes { ERR_NODE = -1, ERR_CSROW = -2, ERR_CHANNEL = -3, + ERR_SYND = -4, + ERR_NORM_ADDR = -5, }; struct err_info { |