From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752807AbcLFOxy (ORCPT ); Tue, 6 Dec 2016 09:53:54 -0500 Received: from one.firstfloor.org ([193.170.194.197]:34779 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752007AbcLFOxx (ORCPT ); Tue, 6 Dec 2016 09:53:53 -0500 Date: Tue, 6 Dec 2016 06:53:49 -0800 From: Andi Kleen To: Peter Zijlstra Cc: Andi Kleen , linux-kernel@vger.kernel.org, Andi Kleen , alexander.shishkin@intel.com, kan.liang@intel.com, stable@vger.kernel.org Subject: Re: [PATCH] perf/x86: Fix exclusion of BTS and LBR for Goldmont Message-ID: <20161206145349.GN26852@two.firstfloor.org> References: <20161202231732.25478-1-andi@firstfloor.org> <20161206123848.GS3207@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161206123848.GS3207@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > - if (x86_pmu.lbr_pt_coexist) > > + if (what == x86_lbr_exclusive_pt && x86_pmu.lbr_pt_coexist) > > return 0; > > This would also allow PT & BTS at the same time, is that a supported > configuration? Yes it is on Goldmont. -Andi