Skip to content
Snippets Groups Projects
Commit 9b216b0e authored by Yabin Cui's avatar Yabin Cui
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
parent 1294041d
Branches
Tags
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