Commit 6fb8b5f
EDAC/amd64: Split init_csrows() into dct/umc functions
Call them from their respective setup_mci_misc_attrs() paths.
Also, drop the check for an "empty" device, i.e. one without memory.
This is redundant and already done in instance_has_memory() earlier in
the init path.
No functional change is intended.
[ 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-21-yazen.ghannam@amd.com1 parent f6a4b4a commit 6fb8b5f
1 file changed
Lines changed: 7 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3250 | 3250 | | |
3251 | 3251 | | |
3252 | 3252 | | |
3253 | | - | |
| 3253 | + | |
3254 | 3254 | | |
3255 | 3255 | | |
3256 | 3256 | | |
3257 | 3257 | | |
3258 | 3258 | | |
3259 | | - | |
3260 | 3259 | | |
3261 | 3260 | | |
3262 | 3261 | | |
| |||
3277 | 3276 | | |
3278 | 3277 | | |
3279 | 3278 | | |
3280 | | - | |
3281 | 3279 | | |
3282 | 3280 | | |
3283 | 3281 | | |
| |||
3290 | 3288 | | |
3291 | 3289 | | |
3292 | 3290 | | |
3293 | | - | |
3294 | | - | |
3295 | 3291 | | |
3296 | 3292 | | |
3297 | 3293 | | |
3298 | 3294 | | |
3299 | 3295 | | |
3300 | 3296 | | |
3301 | | - | |
| 3297 | + | |
3302 | 3298 | | |
3303 | 3299 | | |
3304 | 3300 | | |
3305 | 3301 | | |
3306 | 3302 | | |
3307 | | - | |
3308 | 3303 | | |
| 3304 | + | |
3309 | 3305 | | |
3310 | 3306 | | |
3311 | | - | |
3312 | | - | |
3313 | | - | |
3314 | 3307 | | |
3315 | 3308 | | |
3316 | 3309 | | |
| |||
3333 | 3326 | | |
3334 | 3327 | | |
3335 | 3328 | | |
3336 | | - | |
3337 | 3329 | | |
3338 | 3330 | | |
3339 | 3331 | | |
| |||
3367 | 3359 | | |
3368 | 3360 | | |
3369 | 3361 | | |
3370 | | - | |
3371 | | - | |
3372 | 3362 | | |
3373 | 3363 | | |
3374 | 3364 | | |
| |||
3642 | 3632 | | |
3643 | 3633 | | |
3644 | 3634 | | |
| 3635 | + | |
| 3636 | + | |
3645 | 3637 | | |
3646 | 3638 | | |
3647 | 3639 | | |
| |||
3658 | 3650 | | |
3659 | 3651 | | |
3660 | 3652 | | |
| 3653 | + | |
| 3654 | + | |
3661 | 3655 | | |
3662 | 3656 | | |
3663 | 3657 | | |
| |||
3873 | 3867 | | |
3874 | 3868 | | |
3875 | 3869 | | |
3876 | | - | |
3877 | | - | |
3878 | | - | |
3879 | 3870 | | |
3880 | 3871 | | |
3881 | 3872 | | |
| |||
0 commit comments