Re: [PATCH] s390: Add support for z13
William Cohen <[email protected]>
| Newsgroups | gmane.linux.kernel.perf.user,gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
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