diff options
author | Muralidhara M K <muralidhara.mk@amd.com> | 2023-01-27 17:04:11 +0000 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-03-24 13:03:20 +0100 |
commit | 78ec161a91dda15ecdfa153196bf0a739f0cb9a9 (patch) | |
tree | 4972304005a0dbb3d7c7a6531e819be3137283d4 /block | |
parent | b29dad9bf3ce13e7a37f7fc75ee2c95ac48b9f08 (diff) | |
download | lwn-78ec161a91dda15ecdfa153196bf0a739f0cb9a9.tar.gz lwn-78ec161a91dda15ecdfa153196bf0a739f0cb9a9.zip |
EDAC/amd64: Split determine_memory_type() into dct/umc functions
Call them from their respective hw_info_get() paths.
Call them after all other hardware registers have been saved, since the
memory type for a device will be determined based on the saved
information.
[ 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-15-yazen.ghannam@amd.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions