From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756036AbcECNxr (ORCPT ); Tue, 3 May 2016 09:53:47 -0400 Received: from mail.skyhub.de ([78.46.96.112]:51281 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755995AbcECNxp (ORCPT ); Tue, 3 May 2016 09:53:45 -0400 Date: Tue, 3 May 2016 15:53:36 +0200 From: Borislav Petkov To: Alexander Shishkin Cc: Peter Zijlstra , Thomas Gleixner , x86@kernel.org, Ingo Molnar , linux-kernel@vger.kernel.org, vince@deater.net, eranian@google.com, Arnaldo Carvalho de Melo , Mathieu Poirier Subject: Re: [PATCH v0 2/3] perf/x86/intel/pt: Export cpu frequency ratios needed by PT decoders Message-ID: <20160503135336.GF27540@pd.tnic> References: <1461857746-31346-1-git-send-email-alexander.shishkin@linux.intel.com> <1461857746-31346-3-git-send-email-alexander.shishkin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1461857746-31346-3-git-send-email-alexander.shishkin@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 28, 2016 at 06:35:45PM +0300, Alexander Shishkin wrote: > In order for Intel PT decoders to infer correct crystal clock and bus > frequencies that are required to correctly decode timing information > from a PT stream (MTC and CBR packets), export them as sysfs attributes: > > * max_nonturbo_ratio: ratio between the invariant TSC and base clock; > * tsc_art_ratio: TSC to core crystal clock ratio. I guess new sysfs nodes need to be documented: Documentation/ABI/... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.