All of lore.kernel.org
 help / color / mirror / Atom feed
* How to support multiple watchpoints on kernel after 3.10 when using arm debug architectures prior to 7.1?
@ 2015-08-12  3:14 long.wanglong
  2015-08-12  9:53 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: long.wanglong @ 2015-08-12  3:14 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-12  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12  3:14 How to support multiple watchpoints on kernel after 3.10 when using arm debug architectures prior to 7.1? long.wanglong
2015-08-12  9:53 ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.