Commit 78ec161
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.com1 parent b29dad9 commit 78ec161
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1735 | 1735 | | |
1736 | 1736 | | |
1737 | 1737 | | |
1738 | | - | |
| 1738 | + | |
1739 | 1739 | | |
1740 | 1740 | | |
1741 | 1741 | | |
| |||
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
1775 | | - | |
| 1775 | + | |
1776 | 1776 | | |
1777 | 1777 | | |
1778 | 1778 | | |
1779 | | - | |
1780 | | - | |
1781 | | - | |
1782 | 1779 | | |
1783 | 1780 | | |
1784 | 1781 | | |
| |||
1828 | 1825 | | |
1829 | 1826 | | |
1830 | 1827 | | |
| 1828 | + | |
| 1829 | + | |
1831 | 1830 | | |
1832 | 1831 | | |
1833 | 1832 | | |
| |||
3183 | 3182 | | |
3184 | 3183 | | |
3185 | 3184 | | |
3186 | | - | |
3187 | | - | |
3188 | | - | |
3189 | | - | |
3190 | 3185 | | |
3191 | 3186 | | |
3192 | 3187 | | |
| |||
3664 | 3659 | | |
3665 | 3660 | | |
3666 | 3661 | | |
| 3662 | + | |
3667 | 3663 | | |
3668 | 3664 | | |
3669 | 3665 | | |
| |||
3677 | 3673 | | |
3678 | 3674 | | |
3679 | 3675 | | |
| 3676 | + | |
3680 | 3677 | | |
3681 | 3678 | | |
3682 | 3679 | | |
| |||
0 commit comments