[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877eo2mcoh.fsf@anholt.net>
Date: Thu, 17 May 2018 18:09:34 +0100
From: Eric Anholt <eric@...olt.net>
To: Vince Weaver <vincent.weaver@...ne.edu>,
Stefan Wahren <stefan.wahren@...e.com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
bcm-kernel-feedback-list@...adcom.com,
linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm: bcm2835: Add the PMU to the devicetree.
Vince Weaver <vincent.weaver@...ne.edu> writes:
> On Thu, 17 May 2018, Stefan Wahren wrote:
>
>>
>> > Eric Anholt <eric@...olt.net> 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).
I'm a bit lost in the code, but it seemed like the 0xff was a
placeholder for a bit of special behavior, but that the cpu_cycles ->
ARMV7_PERFCTR_CLOCK_CYCLES mapping got you that same value in the end.
Download attachment "signature.asc" of type "application/pgp-signature" (833 bytes)
Powered by blists - more mailing lists