Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1024736imm; Wed, 1 Aug 2018 09:00:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfmkDd3KOFYcgKQK4peAvrPpVSvkNozQfDowYxA5zJXjAJ/ZmGjv06T7zajFhtP4ppWV1qa X-Received: by 2002:a62:1756:: with SMTP id 83-v6mr11465781pfx.217.1533139248983; Wed, 01 Aug 2018 09:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533139248; cv=none; d=google.com; s=arc-20160816; b=Y49XeRUqY8VXeFGQ6ZR6mAlK6mhdemKZIR4UuUKHQcb57l7raS158dQEiGZY+5EgFV qH1ynwqxBwP3OKYTXz4DusIgGWo86wW9yDShdzy4XlvLLJMe/hhgH9kT/71kXcKh7mgs N42tztHa6QPxoZ+Vrx4n+BvLMGqpJuy44rVLBK69NJ2GgsjEWyQ2EKH15cAxDywUI3mb wGXFbxjw+kV3VX+UBl8I19jFlamCWRFsyCfcpuhV9QDyJUbtuynLZDPcpW5p6xAe+HAm 51a8D5wf/zdqwH4wautbFizV1QG3HR1gpW++M9agbqJg28u1bPn3Q3bAh+OLzbfdBFew F48Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=cdnTUNkZxfdnKac/qCMNPPG/WavcUGQ6pnftzuLl9s8=; b=ZxNlg3EFJA6UJOHd8EjrFDBXjqgQlbkaBdnhYf9ML8tSmCRP/2BoF/HSkObNnaYIDE pLtJJAokT8V77v9nbV0hXg1ZhSASdBy6JztygEXdFlceafLqkp1hCgZY7we/A6GYGolF HO82oj0r+b7p3SUQoVaK52CkWau0Yv2d2R1O1eHZ5mK84K7Okj1By1wkHKxHtph1ofLb vOraSFRjH2zuYECPRPQi9RLiooqI5Ih8orzKvRn5ONc1JD19F2GychmNuOCy1fvcDcbV BFEJO9H84Dv088lStn72jgQ+Fugqx0J8pi4x+seeqXvpIZiEJ980RHfX0xsqPBw6HkrZ d0gQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 11-v6si8439120plc.154.2018.08.01.09.00.34; Wed, 01 Aug 2018 09:00:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390018AbeHARqC (ORCPT + 99 others); Wed, 1 Aug 2018 13:46:02 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43374 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389643AbeHARqB (ORCPT ); Wed, 1 Aug 2018 13:46:01 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 979D381663F5; Wed, 1 Aug 2018 15:59:38 +0000 (UTC) Received: from redhat.com (ovpn-124-83.rdu2.redhat.com [10.10.124.83]) by smtp.corp.redhat.com (Postfix) with SMTP id 0D0651C640; Wed, 1 Aug 2018 15:59:38 +0000 (UTC) Date: Wed, 1 Aug 2018 11:59:37 -0400 From: Don Zickus To: Sinan Kaya Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Philippe Ombredanne , Greg Kroah-Hartman , Colin Ian King , Peter Zijlstra Subject: Re: [PATCH] watchdog: Reduce message verbosity Message-ID: <20180801155937.hwsgqpa5n4q2dkfe@redhat.com> References: <20180730190949.141996-1-okaya@kernel.org> <20180730192800.nqdhugzbxmin6e25@redhat.com> <4e5def8b-df29-0efb-7e35-e71070e94d91@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e5def8b-df29-0efb-7e35-e71070e94d91@kernel.org> User-Agent: NeoMutt/20180622 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 01 Aug 2018 15:59:38 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 01 Aug 2018 15:59:38 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dzickus@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 30, 2018 at 12:43:34PM -0700, Sinan Kaya wrote: > Hi Don, > > On 7/30/2018 12:28 PM, Don Zickus wrote: > > > [ 0.152492] NMI watchdog: Perf event create on CPU 0 failed with -2 > > > [ 0.156002] NMI watchdog: Perf NMI watchdog permanently disabled > > Hi Sinan, > > > > Any reason why? Usually when the 'perf event' fails, that indicates a > > system problem. And most folks don't boot with the 'debug' option. This > > means these unusual failures are hidden and become difficult to debug later > > when it propagates. > > Sorry, I should have been more clear. I'm only suppressing the first > error message. > > [ 0.152492] NMI watchdog: Perf event create on CPU 0 failed with -2 > > Second message is still visible during boot. User knows that NMI watchdog is > disabled. > > [ 0.156002] NMI watchdog: Perf NMI watchdog permanently disabled > > Code is trying to probe the platform capabilities and is failing > because of missing PMU in the system. If someone is interested in > finding out why watchdog was disabled, they can turn on the debug > message level. > > > > > Or are you running the watchdog in a different configuration such that this > > is a common nuisance that you are trying to suppress? > > Yup, system doesn't support PMU. Hi Sinan, Oh, I see. You are just trying to hide the always failing probe. It seems to make sense. Acked-by: Don Zickus