• L
    arm64: kernel: implement HW breakpoints CPU PM notifier · 60fc6942
    Lorenzo Pieralisi 提交于
    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.
    Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    60fc6942
hw_breakpoint.c 23.7 KB