event: restore watch point after cpu pm event [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Thu, 12 Sep 2019 08:46:06 +0000 (16:46 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 20 Sep 2019 02:45:53 +0000 (19:45 -0700)
commitbd353a10b37e494ae7e2275134db8ded1a4b646a
treec0974cd72b70ac7abc0a76cbe617334d0ae4834e
parent86e4b1053c2d6a02f886776df166bdabc2486daf
event: restore watch point after cpu pm event [1/1]

PD#TV-9668

Problem:
After cpu idle enabled, watch point event register will be cleared
if cpu exit pm(idle). This will cause watch point can't work.

Solution:
re-enable watch point after cpu exit pm(idle)

Verify:
TL1

Change-Id: I4fc2002eaabecd4c5e60a5916bc29e0107882bec
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
arch/arm/include/asm/hw_breakpoint.h
arch/arm/kernel/hw_breakpoint.c