diff options
author | Muralidhara M K <muralidhara.mk@amd.com> | 2023-01-27 18:04:09 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-03-24 13:03:20 +0100 |
commit | 637f60ef2cc7c015c2e065503f8da89272ab208d (patch) | |
tree | 27236bd1795e40951253c49a0ab498535f2e2c84 /ipc | |
parent | EDAC/amd64: Rework hw_info_{get,put} (diff) | |
download | linux-637f60ef2cc7c015c2e065503f8da89272ab208d.tar.xz linux-637f60ef2cc7c015c2e065503f8da89272ab208d.zip |
EDAC/amd64: Split prep_chip_selects() into dct/umc functions
Call them from their respective hw_info_get() function. Avoid the
need for family/model-based function pointers.
Add the calls before reading hardware registers from the memory
controllers, since the number of chip select bases and masks needs to be
known first.
[ 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-13-yazen.ghannam@amd.com
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions