diff options
author | Muralidhara M K <muralidhara.mk@amd.com> | 2023-01-27 20:04:09 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-03-24 15:03:20 +0300 |
commit | 637f60ef2cc7c015c2e065503f8da89272ab208d (patch) | |
tree | 27236bd1795e40951253c49a0ab498535f2e2c84 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9a97a7f4d7b26cb61cdbb328b9d8982d94c99170 (diff) | |
download | linux-637f60ef2cc7c015c2e065503f8da89272ab208d.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions