Skip to content
Commit 41c31044 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

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: default avatarJeffrey Merkey <jeffmerkey@gmail.com>
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 7e27d6e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment