Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933674AbdGKPoP convert rfc822-to-8bit (ORCPT ); Tue, 11 Jul 2017 11:44:15 -0400 Received: from mga01.intel.com ([192.55.52.88]:9957 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933419AbdGKPoN (ORCPT ); Tue, 11 Jul 2017 11:44:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,347,1496127600"; d="scan'208";a="125807828" From: "Liang, Kan" To: Andi Kleen CC: "peterz@infradead.org" , "mingo@redhat.com" , "linux-kernel@vger.kernel.org" , "jolsa@redhat.com" , "acme@kernel.org" , "eranian@google.com" Subject: RE: [PATCH V3] perf/x86/intel/uncore: remove nonexistent clockticks event for client uncore Thread-Topic: [PATCH V3] perf/x86/intel/uncore: remove nonexistent clockticks event for client uncore Thread-Index: AQHS+lLNk0brg6uFIUK4YMVwtL0mnqJOOOmAgACGyRA= Date: Tue, 11 Jul 2017 15:43:53 +0000 Message-ID: <37D7C6CF3E00A74B8858931C1DB2F0775371882F@SHSMSX103.ccr.corp.intel.com> References: <20170711143346.2396-1-kan.liang@intel.com> <20170711152449.GB3441@tassilo.jf.intel.com> In-Reply-To: <20170711152449.GB3441@tassilo.jf.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmUzM2E1ZGUtMWUzZS00N2Q2LTgzZWItMGEwOWE1MGJkYTVhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Inoxa1ZiUzJ2a3NEckdRdHcyMEEzY2N5K3ZWVmk0TGVVXC9vOGw2V3BxbzNRPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 748 Lines: 24 > > > User observable change with the patch. > > clockticks event is removed from CBOX. User may need to change their > > script to use uncore_clock/clockticks/ instead. > > I don't think we can do that and break everyone's scripts. Have to keep the > old behavior, even though it is not ideal. > > Or you fix the the uncore subsystem to support a separate attribute array for > the first cbox. > I once had a patch to only support clockticks for first box. https://lkml.org/lkml/2016/12/1/477 But Peter think it's better to move it to its own PMU. https://lkml.org/lkml/2016/12/1/484 Each solution has its own advantage and drawback. I'm OK for either of them. I'm not sure what others prefer. Peter? Ingo? What do you think? Thanks, Kan