]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve ARM debug_monitor for SMP machines
authorzbb <zbb@FreeBSD.org>
Sun, 29 May 2016 17:35:38 +0000 (17:35 +0000)
committerzbb <zbb@FreeBSD.org>
Sun, 29 May 2016 17:35:38 +0000 (17:35 +0000)
commit43ac6ab3a1231197b63e03c06ccbad7157083fde
tree0169ca4632d3cfa823f61326c02a8420ce23a2ec
parent041ba1ed245d03101f7169a2e92a28f069e9fd28
Improve ARM debug_monitor for SMP machines

- Reset debug architecture and enable monitor for secondary
  CPUs in init_secondary() rather than when configuring watchpoint, etc.
- Disable HW debugging capabilities when one of the CPU cores fails
  to set up.
- Use dbg_capable() in a more atomic manner to avoid any mismatch
  between CPUs.

Differential Revision: https://reviews.freebsd.org/D6009
sys/arm/arm/debug_monitor.c
sys/arm/arm/mp_machdep.c
sys/arm/include/debug_monitor.h