From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Cohen Subject: Re: [PATCH] s390: Add support for z13 Date: Thu, 13 Oct 2016 14:23:07 -0400 Message-ID: References: <44aa1856-f35d-4077-df94-c588d5b3b1e2@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:35514 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934923AbcJMSXI (ORCPT ); Thu, 13 Oct 2016 14:23:08 -0400 In-Reply-To: Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Andreas Arnez Cc: Michael Petlan , Andreas Krebbel , oprofile-list@lists.sf.net, "linux-perf-users@vger.kernel.org" On 10/13/2016 12:14 PM, Andreas Arnez wrote: > On Wed, Oct 12 2016, William Cohen wrote: > >> Is there support for IBM z13 perf counters in the upstream linux >> kernel? I didn't see perf support for IBM z13 in the mainline kernel >> git repository. > > To my understanding, there is currently no support for z13-specific > counters, but generic counters should still work. This certainly limits > the number of available counters on z13 significantly. > > -- > Andreas > Hi Andreas, In the past on x86_64 machine if the cpu wasn't identified the performance monitoring hardware would be not used at all. The upstream code arch/s390/kernel/perf_cpum_cf_events.c it doesn't identify the z13, but it does look like it falls back to cpumcf_pmu_event_attr array of events. However, I don't have much experience running things on IBM series machine, so want to verify that things are working on it. -Will