Skip to content
Snippets Groups Projects
Commit bd96fbf8 authored by Yabin Cui's avatar Yabin Cui Committed by Siqi Lin
Browse files

perf:arm64: fix lockdep warning when handling CPU_STARTING.

When hanlding CPU_STARTING event, cpu_pmu_notify() calls
platform_get_irq()->of_irq_get()->irq_find_matching_host()
->mutex_lock(). To avoid sleeping when handling CPU_STARTING
event, cache percpu_irq number in struct arm_pmu.

Bug: 32646661
Change-Id: I2c40013ab5cc7549e8ec1ab38eea493845a45c09
(cherry picked from commit 9b216b0e)
parent cfb9f424
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment