diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-07-02 17:02:43 +0200 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2010-07-02 17:32:34 +0200 |
commit | 41c310447fe06bcedc22b75752c18b60e0b9521b (patch) | |
tree | 20839d92f95d88d70813d9ef81058ba2c1a62a7c /init | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) | |
download | linux-3.10-41c310447fe06bcedc22b75752c18b60e0b9521b.tar.gz linux-3.10-41c310447fe06bcedc22b75752c18b60e0b9521b.tar.bz2 linux-3.10-41c310447fe06bcedc22b75752c18b60e0b9521b.zip |
amd64_edac: Fix syndrome calculation on K8
When calculating the DCT channel from the syndrome we need to know the
syndrome type (x4 vs x8). On F10h, this is read out from extended PCI
cfg space register F3x180 while on K8 we only support x4 syndromes and
don't have extended PCI config space anyway.
Make the code accessing F3x180 F10h only and fall back to x4 syndromes
on everything else.
Cc: <stable@kernel.org> # .33.x .34.x
Reported-by: Jeffrey Merkey <jeffmerkey@gmail.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions