commit | bd96fbf88cb586b65a04683ad3abbf7006857f31 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Nov 04 19:18:56 2016 -0700 |
committer | Siqi Lin <siqilin@google.com> | Mon Nov 07 19:28:01 2016 +0000 |
tree | 749063559ea5a1defbb73c381bb734f81705efc5 | |
parent | cfb9f424f504635dc1c73dfdf2ba79b046c784bb [diff] |
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)