From owner-svn-src-all@freebsd.org Fri Jun 15 02:28:37 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F51310087E8; Fri, 15 Jun 2018 02:28:37 +0000 (UTC) (envelope-from mmacy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4602871B67; Fri, 15 Jun 2018 02:28:37 +0000 (UTC) (envelope-from mmacy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 233DC114B3; Fri, 15 Jun 2018 02:28:37 +0000 (UTC) (envelope-from mmacy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5F2SaEw076446; Fri, 15 Jun 2018 02:28:36 GMT (envelope-from mmacy@FreeBSD.org) Received: (from mmacy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5F2SaMG076445; Fri, 15 Jun 2018 02:28:36 GMT (envelope-from mmacy@FreeBSD.org) Message-Id: <201806150228.w5F2SaMG076445@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mmacy set sender to mmacy@FreeBSD.org using -f From: Matt Macy Date: Fri, 15 Jun 2018 02:28:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335186 - head/sys/dev/coretemp X-SVN-Group: head X-SVN-Commit-Author: mmacy X-SVN-Commit-Paths: head/sys/dev/coretemp X-SVN-Commit-Revision: 335186 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 02:28:37 -0000 Author: mmacy Date: Fri Jun 15 02:28:36 2018 New Revision: 335186 URL: https://svnweb.freebsd.org/changeset/base/335186 Log: Quiet coretemp probe Only the first device will print coretemp0: numa-domain 0 on cpu0 instead of all hyper threads Submitted by: kbowling Reviewed by: imp, sbruno Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D15727 Modified: head/sys/dev/coretemp/coretemp.c Modified: head/sys/dev/coretemp/coretemp.c ============================================================================== --- head/sys/dev/coretemp/coretemp.c Fri Jun 15 00:54:03 2018 (r335185) +++ head/sys/dev/coretemp/coretemp.c Fri Jun 15 02:28:36 2018 (r335186) @@ -145,6 +145,9 @@ coretemp_probe(device_t dev) device_set_desc(dev, "CPU On-Die Thermal Sensors"); + if (!bootverbose && device_get_unit(dev) != 0) + device_quiet(dev); + return (BUS_PROBE_GENERIC); }