Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3549128imm; Wed, 5 Sep 2018 01:53:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ5vqK67eQ5otOrArz4wQCkmYzeqYBamBfrxBQzNhY/QxlLIi0fpo1h+ILuxxcfniGlVc8a X-Received: by 2002:a62:2744:: with SMTP id n65-v6mr39643586pfn.125.1536137626539; Wed, 05 Sep 2018 01:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536137626; cv=none; d=google.com; s=arc-20160816; b=Xt8mvOQ1za7FMpbPNK/cVM66LUmFV/9m/EwHM1KGiTbAVuyPbuSe5S5sFRbZ6qMov1 GJrlnezF7yhUbjUMEOlB4rrpMEWlmCD+PfI4kWY7GiViy2TtneA81W4zDIi9TvAnY+8D OKEMakFrUoeOF5hGdQm5aST/GVG9oiFjjg7Of/yg3rfzb3lu78b4YGdnZBv00neXxhD6 bAJwLRN9ky0r4Jt4U2tV399jKTFrUeUHo8/U7aq/fkzoeWKi2cfuMXUPuoha8E3wib36 m5c5iENOxrfjEGTe4H61cV68b8mgKMciZhZrevUvq4x9qMh5vdrUbglkm6w3oLmMr7gW 8sdA== 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:dkim-signature; bh=euO650ErHHFroJgFxx9JP66Mh2PFJ0AdVManSkZHYjE=; b=sonEFNU15W/oRXAEHEXxi5YNJ6fnBl1UXeq+FUZJr+dIhfyuq5y+4258RnHlyuhBS4 /eFnOmK+Fbph8UrVlAgxEP8fX2zXYBguK4h22xiAx6c60krvVy20z1rvItAjynhriaOk BKOY0QSgFHiaXZ26kCz6mjqpZpeqMk4Ls8a9XxUd/uht25T4HeN1ZEq8vhBlwugklZr7 eixMwlFfqFkYuFrI2ivD9PbJ9iIBi8bRdUSwQudIjZWPVctQPKsfbKDMsECYz7aNPzIa sspKqF1diZ1GfN3pCzvE2OFe/ijetyN5xxMKgexalkBcpf7a/miZKuWfzuoswnir4UoQ A1FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Z8Wu6BS8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si1458312pfd.142.2018.09.05.01.53.31; Wed, 05 Sep 2018 01:53:46 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Z8Wu6BS8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727735AbeIENVi (ORCPT + 99 others); Wed, 5 Sep 2018 09:21:38 -0400 Received: from merlin.infradead.org ([205.233.59.134]:58434 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbeIENVi (ORCPT ); Wed, 5 Sep 2018 09:21:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=euO650ErHHFroJgFxx9JP66Mh2PFJ0AdVManSkZHYjE=; b=Z8Wu6BS8wUbfIjZZ8hIQEMGhx k/QnOBI7d9CD5AkKqx0bZjxT+A8kobj7vGIw0EBPOMQcWpXU/FbrN4NtEu8AgNFaEreUcL/I6/lwa mcFHSUGBezWLZU7QQzFwb6FN99OStmvK/yYETq4X3bxLU2J92cexp9BAh2gKOqKpvhZwgoRd27vkt jwmRTpA0jRDuZ/p0vFXgacm+ZnsQZqCAeoAOiQN8WQYvD50zEeBX72RQKg2HSB9uWjIhHdXId6ZMY sWhkp6bfpfqPxE7rv+mUNo6o4Ls3tSXIxrWpLSS4vA9bBKvSAMd02KPOob+RmZ1ixbttEG1W0mofw InySy7CPg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxTXq-00042M-9u; Wed, 05 Sep 2018 08:52:14 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D018A20191BFB; Wed, 5 Sep 2018 10:52:12 +0200 (CEST) Date: Wed, 5 Sep 2018 10:52:12 +0200 From: Peter Zijlstra To: Eduardo Valentin Cc: Andi Kleen , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Kan Liang , Dan Carpenter , Jia Zhang , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 1/1] perf/x86/intel: make error messages less confusing Message-ID: <20180905085212.GS24124@hirez.programming.kicks-ass.net> References: <20180823150732.11249-1-eduval@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180823150732.11249-1-eduval@amazon.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 23, 2018 at 08:07:32AM -0700, Eduardo Valentin wrote: > On a system with X86_FEATURE_ARCH_PERFMON disabled > and with a model not known by family PMU drivers, > user gets a kernel message log like the following: > [ 0.100114] Performance Events: unsupported p6 CPU model 85 no PMU driver, software events only. > > The "unsupported .. CPU" part may be confusing for some > users leading to wrong understanding that the kernel > does not support the CPU model. Send them back to first grade, such that they might learn to read?