diff mbox series

[2/4] rasdaemon: set SMCA maximum number of banks to 64

Message ID 20210810172214.134099-3-nchatrad@amd.com (mailing list archive)
State New, archived
Headers show
Series rasdaemon: Add support for AMD CPUs family 19h | expand

Commit Message

Naveen Krishna Chatradhi Aug. 10, 2021, 5:22 p.m. UTC
From: Muralidhara M K <muralimk@amd.com>

Newer AMD systems with SMCA banks support up to 64 MCA banks per CPU.

This patch is based on the commit below upstremed into the kernel
[a0bc32b3cacf194dc479b342f006203fd1e1941a]

Signed-off-by: Muralidhara M K <muralimk@amd.com>
---
 mce-amd-smca.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/mce-amd-smca.c b/mce-amd-smca.c
index e0cf512..3c346f4 100644
--- a/mce-amd-smca.c
+++ b/mce-amd-smca.c
@@ -75,6 +75,9 @@  enum smca_bank_types {
 	N_SMCA_BANK_TYPES
 };
 
+/* Maximum number of MCA banks per CPU. */
+#define MAX_NR_BANKS	64
+
 /* SMCA Extended error strings */
 /* Load Store */
 static const char * const smca_ls_mce_desc[] = {