diff options
author | Will Deacon <[email protected]> | 2019-07-29 11:43:48 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-07-29 11:43:48 +0100 |
commit | 0d7fd70f26039bd4b33444ca47f0e69ce3ae0354 (patch) | |
tree | cfc584f40ced0089df6a57ad6ee2bfc4b2bbd1c9 /arch/arm64/kernel/hw_breakpoint.c | |
parent | 849adec41203ac5837c40c2d7e08490ffdef3c2c (diff) |
drivers/perf: arm_pmu: Fix failure path in PM notifier
Handling of the CPU_PM_ENTER_FAILED transition in the Arm PMU PM
notifier code incorrectly skips restoration of the counters. Fix the
logic so that CPU_PM_ENTER_FAILED follows the same path as CPU_PM_EXIT.
Cc: <[email protected]>
Fixes: da4e4f18afe0f372 ("drivers/perf: arm_pmu: implement CPU_PM notifier")
Reported-by: Anders Roxell <[email protected]>
Acked-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'arch/arm64/kernel/hw_breakpoint.c')
0 files changed, 0 insertions, 0 deletions