Android n-mr1-preview-2 Release 0.6
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 9b216b0e5a41419472a7fa8d39c0877ffe265c9a)
2 files changed