Re: [PATCH 4/8] powerpc/perf: mpc7450: Fill in the L1 data cache events

From: Matt Turner

Date: Tue Nov 17 2026 - 12:42:10 EST


On Tue, Nov 17, 2026 at 10:36 AM Tanushree Shah <tshah@xxxxxxxxxxxxx> wrote:
> If you have a quick load-only run for 0x21a,
> it would be nice to see the numbers, but that's not a blocker.

Sure. This is a loop of 8 lwz and a bdnz, run 10M times on the 7448,
counted user-only with perf_event_open() and one event at a time. The
store loop is the same with stw.

event none load store
raw 0x21a 9 80000012 12
raw 0x014 8 11 80000011
L1-dcache-loads 9 80000012 12
instructions 10000062 90000086 90000092

The few extra counts come from the code around the loop. I got the
same numbers on three runs.