Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd4891bf authored by Se Wang (Patrick) Oh's avatar Se Wang (Patrick) Oh
Browse files

perf: Fix mutex call with interrupt disabled in cpu_pmu_notify



As cpu_pmu_notify is called in the secondary kernel start API,
the interrupt is still not enabled when cpu_pmu_notify is called.
platform_get_irq uses mutex, it causes a panic - sleeping
function called from invalid context. So use the internal
irq number in arm pmu structure instead of getting it
from platform_get_irq again.

Change-Id: If80b20f13d9c533a0043e5e8eb506611170d11fd
Signed-off-by: default avatarSe Wang (Patrick) Oh <sewango@codeaurora.org>
parent d9479b68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment