From nobody Wed Dec 08 03:29:41 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 31BF418C0BDC; Wed, 8 Dec 2021 03:29:42 +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 4J82j16Xl9z3C5s; Wed, 8 Dec 2021 03:29:41 +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 C148D4016; Wed, 8 Dec 2021 03:29:41 +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 1B83TfNI084504; Wed, 8 Dec 2021 03:29:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B83Tfdb084503; Wed, 8 Dec 2021 03:29:41 GMT (envelope-from git) Date: Wed, 8 Dec 2021 03:29:41 GMT Message-Id: <202112080329.1B83Tfdb084503@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: 935dc0de8819 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 935dc0de88195e8ce62be085ddfb002eb19ca17f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638934181; 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=Q4Jzme4XiD04ekw9xxH/RBrDQ56fMPDA/lwadjwsFS0=; b=HsTKYU8fadDWgfrIA2r2uKz3CV1tw8o8fJV6rg7OpbcODN8DNxItm/5Ha21xQSmQoEPcTa aCO716T2/TtG/6eFHHMwcA142oSnLL15NKRiru2XtmhDTTAid1oQB1J09P1i57juXEwKen C1UQfd9kjNwLWD7OnKW1OLO/2Bfw2bwfB/91fW6GhKulCbuimSo4l3SG/u/rS2AhlEiWVs wyZ8mG2y/vpFKBSXT9rnrxyZ0vE3M7UC9s2zmFJ1tfgQQAoEDRFLuuUWumLkt5QNELOuzz MSPak4eWDduCti9T5Q4tuj8TR47iZ+vNXxMmPCPx4OPvHEyQTsZFfNmEs301TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638934181; a=rsa-sha256; cv=none; b=QZKpKpfblxdo7ACRnJRnxazCv+EstVQiPG7DYczS72sJN8WhVJce2S9nG3FLP3RXpnRM0E JTX6QDjkhM/HQoYmWgxkRObFlnq26YMQEzUhRQp2+TvmnH+mtjkluGpzt3nkBKPI0ROwOz abt/MzxB0FvsIUV5ZdFPYh6GyD2+3qFtt2hQU9oN1PKSJxmMdb76UblemmoiMkAQuN6IMo Y/haFpiU6k9kalusJYdMtfPbIeSDK1JbnnSYzeryUof8EQcBSkm9xWV2nwwQUoKrowv6kP /X6fxlJYU61AaFHcxgalW7RGS0vETJhUGETwqNuYai1Sjen6S2JatavoJ7Lg/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=935dc0de88195e8ce62be085ddfb002eb19ca17f commit 935dc0de88195e8ce62be085ddfb002eb19ca17f Author: Alexander Motin AuthorDate: 2021-12-08 03:27:09 +0000 Commit: Alexander Motin 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);