Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4337106imm; Mon, 30 Jul 2018 12:44:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpde1TcTPx+h9++q2WgFnJ9G+w2imVTpAGHa8sNlWYNYYNPYrUT+PQQY55Th+a+7eegh63k7 X-Received: by 2002:a63:6441:: with SMTP id y62-v6mr17383765pgb.240.1532979881851; Mon, 30 Jul 2018 12:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532979881; cv=none; d=google.com; s=arc-20160816; b=gMB02mIRpkpYOtHoQKxPtecNTQaSCDmvqPssBWi/hRylF6YFRCEDXtYNN6kF+ZAqBo GI1gktdW5eHj+fPD9Goxhbq/LtMsXOPF6QEDsvmjZJ97ePqjnRW9DggZw9eQ16YOLWiE xYo2n8FRSs2jLww4AlkfOVhnhFQs5agLauIlcacuYvBbqM1wSU1cI1QM9R6FuqCSwn3Z Ezv096rkEZt/P7Q1TpbHstJXczlUZkZD5DRmS5zpGUrLbd89aWm9Q4dTGH9px4kC+5GL 4BMlbBHDbWd4BOHnSnKTrbq9vdJURo3lSV5RmSw6e9eexsllBzNNvN04H60s2NVEUTv5 hFtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=NBwUaGF6+ugOtHMY8LoSxICpf15SC5WyWlpT/Qpgldw=; b=OBlCE/Yyg5WX0oozFd5hP40LqQcQXIL1ReNWLCzk4RvEjuE8+SAK5GwbJJqK3EPdEj 6aKxVqDX4TFFa3mZRUrJornfuN1QzrEYOy/POncfIWfnRWv5F388UVQ81Uv8uieCIm1v VS8Ecc+zgJAl/tKSkKyYp9ATR+CMfv8ZWMaT4fpkNU6eyoQKGN+N702YmjsqGTd/whxy vq60yZOA5+CWnK7aYSRA+ROZp+HXI94eMQs+3KJrgQGBxvNIMCTPR+7VmbXYWUqwzc0w xgjIqY3YtWU9roM7llSKF/musOWU6W600YlZ0gchAOLvwXQo29gJ8F6fHNOdnUJy1tHa 9OKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oGDxqoqY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u27-v6si11271987pgo.676.2018.07.30.12.44.27; Mon, 30 Jul 2018 12:44:41 -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; dkim=pass header.i=@kernel.org header.s=default header.b=oGDxqoqY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732030AbeG3VUH (ORCPT + 99 others); Mon, 30 Jul 2018 17:20:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:50400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728746AbeG3VUG (ORCPT ); Mon, 30 Jul 2018 17:20:06 -0400 Received: from [10.82.11.247] (unknown [131.107.174.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 27A0420890; Mon, 30 Jul 2018 19:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532979815; bh=jbvr/MXfLHW76Nca010BSz2W7lRjiIoMahzDfabtTrw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oGDxqoqYJeLGxHp9cCP943oCVddyB7VtHE5blpkrB5s9u2SRHxap6p0R1qB7JdyP7 BUPVfGRYzIcrn52EFfK4c2GbwQU59tZoW7SItmFkVe2OJsBxvzJ4S+tnIshBnZAm0t RlVVTpjnhNVne9wJzRDZSES+NsdrYIO7dMiPyj0s= Subject: Re: [PATCH] watchdog: Reduce message verbosity To: Don Zickus Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Philippe Ombredanne , Greg Kroah-Hartman , Colin Ian King , Peter Zijlstra References: <20180730190949.141996-1-okaya@kernel.org> <20180730192800.nqdhugzbxmin6e25@redhat.com> From: Sinan Kaya Message-ID: <4e5def8b-df29-0efb-7e35-e71070e94d91@kernel.org> Date: Mon, 30 Jul 2018 12:43:34 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180730192800.nqdhugzbxmin6e25@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > Cheers, > Don > Sinan