EDAC, MCE, AMD: Make MC2 decoding per-family
Currently only AMD Family 15h processors have special handling for MC2 errors. Since upcoming Family 16h will also need unique handling, let's make MC2 handling part of amd_decoder_ops. Signed-off-by: Jacob Shin <jacob.shin@amd.com> Signed-off-by: Borislav Petkov <bp@alien8.de>
This commit is contained in:

committed by
Borislav Petkov

parent
acc7fcb400
commit
4a73d3de63
@@ -78,6 +78,7 @@ extern const char * const ii_msgs[];
|
||||
struct amd_decoder_ops {
|
||||
bool (*mc0_mce)(u16, u8);
|
||||
bool (*mc1_mce)(u16, u8);
|
||||
bool (*mc2_mce)(u16, u8);
|
||||
};
|
||||
|
||||
void amd_report_gart_errors(bool);
|
||||
|
Reference in New Issue
Block a user