From nobody Wed Dec 15 04:00:22 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 09E6C18DA3ED; Wed, 15 Dec 2021 04:00:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JDM3B4GWyz4t6J; Wed, 15 Dec 2021 04:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 73279155A4; Wed, 15 Dec 2021 04:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BF40MKY002895; Wed, 15 Dec 2021 04:00:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BF40MFW002894; Wed, 15 Dec 2021 04:00:22 GMT (envelope-from git) Date: Wed, 15 Dec 2021 04:00:22 GMT Message-Id: <202112150400.1BF40MFW002894@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 218457166f6b - stable/13 - mca: Remove excessively verbose debug messages. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 218457166f6bb2944fb85077b2bf983d63af67f6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639540822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p1GyRDDJMaHqcuYJgphaKF9kMeOtWnWSjIfyv6fz8iw=; b=G5B5wdkFwe8/TPlkgcUf2312Z7jZ3cL+gNgG8lzjk4jC4bEk33Z8f4s90sznY5Gam8h7AY Sy6kbaHECDz3LjvQabNBssBvodS8mTLyXyrXwi19a4H69uYb+CtRtMfTrixyldM1NBMCAV kgwvtJmaLdtWYvksuMxGgx0uu/JJYYIV65tghbW1rV0j9DNrDgKiwkI75jcGnjPZ9KVUCr NOTaUFne6XT+HmoRo84Zu7zWM4HE6B4wA1DnACkgk0Co6UYZ+SqSqWZ49RVexFDfM7ONH0 il6pp7xLVFg+ZQs7rGnkEVuXh8HefLChBdbHopYaLLZXewCsCf7ii6piVHJWfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639540822; a=rsa-sha256; cv=none; b=JH5FallGnunlklTK42okjUgfpjEaPjZ5H21wOrmEi8/VlGNEZ2V7F79VU/cRIPhU6wJ4pF JF2CC6WmPfwbpKkNni3bC2Q+nupQk0vDDBBvvBgBG8YbpSG7zkB6HJHEJM1ZZ7GJ0/8ar+ U305JhyDF7hSGCtbXjygFJ6ybLFXSTXkomUamKs+yjgbr8aOzpvDRkvwQ8PPJzJAq6zR+u M1nAwEIxlOWlNa9aXLyxZHbxu7pIhP/Ze1YFb8EV1PcPjq0/dXDGuKwVegrLm5VWnFGrJO 2Fqyfap+KMSqBV1N9lfqIozdR9a294/JbkxJG5e2SMjQ6iqGl3oZRQrvwoneAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=218457166f6bb2944fb85077b2bf983d63af67f6 commit 218457166f6bb2944fb85077b2bf983d63af67f6 Author: Alexander Motin AuthorDate: 2021-12-08 03:27:09 +0000 Commit: Alexander Motin CommitDate: 2021-12-15 04:00:17 +0000 mca: Remove excessively verbose debug messages. Expecially in case of AMD there was more than dozen lines per CPU. MFC after: 1 week (cherry picked from commit 935dc0de88195e8ce62be085ddfb002eb19ca17f) --- 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 715ae7734e29..ab26fc8841ab 100644 --- a/sys/x86/x86/local_apic.c +++ b/sys/x86/x86/local_apic.c @@ -1464,8 +1464,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 @@ -1495,8 +1493,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);