EDAC/amd64: Split get_csrow_nr_pages() into dct/umc functions
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 27 Jan 2023 17:04:04 +0000 (17:04 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 24 Mar 2023 12:03:19 +0000 (13:03 +0100)
commitc0984666fde9cf7da4c1123443b469f44e94dd84
tree79d1857b4bb0ef2ab2485a20b9a6272a7201a34e
parent00e4feb8c0476bbde3c8bf4a593e0f82ca9a4df6
EDAC/amd64: Split get_csrow_nr_pages() into dct/umc functions

Split get_csrow_nr_pages() into a legacy and modern versions in preparation
for further legacy/modern refactoring.

Also, rename f17_get_cs_mode() to match the new convention.

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-8-yazen.ghannam@amd.com
drivers/edac/amd64_edac.c