Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1080868ybl; Wed, 28 Aug 2019 09:20:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcPfeiGkkhTjjX6WFIPDD4dhw1oi96K0d85uBhA2p6EVtjKzb6jhyMmoTgblAdftQVj5kX X-Received: by 2002:a17:90a:9f46:: with SMTP id q6mr4946953pjv.110.1567009243778; Wed, 28 Aug 2019 09:20:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567009243; cv=none; d=google.com; s=arc-20160816; b=BiMfy+P5a3k4Oa/IiyhLlg7qAJTgsI8ZCowMMHsUR+hbSXUuVrHATRWN3DJMYRRtDm sxqg3UB0dl7irRu6lHWtvKkzjLEgSfmJjXykUYwj6nhOTYDY2zLhY8xUg5bYlF7Ab6+5 H+OLwojCdrTYW6r6AVYwYacFw3Irk9KLztx6RmgRF6oMoIorolnIjkr2dTFA0Lnmx1aA W+yYVfLChIuvtDgvf0UeLRPwSGd7QZ0QhtjnXdlE/J0TPbR+lNUPzlkLGFKNsmZzjM/h PKkHrhmziounyN5M8bUxbrQ32uUVXD/HDcWgkDsot6WEO/paSXR0/cgf5+Z1j2eXJJqj bbEw== 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; bh=HESXQpqJPshQfq5dBPwxmLoEPT9hpomwCSRjO0FAaoU=; b=0mAlvxZi4DOIQi6gDaV4UeZDOJIS0iceEZvN0yVU4U63tyMI46h/panpYxswNoNDlR CFxGKFC1FS7tTnJ0AerPvDg2xtHR1oSpKZPkIER9lGOQgcmGy2bhqHX7Jk0ZrhVWRE8L iizxpRIAPQkI7uh45vEIntCVesMa1b94x+2PI+qWJpAskkLXEv9Q4J5VB1Q4AIFd10Ss ZXf5GlmQIV4W9M+HyOKszHune/49Y43+PKe9s9Hk7QxHfehNm5AZXU9nM/50qA6P7XGg BarG0eB+va+xMiv5yXPMOjlm2XXXLDy7xDjWXuTGD+Vl3s852muWrgm37diwIlEh9n/1 NqcA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si2291181plf.176.2019.08.28.09.20.26; Wed, 28 Aug 2019 09:20:43 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726603AbfH1QRz (ORCPT + 99 others); Wed, 28 Aug 2019 12:17:55 -0400 Received: from mga01.intel.com ([192.55.52.88]:6610 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726395AbfH1QRz (ORCPT ); Wed, 28 Aug 2019 12:17:55 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2019 09:17:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,441,1559545200"; d="scan'208";a="205410102" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.137]) by fmsmga004.fm.intel.com with ESMTP; 28 Aug 2019 09:17:54 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 63BC3301C2F; Wed, 28 Aug 2019 09:17:54 -0700 (PDT) Date: Wed, 28 Aug 2019 09:17:54 -0700 From: Andi Kleen To: Peter Zijlstra Cc: kan.liang@linux.intel.com, acme@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, jolsa@kernel.org, eranian@google.com, alexander.shishkin@linux.intel.com Subject: Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics Message-ID: <20190828161754.GP5447@tassilo.jf.intel.com> References: <20190826144740.10163-1-kan.liang@linux.intel.com> <20190826144740.10163-4-kan.liang@linux.intel.com> <20190828151921.GD17205@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190828151921.GD17205@worktop.programming.kicks-ass.net> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > This really doesn't make sense to me; if you set FIXED_CTR3 := 0, you'll > never trigger the overflow there; this then seems to suggest the actual The 48bit counter might overflow in a few hours. -Andi