Commit 32ecdf8
EDAC/amd64: Split read_mc_regs() into dct/umc functions
Call them from their respective hw_info_get() paths.
ECC symbol size is not needed on UMC systems, so determine_ecc_sym_sz()
is left out of the UMC path. Do not save TOP_MEM* values on modern
controllers because they're not needed there (read: they were used only
for debugging, if anything).
[ Yazen: rebased/reworked patch and reworded commit message. ]
Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com>
Co-developed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Co-developed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230127170419.1824692-16-yazen.ghannam@amd.com1 parent 78ec161 commit 32ecdf8
1 file changed
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3089 | 3089 | | |
3090 | 3090 | | |
3091 | 3091 | | |
3092 | | - | |
| 3092 | + | |
3093 | 3093 | | |
3094 | 3094 | | |
3095 | 3095 | | |
| |||
3113 | 3113 | | |
3114 | 3114 | | |
3115 | 3115 | | |
3116 | | - | |
| 3116 | + | |
3117 | 3117 | | |
3118 | 3118 | | |
3119 | 3119 | | |
| |||
3134 | 3134 | | |
3135 | 3135 | | |
3136 | 3136 | | |
3137 | | - | |
3138 | | - | |
3139 | | - | |
3140 | | - | |
3141 | | - | |
3142 | | - | |
3143 | 3137 | | |
3144 | 3138 | | |
3145 | 3139 | | |
| |||
3180 | 3174 | | |
3181 | 3175 | | |
3182 | 3176 | | |
3183 | | - | |
3184 | | - | |
3185 | | - | |
3186 | 3177 | | |
3187 | 3178 | | |
3188 | 3179 | | |
| |||
3658 | 3649 | | |
3659 | 3650 | | |
3660 | 3651 | | |
3661 | | - | |
| 3652 | + | |
3662 | 3653 | | |
3663 | 3654 | | |
3664 | 3655 | | |
| |||
3672 | 3663 | | |
3673 | 3664 | | |
3674 | 3665 | | |
3675 | | - | |
| 3666 | + | |
3676 | 3667 | | |
3677 | 3668 | | |
3678 | 3669 | | |
| |||
0 commit comments