On Thu, Jun 13, 2013 at 6:01 PM, Bill Smith <
bi...@smith-online.org> wrote:
> This might be a bit esoteric for a Chrome OS discussion - but I am not sure
> where else to post this question.
>
> I have been developing a kernel module for the Linux 3.4 kernel that uses
> the cycle counter and the event counters in the Exynos 5's PMU to generate
> and respond to interrupts on counter overflow events.
>
Is this upstream 3.4 or the Chrome-OS tree? I'm assuming Chrome-OS
since upstream 3.4 doesn't really support Exynos 5250 at all.
There was a bug at one point which is very similar to what you're
reporting where we just didn't see any PMU interrupts for CPU1. A few
fixes went into our tree:
commit 2ba000de62ef4df1e627cb67090526e4fb9a1453
Author: Olof Johansson <
ol...@chromium.org>
Date: Fri Jun 22 15:11:50 2012 -0700
ARM: exynos: add pmu nodes to exynos5250 dts
commit a879586ba71e64df4d0a3f2321704fc359283a65
Author: Olof Johansson <
ol...@chromium.org>
Date: Fri Jun 22 17:33:42 2012 -0700
CHROMIUM: ARM: exynos: arm-pmu configuration through dts
commit 22915d86cb9114de012979a0ba38bcf042a28a77
Author: Olof Johansson <
ol...@chromium.org>
Date: Fri Jun 22 17:34:28 2012 -0700
CHROMIUM: ARM: exynos: handle setaffinity on combined interrupts
And after those three went in, I'm pretty sure we saw the interrupts
happening on CPU1.
If you run: taskset -c 1 perf record sha1sum /dev/zero &
and look at /proc/interrupts, do you see anything happening ?
I see this:
CPU0 CPU1
...
340: 0 1912 COMBINER arm-pmu
so I'm seeing the pmu interrupts going to cpu1
> Thanks.
>
> - Bill
>
> --
> --
> Chromium OS discuss mailing list:
chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
>
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
>
>
>