How to support multiple watchpoints on kernel after 3.10 when using arm debug architectures prior to 7.1?
long.wanglong
long.wanglong at huawei.com
Tue Aug 11 20:14:23 PDT 2015
Hi, all
The linux kernel after 3.10 (after the commit c512de95 "ARM:
hw_breakpoint: reserve one breakpoint for watchpoint stepping" )
reserve a single breakpoint, regardless of the number of watchpoints,
when the hardware use the ARM Debug architectures prior to 7.1.
On these older CPUS, how to support multiple watchpoints when
using kernel after 3.10?
Are there any risks if we change the function 'get_num_wrps(void)'
and force it returning the number of watchpoints the hardware have?
Best Regards
Wang Long
More information about the linux-arm-kernel
mailing list