git: 935dc0de8819 - main - mca: Remove excessively verbose debug messages.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Dec 2021 03:29:41 UTC
The branch main has been updated by mav:
URL: https://cgit.FreeBSD.org/src/commit/?id=935dc0de88195e8ce62be085ddfb002eb19ca17f
commit 935dc0de88195e8ce62be085ddfb002eb19ca17f
Author: Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-12-08 03:27:09 +0000
Commit: Alexander Motin <mav@FreeBSD.org>
CommitDate: 2021-12-08 03:27:09 +0000
mca: Remove excessively verbose debug messages.
Expecially in case of AMD there was more than dozen lines per CPU.
MFC after: 1 week
---
sys/x86/x86/local_apic.c | 4 ----
sys/x86/x86/mca.c | 5 -----
2 files changed, 9 deletions(-)
diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
index 7e8db869a884..c404188e578b 100644
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -1479,8 +1479,6 @@ native_lapic_enable_cmc(void)
("%s: missing APIC %u", __func__, apic_id));
lapics[apic_id].la_lvts[APIC_LVT_CMCI].lvt_masked = 0;
lapics[apic_id].la_lvts[APIC_LVT_CMCI].lvt_active = 1;
- if (bootverbose)
- printf("lapic%u: CMCI unmasked\n", apic_id);
}
static int
@@ -1510,8 +1508,6 @@ native_lapic_enable_mca_elvt(void)
}
lapics[apic_id].la_elvts[APIC_ELVT_MCA].lvt_masked = 0;
lapics[apic_id].la_elvts[APIC_ELVT_MCA].lvt_active = 1;
- if (bootverbose)
- printf("lapic%u: MCE Thresholding ELVT unmasked\n", apic_id);
return (APIC_ELVT_MCA);
}
diff --git a/sys/x86/x86/mca.c b/sys/x86/x86/mca.c
index dcb3179bbb70..1b34fc398068 100644
--- a/sys/x86/x86/mca.c
+++ b/sys/x86/x86/mca.c
@@ -1223,11 +1223,6 @@ amd_thresholding_monitor(int i)
return;
}
- /* Re-use Intel CMC support infrastructure. */
- if (bootverbose)
- printf("%s: Starting AMD thresholding on bank %d\n", __func__,
- i);
-
cc = &amd_et_state[PCPU_GET(cpuid)][i];
cc->cur_threshold = 1;
amd_thresholding_start(cc, i);