Skip to content
Commit 2299ef71 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

amd64_edac: Check ECC capabilities initially



Rework the code to check the hardware ECC capabilities at PCI probing
time. We do all further initialization only if we actually can/have ECC
enabled.

While at it:
0. Fix function naming.
1. Simplify/clarify debug output.
2. Remove amd64_ prefix from the static functions
3. Reorganize code.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent ae7bb7c6
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