Re: [PATCH v3 0/10] libperf and arm64 userspace counter access support

From: Rob Herring
Date: Mon Sep 14 2020 - 10:22:49 EST


On Sat, Sep 12, 2020 at 2:53 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> On Fri, Sep 11, 2020 at 03:51:08PM -0600, Rob Herring wrote:
> > This is resurrecting Raphael's series[1] to enable userspace counter
> > access on arm64. My previous versions are here[2][3].
> >
> > Changes in v3:
> > - Dropped removing x86 rdpmc test until libperf tests can run via 'perf test'
> > - Added verbose prints for tests
> > - Split adding perf_evsel__mmap() to separate patch
>
> hi,
> which commit/branch did you base on? I can't apply arm bits:
>
> Applying: arm64: pmu: Add hook to handle pmu-related undefined instructions
> Applying: arm64: perf: Enable pmu counter direct access for perf event on armv8
> error: patch failed: arch/arm64/kernel/perf_event.c:836
> error: arch/arm64/kernel/perf_event.c: patch does not apply
> Patch failed at 0002 arm64: perf: Enable pmu counter direct access for perf event on armv8

It's on v5.9-rc2.

Rob