summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2024-09-15 08:57:41 -0700
committerFelix Held <felix-coreboot@felixheld.de>2024-12-02 18:17:03 +0000
commitd095f1ea45208d8bcae5619806f5e59fa6b4eeb1 (patch)
tree75d7c7febc02d11da6be4a8589d11928bcdfaa3e
parent8df4eefd441d8167c866ec34bf7e7fba9fb5512e (diff)
soc/amd/glinda: Update MCA banksmain
source: PPR 57254 Rev 1.59 Table "Non-core MCA Bank to Block Mapping" Change-Id: I16f5f9db08ab3232caa64fcdc90b8fc062869fcc Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84374 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/soc/amd/glinda/mca.c29
1 files changed, 21 insertions, 8 deletions
diff --git a/src/soc/amd/glinda/mca.c b/src/soc/amd/glinda/mca.c
index c843f4e81b..e89f0c8d34 100644
--- a/src/soc/amd/glinda/mca.c
+++ b/src/soc/amd/glinda/mca.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Glinda */
-
#include <amdblocks/mca.h>
#include <cpu/x86/msr.h>
#include <types.h>
@@ -18,12 +16,27 @@ static const char *const mca_bank_name[] = {
[8] = "L3 cache unit",
[9] = "L3 cache unit",
[10] = "L3 cache unit",
- [11] = "UMC",
- [12] = "UMC",
- [13] = "CS",
- [14] = "CS",
- [15] = "NBIO",
- [16] = "PIE",
+ [11] = "L3 cache unit",
+ [12] = "L3 cache unit",
+ [13] = "L3 cache unit",
+ [14] = "L3 cache unit",
+ [15] = "UMC",
+ [16] = "UMC",
+ [17] = "UMC",
+ [18] = "UMC",
+ [19] = "CS",
+ [20] = "CS",
+ [21] = "CS",
+ [22] = "CS",
+ [23] = "",
+ [24] = "",
+ [25] = "",
+ [26] = "",
+ [27] = "PIE",
+ [28] = "NBIO",
+ [29] = "KPX_SERDES",
+ [30] = "KPX_SERDES",
+ [31] = "",
};
bool mca_has_expected_bank_count(void)