diff options
author | Alexander Motin <mav@FreeBSD.org> | 2021-12-08 03:27:09 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2021-12-08 03:27:09 +0000 |
commit | 935dc0de88195e8ce62be085ddfb002eb19ca17f (patch) | |
tree | cc3abe1d37860fdc65b8cb12547d8460003be6b9 | |
parent | c2003f268480f040f422c4d7e2d5f590e7084ba2 (diff) | |
download | src-935dc0de88195e8ce62be085ddfb002eb19ca17f.tar.gz src-935dc0de88195e8ce62be085ddfb002eb19ca17f.zip |
mca: Remove excessively verbose debug messages.
Expecially in case of AMD there was more than dozen lines per CPU.
MFC after: 1 week
-rw-r--r-- | sys/x86/x86/local_apic.c | 4 | ||||
-rw-r--r-- | sys/x86/x86/mca.c | 5 |
2 files changed, 0 insertions, 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); |