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

Skip to content
Commit 0357439f authored by Lorenzo Pieralisi's avatar Lorenzo Pieralisi Committed by Abhimanyu Kapur
Browse files

arm64: kernel: implement HW breakpoints CPU PM notifier



When a CPU is shutdown either through CPU idle or suspend to RAM, the
content of HW breakpoint registers must be reset or restored to proper
values when CPU resume from low power states. This patch adds debug register
restore operations to the HW breakpoint control function and implements a
CPU PM notifier that allows to restore the content of HW breakpoint registers
to allow proper suspend/resume operations.

Change-Id: Iac4743acea33d1bcee88b5a2be8c56f035fa3aed
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Git-commit: 60fc6942f6ac124503ed7f8506736a8f56b4ca7e
Git-Repo: git://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent 5f091174
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