Re: [PATCH] arm: bcm2835: Add the PMU to the devicetree.

From: Vince Weaver
Date: Thu May 17 2018 - 11:38:16 EST


On Thu, 17 May 2018, Stefan Wahren wrote:

>
> > Eric Anholt <eric@xxxxxxxxxx> hat am 17. Mai 2018 um 15:17 geschrieben:
> >
> >
> > The a53 and a7 counters seem to match up, so we advertise a7 so that
> > arm32 can probe.

so how closely did you look at the a53/a7 differences? I see some major
differences, especially with the CPU_CYCLES event (0xff vs 0x11).

The proper fix here might be to add a cortex-a53 PMU entry to the armv7
code rather than trying to treat it as a cortex-a7.

Vince