Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 63757e36 authored by Will Deacon's avatar Will Deacon Committed by Alexander Grund
Browse files

UPSTREAM: 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: <stable@vger.kernel.org>
Fixes: da4e4f18afe0f372 ("drivers/perf: arm_pmu: implement CPU_PM notifier")
Reported-by: default avatarAnders Roxell <anders.roxell@linaro.org>
Acked-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
(cherry picked from commit 0d7fd70f26039bd4b33444ca47f0e69ce3ae0354)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I2b56119ebfce18f535bbb51be0c77414b8a74a99
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent b0707178
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment